History log of /freebsd-10.1-release/sbin/bsdlabel/bsdlabel.8
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 255977 01-Oct-2013 pluknet

Sweep man pages replacing ad -> ada.

Approved by: re (blackend)
MFC after: 1 week
X-MFC note: stable/9 only


# 231564 12-Feb-2012 ed

Globally replace u_int*_t from (non-contributed) man pages.

The reasoning behind this, is that if we are consistent in our
documentation about the uint*_t stuff, people will be less tempted to
write new code that uses the non-standard types.

I am not going to bump the man page dates, as these changes can be
considered style nits. The meaning of the man pages is unaffected.

MFC after: 1 month


# 219448 10-Mar-2011 uqs

Remove dead code in bsdlabel depending on __alpha__


# 219446 10-Mar-2011 uqs

Remove bsdlabel.5, which hasn't been installed in over 7 years
and contains little more than an out-dated copy of <sys/disklabel.h>


# 184672 05-Nov-2008 maxim

o One more s/gpt/gpart/.


# 184671 05-Nov-2008 maxim

o Replace Xr to gpt(8) which is gone by gpart(8).


# 174467 08-Dec-2007 remko

Remove redundant whitespace.

Noticed by: brueffer


# 174449 08-Dec-2007 remko

Attempt to describe the ''auto'' type a bit better in the default
section (if nothing had been specified, or if the auto type had
been specified, a default layout is used).

PR: docs/116047
Submitted by: Ian Smith <smithi at nimnet dot asn dot au>
Minor modifications by me.


# 165639 29-Dec-2006 ru

- Fix markup.

- Somewhat improve wording.

- Change the layout of the EXAMPLES section so that descriptions
come before example, as in most other manpages.

