summaryrefslogtreecommitdiff
path: root/sbin/fdisk/fdisk.c
AgeCommit message (Expand)Author
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-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-14Fix code that detects bios geometry from mbr table.dsl
2003-07-07Only look at each pair of CHS values once when trying to guess geometry.dsl
2003-05-17asprintf is easieritojun
2003-05-14delete a diagnostic printf that was accidentally left indsl
2003-05-01Remove some unused variabled from get_params_to_use() in the !i386 && !amd64bjh21
2003-04-30Rototilled fdisk that supports:dsl
2003-04-30Move some definitions from fdisk.c to disklabel_mbr.h so they don't havedsl
2003-04-01Fix range check for the default boot option case.fvdl
2003-01-10Print missing newline in two bootselector-related messages. Approved by wiz.jmmv
2002-11-30Enable bootselector code for x86_64.fvdl
2002-11-24Avoid format warning for off_t printf.fvdl
2002-10-08Make the -l flage more useful, by actually printing the systype numberjdarrow
2002-09-27add partition type 0xaf for Apple HFS.dbj
2002-08-08Clean up printf->err conversions.soren
2002-06-05exit on EOF from stdin.yamt
2002-04-03Build fdisk(8) on netwinder.thorpej
2002-03-26nicer printing.christos
2002-03-26PR/16073: Jachym _Freza_ Holecek: Add the ability to list known partition types.christos
2002-03-04add "Apple UFS" and "Apple Boot" partition ids used by Darwindbj
2001-11-07if sysctl kern.root_device is availalbe, use that the default devicelukem
2001-11-01opendisk(3) checks the device type for uslukem
2001-04-16add fix by Minoura Makoto to correctly support recursive extended partitions.lukem
2000-12-24use MBR_IS_EXTENDED() instead of local test (which was missing a test case)lukem
2000-12-19* Recursively print out extended partition entries. An extended partition islukem
2000-12-19convert to ANSI KNFlukem
2000-07-06When fetching the disk's hardware geometry, first attempt thethorpej
2000-06-14Fix QNX partition IDs, confirmed by looking at FreeBSD's fdisk.wiz
2000-05-27Truncate the CHS values correctly in case a partition boundary exceedsfvdl
2000-01-31Build fdisk also on arcsoda
1999-09-06Update usage().soren
1999-06-04Make sure the boot selector actually gets updated if you only changethorpej
1999-05-02Make check if we need int13 extensions for the bootselector more correct.fvdl
1999-04-28Only use int13 extensions if the sectors can not be read through thefvdl
1999-04-17Make the bootselector configurable by fdisk. Add a -B flag to thisfvdl
1999-02-09add BeOS entry, from URA Hiroshi, PR 6974perry
1999-01-27Use <sys/disklabel_mbr.h>.thorpej
1998-11-08Set otherwise-unused global variable `disksectors' to disklabel.d_secperunit.jonathan
1998-10-15Separate master bootcode from fdisk.ws
1998-10-02Completely zero out a partition table entry,ws
1998-09-28Automagically initialize boot code and partition table if not yet valid.ws
1998-08-10Dont report more than 1023 cylinders for DOS/BIOS becauservb
1998-02-25Use the new NetBSD partition ID for first time setup of an MBR.drochner
1998-02-19Add new NetBSD partition ID.drochner