summaryrefslogtreecommitdiff
path: root/sbin/fdisk
AgeCommit message (Expand)Author
2006-06-28Support MAKEVERBOSE.lukem
2006-06-28Convert to using CC instead of LD, as LDFLAGS is for CC not LD.lukem
2006-06-02PR/33633: Yoshito Komatsu: /sbin/fdisk does not workchristos
2006-05-21PR/33522: Peter Bex: Sanity checks to avoid zerodivide.christos
2006-05-12don't do the -Wno-pointer-sign dance for host programs.mrg
2006-05-11sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.mrg
2006-03-18Appease Coverty CID 7449. Avoid close(-1) in error path.dsl
2006-03-17Check for allocation failures in malloc, calloc, realloc, asprintf, andrumble
2006-02-14So that we can build a full-featured fdisk cross-tool with -DBOOTSEL,dyoung
2006-01-29Byteswap the constant MBR_{BS_}MAGIC throughout, should genetate better code.dsl
2005-10-07PRI* macros should not contain percent sign.uwe
2005-10-07Fix cross-compilation on FreeBSD 4.x (and other OSes) where PRId64 isn'tdogcow
2005-08-27When building as host tool don't include "../../include/util.h".uwe
2005-06-27Move WARNS=3 to the Makefile.inc, and add a little const to the remainingchristos
2005-06-23If HOSTPROG is empty, do not pull in libutil, since we do not need it in thatfvdl
2005-06-12Turn fdisk(8) into a host tool. Still todo: commit the host-tooldyoung
2005-06-12For portability, use standard types: s/uint/unsigned int/,dyoung
2005-05-22Make fdisk(8) available on all platforms, since MS-DOS partitioninglukem
2005-04-07Allow partition sizes to be input in GBdsl
2005-01-20WARNS=2 is the default defined in sbin/Makefile.inc. (thanks wiz)xtraeme
2005-01-20Remove main() prototype; WARNS=2xtraeme
2004-11-18Fix typo in error message, reported by Nicolas Joly in PR 28347.wiz
2004-11-15Use the 1st element's size as the argument to bsearch.christos
2004-11-12Use ptype table from <sys/bootblock.h>christos
2004-11-10Add 0xBF for Solaris. From Larry Lee <lclee at west.sun.com>christos
2004-10-28Add (unsigned char) to isdigit() callsdsl
2004-10-13Initial import of iyonix port.gavan
2004-09-12Fix intuit_translated_geometry() calculation.dsl
2004-07-30check sysctl error return on both calls.dbj
2004-07-13s/Nm/Nx/, as it's NetBSD that has ports, not fdisk.uwe
2004-07-13Bump date for previous; new sentence, new line;wiz
2004-07-13Add note top man page explaining that fdisk is not used on all platformsdarcy
2004-05-19Insert missing space so fdisk prints "primary partition tabledyoung
2004-05-10Use the disk size from the device driver, not the bios when checkingdsl
2004-05-08Don't output the 'Installed bootfile doesn't support required options'dsl
2004-03-24Only examine mbr_bootsel* #ifdef BOOTSEL.lukem
2004-03-22Move mbr_bootsel from offset 404 to offset 400 in struct mbr_sector tolukem
2004-03-22Use .Pp instead of .br as appropriate.lukem
2004-03-20Nm needs no argument; also, correct wrong Nm usage.wiz
2004-03-19Bump date for last. Use Sq for single quotes. Drop trailing space.snj
2004-03-19Add flag -F, options -t disktab and -T disktype to fdisk. Flag -Fdyoung
2004-01-05Homogenize usage messages: make the 'usage' word all lowercase, as this seemsjmmv
2003-11-21Add "DISK" to -S output.lukem
2003-10-11unconditionally #define DEFAULT_BOOTDIR. should fix non-x86 buildslukem
2003-10-08Overhaul MBR handling (part 1):lukem
2003-10-06be consistent about "MS-DOS"lukem
2003-09-19realloc pedantitojun
2003-08-29Define and use PRIdaddr for printing disk block numbers.dsl
2003-08-10Put cylinder number 1023 into the mbr for sectors beyond the CHS limitdsl
2003-07-16Remove old i386 mbr stuff (move to arch/i386/stand/mbr a while ago)dsl