summaryrefslogtreecommitdiff
path: root/sbin/disklabel/disklabel.8
AgeCommit message (Collapse)Author
2013-08-14some Bx/Ox conversion;Jason McIntyre
From: Jan Stary
2012-01-02Remove more mentions of two stage boot loaders from man page.Kenneth R Westerback
2012-01-02Tweak usage and man page into agreement.Kenneth R Westerback
There's nothing special about -c and -d requiring them to be separated from other flags or specified as mutually exclusive. So just show a single block of flags. Some flag combos are silly but harmless. Move all -B options inside NUMBOOT #if, eliminating confusing duplication of -w and -R usage lines. And some string declaration dancing. Since we only have NUMBOOT = 1, no need to try and finesse output for different values of NUMBOOT. Line shit up.
2012-01-02'-s' hasn't done anything for a couple of years. Garbage collectKenneth R Westerback
it and the associated 'bootxx' variable. Update man page accordingly.
2011-09-04grammar fix; from Martin PelikanJason McIntyre
2011-06-05Nuke uses of and references to DIOCWLABEL, and the related 'W' andKenneth R Westerback
'N' command line options. ok matthew@
2011-05-23sync auto-allocation tableOtto Moerbeek
2011-05-22sync auto-allocation table with codeOtto Moerbeek
2011-04-30change one of our current examples to use duids; ken suggested we useJason McIntyre
-E rather than -e as it's more likely; ok krw
2011-04-19Rename the argument for -f and -F from 'tempfile' to 'file'Alexander Hall
ok krw@ and looks correct to jmc@
2011-04-16Tweak description of -F to eliminate implication that mount pointsKenneth R Westerback
must be input by user to get into the -F|-f output. Any known mount point - user entered, read from fstab or static ('none' for swap partitions) - will get into the tempfile.
2011-04-16jmc@ is merciless. But fair.Kenneth R Westerback
2011-04-16Tweak man page and usage string with jmc@ suggestions.Kenneth R Westerback
2011-04-16Add '-F'. Same as '-f' but uses DUIDs when writing the mount pointKenneth R Westerback
information to the specified file. After every label write, read the label to get current UID info. Some internal code cleanup with no intended functional change. ok deraadt@
2010-09-23tweak the disklabel uid stuff; ok jsingJason McIntyre
2010-04-28Add a new 'i' command to the disklabel interactive editor, allowing theJoel Sing
disklabel UID to be changed. ok krw@ marco@
2010-04-21zap trailing whitespace;Jason McIntyre
2010-04-21Remove interactive help for individual disklabel editor commands.lum
These were in effect a duplication of the man page contents. The man page has been updated to include any small ommissions that were in the interactive help. Man page tweaks/suggestions from jmc@ and deraadt@. ok jmc@ deraadt@ krw@ otto@
2010-04-14neccessary -> necessary;Jason McIntyre
2010-04-14Remove reference to a limitation of 8GB that does not exist anymore.lum
ok krw@ otto@
2010-03-23tweak previous; ok ottoJason McIntyre
2010-03-23introducing 'R': interactive command to customize auto allocated labels,Otto Moerbeek
by growing or shrinking them as desired. can use some tweaks, but committing now to be able to work in-tree; ok krw@ lum@
2009-07-27add a section on automatic disk allocation, to give an idea ofJason McIntyre
how -A and A will carve up your disk; help/ok krw deraadt
2009-06-02Add '-h' flag, and '*' as a unit specifier for 'p' Editor command.Kenneth R Westerback
Both cause partition sizes to be displayed using a human readable format with the units automatically chosen by looking at the smallest partition in the disk label. Remove forceable humanization in 'A' code and use '-h' in install scripts. Prodded & ok deraadt@, verbiage tweaks from jmc@
2009-05-31'-d' works everywhere now. And it ignores the OpenBSD disk label,Kenneth R Westerback
not OpenBSD partitions.
2009-04-10Re-work '-A' so that it sets a flag that -E and -w use, and which willKenneth R Westerback
just display the auto-allocation plan otherwise. Don't overwrite any spoofed partitions, insert auto allocated partitions where we can. This is much more install script and weird architecture friendly. I'm talking about you, macppc. Many suggestions and code from otto@, feedback from many, cattle prod applied by deraadt@. ok deraadt@ "if it works for >8GB ... put it in" miod@ "to be clear, ok" todd@
2009-04-01the note explaining partition letters is not a caveat, it is integral toJason McIntyre
the way disklabel works; move it into DESCRIPTION ok krw
2009-03-31Beef up description of 'c' partition in CAVEATS and remove mentions ofKenneth R Westerback
'c' from descriptions of d(elete) and z(ero) commands. Feedback from jmc@ Slightly different version ok jmc@ deraadt@
2009-03-31Remove lies about and tweak descriptions of built-in label editor,Kenneth R Westerback
a.k.a. '-E'. Feedback from otto@ jmc@
2009-03-30Document new 'U' editor command.Kenneth R Westerback
Prodded by & ok jmc@
2009-03-28Verbiage tweaks from jmc@ and millert@.Kenneth R Westerback
2009-03-28the CAVEAT about -B is described earlier; ok jmcTheo de Raadt
2009-03-28point out that -B does not exist on some machines, and installboot(8) isTheo de Raadt
used instead, ok krw jmc
2009-03-28As Tobias Ulmer pointed out on tech@, Tahoe behaviour no longer isKenneth R Westerback
of concern so BUGS need not mention it. The other BUGS are also now irrelevant or not bugs at all. So delete entire BUGS section. Also tweak a bit of verbiage. ok deraadt@
2009-03-23tweak the description of -A a little more;Jason McIntyre
feedback/ok krw
2009-03-22tweak previous;Jason McIntyre
2009-03-22Add 'A' command to Editor mode, and -A flag to automatically execute itKenneth R Westerback
on disks without an existing label. The 'A' command allocates all space on the disk into a reasonable partition scheme for a root disk. Feedback from several, time to work on it in-tree. Prodded (repeatedly) by and ok deraadt@
2008-08-10spacing; remove non-existent flag from synopsis.Igor Sobrado
2008-08-10add missing space.Igor Sobrado
ok krw@
2008-06-25In interactive mode, always suggest offsets and sizes inside theOtto Moerbeek
OpenBSD area and change the 'p' command to only print the boundaries and size of the OpenBSD area and the free space within that area. Introduce a 'l' command to print the header only. With krw@; ok krw@ deraadt@; jmc@ for the man page bits
2008-04-06Remove stray '-r' reference that survived the nuke of -r.Kenneth R Westerback
2008-03-23Nuke disklabel -r. All labels come from the kernel via ioctl.Kenneth R Westerback
"make sense" miod@ ok deraadt@
2008-01-25document maximum partition size; ok jmc@ krw@Otto Moerbeek
2008-01-08Beef up the (r)ecalculate command in -E mode by having it display theKenneth R Westerback
details of the free space it calculates. Gives an easy way to see all the chunks of free sectors on the disk. ok beck@
2007-12-16add missing arguments to "-b" and "-s"Igor Sobrado
ok jmc@
2007-06-02installboot not just for i386; ok krwJason McIntyre
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-26Eliminate CPU_BIOS from userland and wd(4) by always using the BIOSKenneth 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@
2006-05-16change only use of slice to 'partition letter' to be consistent withKevin Steves
use of partition everywhere else; ok jmc@
2005-03-07more macro simplification;Jason McIntyre