- Fix a bad example that edits a label using a `c' partition.


# 163312 13-Oct-2006 ru

- Don't mention (wrong) defaults for FFS file system parameters,
replace them with references to newfs(8) which documents them.

- Remove mentions of LFS support for which was retired in 1998.

- Regenerate an example output.

PR: docs/84913
MFC after: 3 days


# 163281 12-Oct-2006 ru

Fix utility's short description.

PR: docs/84467
Submitted by: Gary W. Swearingen
MFC after: 3 days


# 162395 18-Sep-2006 ru

Markup fixes.


# 156430 08-Mar-2006 pjd

Explain why the first partition should start at offset 16.

Requested by: hrs


# 156278 04-Mar-2006 pjd

Fix evil examples - first partition should start at offset 16.

MFC after: 3 days


# 152568 18-Nov-2005 ru

-mdoc sweep.


# 150250 17-Sep-2005 rodrigc

Clarify wording for -m flag.

PR: docs/84704


# 139987 10-Jan-2005 ru

Scheduled mdoc(7) sweep.


# 134973 09-Sep-2004 brooks

The disk labels generated by bsdlabel can no address more than
0xffffffff sectors. Document this limit and avoid installing bogus
labels on disks with more sectors.

Allowing the installation of labels addressing as much of the disk as
possiable may be a useful addition in some situations, but this was easy
to implement and should reduce confusion.

PR: bin/71408


# 129327 17-May-2004 ru

Assorted markup, grammar, and spelling fixes.


# 128073 09-Apr-2004 markm

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp


# 127650 30-Mar-2004 luigi

Implement a '-f' flag to teach bsdlabel to work on files instead of
disk partitions.


# 119893 08-Sep-2003 ru

mdoc(7): Use the new feature of the .In macro.


# 115288 24-May-2003 ru

mdoc(7) fixes.

Approved by: re (blanket)


# 114574 03-May-2003 phk

More axe-work:

Hide all the historical fields of the label, unless people ask for them with -A,
set them to intelligently chosen defaults otherwise.

Distill the manual page to remove inaccuracies, misundertandings and obsolete
information. It can probably still be done better but now at least it is
not misinforming people.


# 113680 18-Apr-2003 phk

First scrub of s/disklabel/bsdlabel/

bsdlabel.5 deliberately exempted, its contents looks less than useful.


# 113604 17-Apr-2003 trhodes

Quick grammar fix.


# 112766 29-Mar-2003 seanc

Small mdoc fix


# 112307 15-Mar-2003 ru

Teach disklabel(8) about different hardware architectures.
This is aimed at creating floppies during cross-releases.
For different endianness machines, a tool like bswapfs(8)
is necessary to make the generated floppies readable on
the target machine. While here, fixed unaligned access
on Alphas.

Tested on: i386, alpha


# 112290 15-Mar-2003 ru

Give this manpage a good overhaul, including the markup.
Notable changes:

- Removed the "disktype" argument from the -B only synopsis
form. This form doesn't touch the disk label, and doesn't
use this argument.

- Fixed the first example in the EXAMPLES section. Support
for compatibility slices has been recently dropped from
the GEOM kernels, and a bit later GEOM became standard.

- Removed the buggy notion from rev. 1.37 that disklabel(8)
may be used to define mount points; it cannot. Improve
some DOS partition / FreeBSD slice wording. Among these,
``dangerously-dedicated slice'' was just a nonsense. ;-)


# 112231 14-Mar-2003 ru

Properly mark "auto" as a keyword.


# 111286 22-Feb-2003 ru

Deal with vestiges of d_boot[01].


# 109889 26-Jan-2003 phk

Drop the silly notion that i386 has two bootstrap files now that sys/boot
creates a single file named just "boot".

Apart from the fact that the option "-s" is now gone and that "-b" should
be pointed at /boot/boot instead of /boot/boot1, this patch should be
a no-op.


# 109872 26-Jan-2003 phk

Retire the "-N" and "-W" options which implemented write-protection
for the disklabel: This facility is OBE.

First of all, we cannot sensibly implement this in a properly stacked
environment.

Second, if we did, it would confuse the heck out of users who
wouldn't be able to "start from scratch" by dd(8)'ing /dev/zero
onto /dev/da0.

Third, the offered protection is not comprehensive: no other software
would respect it.

Fourth and finally, the disklabel is already protected against
tampering if it controls open partitions.

Uselessness of these options discussed with: peter


# 108257 24-Dec-2002 ru

mdoc(7) police: Deal with self-xrefs.


# 107232 25-Nov-2002 ru

mdoc(7) police: Added missing markup bit.

Approved by: re


# 104813 10-Oct-2002 schweikh

Document that write(2) et al can return EROFS for attempts to write the
disk label area.

PR: 43891
Submitted by: Diomidis D. Spinellis <dds@istlab.dmst.aueb.gr>
MFC after: 3 days


# 102231 21-Aug-2002 trhodes

s/filesystem/file system/g as discussed on -developers


# 99501 06-Jul-2002 charnier

The .Nm utility


# 96707 16-May-2002 trhodes

more file system > filesystem


# 94803 15-Apr-2002 trhodes

disklabel(8) manual page:

--change "-s newboot" to "-s newboot2" in an example
--Fixed spelling
--Fixed some confusion between slice/parition/primary partition and other
things.

PR: 35947 and 35951
Noticed by: Gary W. Swearingen <swear@blarg.net>
Reviewed by: keramida
Thanks to: grog
MFC after: 2 days


# 91993 10-Mar-2002 dd

Remove inappropriate .Op calls in examples.

PR: 35689
Submitted by: Gary W. Swearingen <swear@blarg.net>


# 88987 07-Jan-2002 dd

In the words of the submitter:

disklabel(8)'s "Reading the disk label" section starts out "To examine
or save the label on a disk drive,...". This is confusing. The given
command (disklabel [-r] disk) doesn't save anything (except to standard
out, but that should go without saying). It reads as if the command
might save something on the disk drive.

PR: 32452
Submitted by: Gary W. Swearingen <swear@blarg.net>


# 84765 10-Oct-2001 ru

-r is implied with -B.


# 83066 05-Sep-2001 ru

The defaults for bsize and fsize were interchanged.

PR: docs/30330


# 81622 14-Aug-2001 ru

mdoc(7) police: s/BSD/.Bx/ where appropriate.


# 79754 15-Jul-2001 dd

Remove whitespace at EOL.


# 79530 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


# 79454 09-Jul-2001 dd

mdoc(7) police: remove extraneous .Pp before and/or after .Sh.


# 76624 15-May-2001 ru

mdoc(7) police: fix markup in revision 1.27.


# 76604 14-May-2001 grog

Clarify the currently used partition types.

Add cross-references to ccd(4) and vinum(8).


# 73755 05-Mar-2001 ru

mdoc(7) police: misc formatting fixes.
(This page still needs a lot of work.)


# 73034 25-Feb-2001 jwd

Allow for easier configuration when using disklabel. A sample
being:

# size offset fstype [fsize bsize bps/cpg]
a: 400M 0 4.2BSD 4096 16384 75 # (Cyl. 0 - 812*)
b: 1G * swap
c: * * unused
e: 204800 * 4.2BSD
f: 5g * 4.2BSD
g: * * 4.2BSD

These patches are the original work of Randell Jesup, and
I believe Matt Dillon, with additional work by Warner Losh.
Please let me know if I've left someone out.

Incorporated into this is the fix for PR bin/22727.

This patchset still has style issues and a possible problem on
large disks. However, it was a agreed to get these committed before
performing major surgery on them.

PR: bin/22727
Submitted by: Randell Jesup <rjesup@wgate.com>


# 71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


# 70434 28-Dec-2000 hoek

typo: modifes -> modifies


# 69323 28-Nov-2000 ben

Fix typos and layout problem.

PR: 23109
Submitted by: Jimmy Olgeni <olgeni@uli.it>


# 68960 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


# 68716 14-Nov-2000 ru

Use Fx macro wherever possible.


# 68575 10-Nov-2000 ru

Avoid use of direct troff requests in mdoc(7) manual pages.


# 68044 31-Oct-2000 jkh

Add support for virgin disklabels

Submitted by: dillon


# 65183 29-Aug-2000 grog

Correct typo.


# 59648 26-Apr-2000 obrien

/dev/r<FOO> => /dev/<FOO>


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 49833 15-Aug-1999 mpp

Minor style fix.


# 49822 15-Aug-1999 mpp

Various man page cleanup:

- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Properly xref RFCs.
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.

PR: doc/13144
Submitted by: Alexey M. Zelkin <phantom@cris.net>


# 49339 01-Aug-1999 grog

Remove inappropriate references to the wrong name for the bootstrap
manager, thus killing two birds with one stone.

Objected-to-by: bde
rnordier


# 49306 31-Jul-1999 grog

Make intelligible:
Describe the command formats in English.
Add references to other programs (boot0cfg, fdisk).
Remove some old cruft, including FUD about single-level bootstraps.
Add example of output format.

Not-objected-to-by: msmith
rnordier


# 41901 17-Dec-1998 jkh

Look for boot blocks in new default location.


# 41381 28-Nov-1998 rnordier

Refer to "da" rather than "sd" device.

Suggested by: jdp


# 36632 04-Jun-1998 charnier

Add section number to .Xr. Use of .Nm. Typo. Add rcsid. Remove unused
#includes. Use err(3).


# 26826 23-Jun-1997 steve

Show the real revision date and not the date that this
manpage is being viewed.


# 22990 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 21635 12-Jan-1997 wosch

Sort cross references.


# 13892 03-Feb-1996 joerg

Try to preserve the fdisk table in the primary bootstrap, should it
already exist.

Mention the cases where this doesn't work in the BUGS section of the
man page.


# 13550 21-Jan-1996 joerg

Finally implement the "auto" disktype. It attempts to get all the
required information from the driver, and produce a virgin disklabel
for it. The latter might be further edited with `disklabel -e' to
satisfy the user's need.

The magic sequence is:

disklabel -r -w sdX auto
disklabel -e sdX


# 1558 26-May-1994 rgrimes

BSD 4.4 Lite sbin Sources

Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.