Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-12-03 | disklabel now uses "duid", not "uid"; | Jason McIntyre | |
2010-11-22 | Update example disk partition info to more current reality. Noticed | Kenneth R Westerback | |
by and diff from Roberth via tech@. ok jmc@ | |||
2010-07-05 | improve description for -i; as a consequence of recent changes, | Igor Sobrado | |
OpenBSD MBR partition does not span from sector 1 after MBR partition data is re-initialized. written with lot of good advice from deraadt@ and jmc@ ok deraadt@ | |||
2010-07-04 | make ^D handling consistant in fdisk by just bailing out instead of | Alexander Hall | |
returning a magic value that is not even handled as such by the caller ok krw@ | |||
2010-07-02 | on error, getuint() will return UINT_MAX. Instead of actually using | Alexander Hall | |
that value, print an error message and repost the question ok krw@ deraadt@ | |||
2010-06-30 | Make 'fdisk -i' start the OpenBSD partition on a power of 2 512-byte | Kenneth R Westerback | |
block boundary. In most modern (i.e. 'faked' geometry) situations this will start it at (0-based) block[64] rather than block[63] as now. This should help performance on disks which really have 4K sectors but report 512-byte sectors. Power of 2 idea from deraadt@. ok toby@ deraadt@ | |||
2010-05-25 | match usage to the manual page, and borrow the description of 'disk' | Theo de Raadt | |
from disklabel(8), since it describes the effect of using opendev() | |||
2010-05-20 | document the optional arg to "flag", as requested by Thomas Pfaff; | Jason McIntyre | |
this version after some feedback from krw and otto; ok otto krw | |||
2010-05-18 | dont let sys/ioctl.h imply that you get the ioctls in dkio.h. this | David Gwynne | |
gets rid of #include <sys/dkio.h> in sys/ioctl.h and adds #include <sys/dkio.h> to the places that actually want and use the disk ioctls. this became an issue when krw@'s X build failed when he was testing a change to dkio.h. tested by krw@ help from and ok miod@ | |||
2010-03-27 | remainer->remainder; from miod | Jason McIntyre | |
2010-03-27 | various improvements from Anders Langworthy, with some tweaks | Jason McIntyre | |
from krw and myself; ok deraadt krw | |||
2010-03-22 | introduce HAS_MBR and let make define it for the right machines; | Otto Moerbeek | |
requested by miod@; ok miod@ krw@ | |||
2010-02-17 | loongson has mbr as well; ok miod@ (but he made me promise to make | Otto Moerbeek | |
a -DHAVE_MBR diff after release) | |||
2009-12-24 | spelling fixes, from Brad Tilley; we will not fix src/sbin/dump/dump.h | Igor Sobrado | |
as neither arrayified not arrayfied exist -- sanctioned dictionaries like Merriam-Webster ones suggest a few alternatives (e.g., arrayed), however these made up words are easy to understand and we are not certain that current ones are not ok. ok jmc@ | |||
2009-07-24 | properly sanitize the default value in ask_num(...) | Alexander Hall | |
2009-04-29 | code that stank and made me upset | Theo de Raadt | |
2009-04-07 | Fix the default value to be between low/high range. Thanks for | Tobias Weingartner | |
frantisek holop pointing out the issue. ok deraadt@ | |||
2009-04-01 | Remove duplicate entry for partition id 0x07 so NTFS partitions | Jonathan Gray | |
will show as NTFS in fdisk output. ok todd@ otto@ deraadt@ | |||
2009-03-30 | some improvements inspired by a mail on misc@ from frantisek holop: | Jason McIntyre | |
- clarify the terms geometry sectors field and start field - change the fdisk prompt from 0 to 1, and explain its meaning - temper CAVEATS: the note is "common practice", not mandatory from nick and myself | |||
2009-03-24 | two more MBR partition names | Todd T. Fries | |
ok otto@ beck@ | |||
2009-02-08 | Eliminate excessive verbiage for 'fdisk -i' and 'fdisk -u'. Especially | Kenneth R Westerback | |
the multi-line banner announcing that the MBR is being changed. Also the listing of the partition table in 'fdisk -u'. Display a consistant message when the MBR is written. While here cleanup and shrink code without changing any semantics. Started with a diff posted on tech@ by Tobias Ulmer. "I like it" marco@ ok jsing@ | |||
2008-12-01 | Back out previous; it broke specifying paritions sizes with decimals, | Ray Lai | |
e.g. "0.5g". | |||
2008-12-01 | Check for invalid integers passed getuint(); instead of getuint() | Ray Lai | |
returning an error, just reprompt. If there is an error reading from stdin, use the old (default) value. Shrinks fdisk a few bytes! OK deraadt. | |||
2008-05-31 | add hfs+ type. deraadt@ ok | Federico G. Schwindt | |
2008-05-13 | fix an error in the example partition table; from Adam Patterson | Jason McIntyre | |
ok nick | |||
2008-02-18 | adjust width of S column to improve printing of the MBR partition table | Igor Sobrado | |
on modern disk geometries; while here, better alignment of column labels ok jmc@, jsing@, krw@, and otto@ | |||
2007-12-30 | sort flags in both synopsis and usage, file not commited in last diff | Igor Sobrado | |
ok jmc@ | |||
2007-12-30 | sort flags in both synopsis and usage | Igor Sobrado | |
ok jmc@ | |||
2007-11-26 | fix SEE ALSO; from deraadt | Jason McIntyre | |
2007-11-25 | tweak previous; | Jason McIntyre | |
2007-11-25 | Build fdisk(8) on all architectures, since it is minimally useful to view | Theo de Raadt | |
the MBR... and install the man page in the MI location. | |||
2007-11-25 | document MBR spoofing, very minimally | Theo de Raadt | |
2007-08-01 | cats went away | Theo de Raadt | |
2007-07-04 | another mbr partition type; fgsch | Theo de Raadt | |
2007-06-10 | adjust the width of columns to match the geometry of current drives | Igor Sobrado | |
ok deraadt@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-04-27 | Remove unneeded #include's, as already done for disklabel. CPU_BIOS | Kenneth R Westerback | |
fallout. | |||
2007-04-26 | lint says: fdisk.c:160: warning: operator '==' found where '=' was expected | Theo de Raadt | |
yet gcc happily ate it... see, lint is useful | |||
2007-04-26 | Eliminate CPU_BIOS from userland and wd(4) by always using the BIOS | Kenneth R Westerback | |
geometry in the disklabel when there is a BIOS geometry to provide. This removes the option to set a disklabel to 'BIOS' geometry via the 'g b' command in the editor. Makes reported geometry more consistant and moves MD code to MD land where it should be. Doc help from jmc@, Feedback from millert@, marco@, weingart@, kettenis@. ok deraadt@ | |||
2007-04-04 | Thinkpad -> ThinkPad; from Igor Sobrado | Jason McIntyre | |
ok millert jasper mbalmer | |||
2007-01-12 | make the description match synopsis for -chs; | Jason McIntyre | |
discussed with nick | |||
2007-01-11 | avoid an ugly grammar construction; | Jason McIntyre | |
2007-01-11 | make the description of -e point to the COMMAND MODE section; | Jason McIntyre | |
2007-01-11 | Move options into DESCRIPTION section. This conforms with most | Ray Lai | |
other man pages, where the options are near the top of the page for easy access. OK jmc@. | |||
2006-12-10 | Read/write device sectors rather than assuming sector size == | Kenneth R Westerback | |
DEV_BSIZE. Simply extract/insert the desired MBR from/into the first DEV_BSIZE bytes of the sector. Makes fdisk work with devices having a sector size different from DEV_BSIZE (512 bytes). e.g. 2048 byte sector MP3 devices. Original diff from weingart@. ok pedro@ deraadt@ weingart@ | |||
2006-11-19 | Try DIOCGPDINFO before DIOCGDINFO when trying to determine the 'label' | Kenneth R Westerback | |
geometry for a unit. DIOCGPDINFO avoids using the on-disk label or the cached copy of it and returns a 'spoofed' label that retains the geometry info placed in the label by the driver. Unfortunately DIOCGPDINFO is not universally implemented, though sd and wd do. This is what disklabel(8) does when it wants geometry so this makes fdisk a bit more consistant with disklabel. This fixes 'fdisk -i' and 'reinit' when trying to install from a miniroot on, e.g., landisk. i.e. no need to zero out the disklabel before doing 'fdisk -i'. 'get it in snaps' deraadt@ | |||
2006-11-09 | desireable -> desirable; | Jason McIntyre | |
2006-11-09 | oops | Theo de Raadt | |
2006-11-08 | sh machines also have a /usr/mdec/mbr | Theo de Raadt | |
2006-11-08 | add a -y flag, for non-interactive use | Theo de Raadt | |