History log of /freebsd-current/sbin/bsdlabel/bsdlabel.8
Revision Date Author Comments
# 7dc5c6c4 25-Mar-2024 Ed Maste <emaste@FreeBSD.org>

bsdlabel: add BUGS section documenting 8 partition limit

PR: 276517


# b6f3cced 23-Jan-2024 Ed Maste <emaste@FreeBSD.org>

bsdlabel: add deprecation notice

gpart is the preferred tool for managing partitions of all types,
including BSD disklabels.

Note that this is only about bsdlabel/disklabel, the tool -- there is no
current plan to remove support for MBR or BSD disk labels from the
kernel or from gpart.

Reviewed by: imp, olce
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D43563


# 51e16cb8 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

sbin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# 2b375b4e 27-Jan-2017 Yoshihiro Takahashi <nyan@FreeBSD.org>

Remove pc98 support completely.
I thank all developers and contributors for pc98.

Relnotes: yes


# 620e4a8c 05-Oct-2016 Sevan Janiyan <sevan@FreeBSD.org>

Add history section for bsdlabel(8)
http://minnie.tuhs.org/cgi-bin/utree.pl?file=4.3BSD-Tahoe/usr/man/cat8/disklabel.0
Remove tab after space, highlighted by igor

PR: 212436
Approved by: bcr (mentor)
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D8104


# b8c19fd7 02-Sep-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

It's 2015, and some people are still trying to use fdisk and then
go asking what debug flags to set for GEOM to make it work. Advice
them to use gpart(8) instead.

Something similar should probably done with disklabel,
but I need to rewrite the disklabel examples first.

Reviewed by: wblock@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3315


# f7e00d4b 29-Dec-2014 Joel Dahl <joel@FreeBSD.org>

mdoc: remove EOL whitespace.


# e7d939bd 06-Jul-2014 Marcel Moolenaar <marcel@FreeBSD.org>

Remove ia64.

This includes:
o All directories named *ia64*
o All files named *ia64*
o All ia64-specific code guarded by __ia64__
o All ia64-specific makefile logic
o Mention of ia64 in comments and documentation

This excludes:
o Everything under contrib/
o Everything under crypto/
o sys/xen/interface
o sys/sys/elf_common.h

Discussed at: BSDcan


# 05d98029 01-Oct-2013 Sergey Kandaurov <pluknet@FreeBSD.org>

Sweep man pages replacing ad -> ada.

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


# 6b99842a 12-Feb-2012 Ed Schouten <ed@FreeBSD.org>

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


# 4c8dfc4a 10-Mar-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Remove dead code in bsdlabel depending on __alpha__


# 1cc06c67 10-Mar-2011 Ulrich Spörlein <uqs@FreeBSD.org>

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>


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 69573e86 05-Nov-2008 Maxim Konovalov <maxim@FreeBSD.org>

o One more s/gpt/gpart/.


# 7922d6f9 05-Nov-2008 Maxim Konovalov <maxim@FreeBSD.org>

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


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 9b750c1c 08-Dec-2007 Remko Lodder <remko@FreeBSD.org>

Remove redundant whitespace.

Noticed by: brueffer


# eff1c096 08-Dec-2007 Remko Lodder <remko@FreeBSD.org>

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.


# f9530cf0 29-Dec-2006 Ruslan Ermilov <ru@FreeBSD.org>

- 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.


# 476bfbd7 13-Oct-2006 Ruslan Ermilov <ru@FreeBSD.org>

- 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


# 6b0db4ab 12-Oct-2006 Ruslan Ermilov <ru@FreeBSD.org>

Fix utility's short description.

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


# 8266d476 18-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Markup fixes.


# 689686bf 08-Mar-2006 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Explain why the first partition should start at offset 16.

Requested by: hrs


# bd92a261 03-Mar-2006 Pawel Jakub Dawidek <pjd@FreeBSD.org>

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

MFC after: 3 days


# 4e9e907d 18-Nov-2005 Ruslan Ermilov <ru@FreeBSD.org>

-mdoc sweep.


# 1c47852f 17-Sep-2005 Craig Rodrigues <rodrigc@FreeBSD.org>

Clarify wording for -m flag.

PR: docs/84704


# 21414470 10-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Scheduled mdoc(7) sweep.


# 86e0bd0d 09-Sep-2004 Brooks Davis <brooks@FreeBSD.org>

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


# d04b5dfe 17-May-2004 Ruslan Ermilov <ru@FreeBSD.org>

Assorted markup, grammar, and spelling fixes.


# 4c723140 09-Apr-2004 Mark Murray <markm@FreeBSD.org>

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

Approved by: core, imp


# 7747c959 30-Mar-2004 Luigi Rizzo <luigi@FreeBSD.org>

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


# fe08efe6 08-Sep-2003 Ruslan Ermilov <ru@FreeBSD.org>

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


# 734ac3b5 24-May-2003 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) fixes.

Approved by: re (blanket)


# 57dfbec5 03-May-2003 Poul-Henning Kamp <phk@FreeBSD.org>

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.


# 2c60b668 18-Apr-2003 Poul-Henning Kamp <phk@FreeBSD.org>

First scrub of s/disklabel/bsdlabel/

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


# c3da0eb4 17-Apr-2003 Tom Rhodes <trhodes@FreeBSD.org>

Quick grammar fix.


# 5fe45f18 28-Mar-2003 Sean Chittenden <seanc@FreeBSD.org>

Small mdoc fix


# bc33ea1a 15-Mar-2003 Ruslan Ermilov <ru@FreeBSD.org>

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


# 9a9f19b1 15-Mar-2003 Ruslan Ermilov <ru@FreeBSD.org>

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. ;-)


# 9503d41c 14-Mar-2003 Ruslan Ermilov <ru@FreeBSD.org>

Properly mark "auto" as a keyword.


# ef9ab0b3 22-Feb-2003 Ruslan Ermilov <ru@FreeBSD.org>

Deal with vestiges of d_boot[01].


# 8d48318b 26-Jan-2003 Poul-Henning Kamp <phk@FreeBSD.org>

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.


# f080d33b 26-Jan-2003 Poul-Henning Kamp <phk@FreeBSD.org>

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


# facc6767 24-Dec-2002 Ruslan Ermilov <ru@FreeBSD.org>

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


# 742ec8ca 25-Nov-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: Added missing markup bit.

Approved by: re


# b2aa8b2a 10-Oct-2002 Jens Schweikhardt <schweikh@FreeBSD.org>

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


# ce66ddb7 21-Aug-2002 Tom Rhodes <trhodes@FreeBSD.org>

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


# e1205e80 06-Jul-2002 Philippe Charnier <charnier@FreeBSD.org>

The .Nm utility


# 3468b317 15-May-2002 Tom Rhodes <trhodes@FreeBSD.org>

more file system > filesystem


# 2c80d96e 15-Apr-2002 Tom Rhodes <trhodes@FreeBSD.org>

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


# 1c1a8b56 10-Mar-2002 Dima Dorfman <dd@FreeBSD.org>

Remove inappropriate .Op calls in examples.

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


# e40fcc98 06-Jan-2002 Dima Dorfman <dd@FreeBSD.org>

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>


# 66866007 10-Oct-2001 Ruslan Ermilov <ru@FreeBSD.org>

-r is implied with -B.


# 857dcea0 05-Sep-2001 Ruslan Ermilov <ru@FreeBSD.org>

The defaults for bsize and fsize were interchanged.

PR: docs/30330


# 753d686d 14-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

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


# 7ebcc426 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Remove whitespace at EOL.


# 9fe48c6e 10-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

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


# 70d51341 09-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

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


# 2f1aba69 15-May-2001 Ruslan Ermilov <ru@FreeBSD.org>

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


# 70e48365 14-May-2001 Greg Lehey <grog@FreeBSD.org>

Clarify the currently used partition types.

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


# 7733674e 05-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

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


# 3233afae 25-Feb-2001 John W. De Boskey <jwd@FreeBSD.org>

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>


# d0353b83 01-Feb-2001 Ruslan Ermilov <ru@FreeBSD.org>

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


# 5a6d7397 28-Dec-2000 Tim Vanderhoek <hoek@FreeBSD.org>

typo: modifes -> modifies


# b60884cd 28-Nov-2000 Ben Smithurst <ben@FreeBSD.org>

Fix typos and layout problem.

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


# 7c7fb079 20-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

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


# b5c508fb 14-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

Use Fx macro wherever possible.


# 726b61ab 10-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

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


# ff7d5162 31-Oct-2000 Jordan K. Hubbard <jkh@FreeBSD.org>

Add support for virgin disklabels

Submitted by: dillon


# 5ef18a82 28-Aug-2000 Greg Lehey <grog@FreeBSD.org>

Correct typo.


# 07b0cf9a 26-Apr-2000 David E. O'Brien <obrien@FreeBSD.org>

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


# 7f3dea24 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 70846e5c 14-Aug-1999 Mike Pritchard <mpp@FreeBSD.org>

Minor style fix.


# aa7c9ada 15-Aug-1999 Mike Pritchard <mpp@FreeBSD.org>

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>


# b8ab0076 01-Aug-1999 Greg Lehey <grog@FreeBSD.org>

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

Objected-to-by: bde
rnordier


# 4cbdc634 31-Jul-1999 Greg Lehey <grog@FreeBSD.org>

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


# efba76d7 17-Dec-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

Look for boot blocks in new default location.


# 9f9930a2 28-Nov-1998 Robert Nordier <rnordier@FreeBSD.org>

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

Suggested by: jdp


# 6bd343a9 04-Jun-1998 Philippe Charnier <charnier@FreeBSD.org>

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


# 681e5e7a 22-Jun-1997 Steve Price <steve@FreeBSD.org>

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


# c0ec1f37 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

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.


# af202156 12-Jan-1997 Wolfram Schneider <wosch@FreeBSD.org>

Sort cross references.


# d70e4e53 03-Feb-1996 Joerg Wunsch <joerg@FreeBSD.org>

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.


# 425bed3a 21-Jan-1996 Joerg Wunsch <joerg@FreeBSD.org>

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


# 8fae3551 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite sbin Sources

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