History log of /freebsd-current/sbin/fdisk/fdisk.8
Revision Date Author Comments
# 0a68b006 07-Jan-2024 Chih-Chun Wu <jimmy30213@gapp.nthu.edu.tw>

fdisk(8): Fix typo forth -> fourth

Event: Advanced UNIX Programming Course (Fall'23) at NTHU
Pull Request: https://github.com/freebsd/freebsd-src/pull/1010


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

Remove $FreeBSD$: one-line nroff pattern

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


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

Document the history of fdisk based on the original post to comp.unix.bsd by Julian Elischer [1] and the Mach 2.5 Installation notes [2].
I was unable to pin point the exact version of Mach the fdisk utility appeared as I could not find documentation older than version 2.5 & no source code or repo history.
fdisk utility appears as a separate utility[3] in v2.5. Due to this, I have avoided stating the exact version fdisk first appeared in Mach.
Add authors section.
Make correction pointed by igor
[1] https://groups.google.com/d/topic/comp.unix.bsd/Hhi45vAHxDg/discussion
[2] ftp://ftp.mcs.vuw.ac.nz/doc/misc/mach-i386-doc/i386_install.ps
[3] ftp://ftp.mcs.vuw.ac.nz/doc/misc/mach-i386-doc/i386_manpages.ps
PR: 212469
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


# 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


# 9a5e36b8 06-Nov-2011 Andrey V. Elsukov <ae@FreeBSD.org>

Add reference to gpart(8).

MFC after: 3 days


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


# 1496abde 25-May-2009 Brian Somers <brian@FreeBSD.org>

Bump the document date to reflect the 'p' command enhancements.

Suggested by: trhodes


# d1c77156 25-May-2009 Brian Somers <brian@FreeBSD.org>

Enhance the 'p' command so that it understands size qualifiers (K/M/G) and
so that it understands '*' as 'DTRT'.

PR: 68312
Submitted by: Rene de Vries - rene at tunix dot nl (mostly)
MFC after: 3 weeks


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

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


# a61d9186 30-Jul-2008 David E. O'Brien <obrien@FreeBSD.org>

Add a -q[uiet] flag for scripts.


# 7914c60f 30-Apr-2007 Maxim Konovalov <maxim@FreeBSD.org>

o Add -p flag: print a slice table in fdisk configuration file format.
Now it is possible to do something like fdisk -p ad0 | fdisk -f - ad1.

PR: bin/110182
Submitted by: Jukka A. Ukkonen
MFC after: 1 month


# 75cb6f3d 12-Dec-2006 Ruslan Ermilov <ru@FreeBSD.org>

- Document -u, -i, and the difference between them better.
- Remove some historical notes about "future" decisions.


# 6028403f 08-Dec-2006 Ruslan Ermilov <ru@FreeBSD.org>

Document the following change in behavior:

: fdisk.c revision 1.74
: date: 2004/06/14 07:21:19; author: phk; state: Exp; lines: +3 -3
: Make fdisk initialize the first instead of the last slice by default.


# 9806e231 02-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Mechanically kill hard sentence breaks.


# 8b23842d 11-Oct-2003 Marc Fonvieille <blackend@FreeBSD.org>

s/disklabel/bsdlabel where needed.


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

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


# 92dcf6fa 30-May-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: tidy up the markup and some wording.


# 05a213f1 18-Apr-2002 Tom Rhodes <trhodes@FreeBSD.org>

Fix the fdisk(8) manual page.
s/partition/slice/ in fdisk.8
fix a bug in fdisk(8) where it did not honer -t when using -I

PR: 36563 and 35688
Submitted by: bde
Reviewed by: bde


# 57e4378b 10-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: protect trailing full stops of abbreviations
with a trailing zero-width space: `e.g.\&'.


# 504dd5ea 18-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

fdisk(8): document the default for -b, add xref to boot0cfg(8).
boot0cfg(8): add FILES section.

Reviewed by: rnordier


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

Remove whitespace at EOL.


# df77f711 13-Jul-2001 Joerg Wunsch <joerg@FreeBSD.org>

After some (long-standing ;-) critics from Bruce, throw away the old
device search code i introduce nearly six years ago in rev 1.8. Bruce
suggested to rather use the device name of the root filesystem instead
which is certainly the most sensible default. Since there are many
possible cases for a root filesystem name (device with and without
slices, consider /dev/vinum/root even though it currently could not
work as such), there's some heuristic using a RE in order to find out
the canonical device name from the mounted name. This probably won't
quite fit for a NFS root (can't test that right now), but then,
there's hard to find a good default for those machines anyway. ;-)

This unbreaks the functionality of rev 1.2 i once broke in 1.8. :)


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

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


# 7401f046 08-Apr-2001 Dima Dorfman <dd@FreeBSD.org>

wd0 -> ad0

PR: 26343
Submitted by: Sergey A. Osokin <osa@FreeBSD.org.ru>


# c2d03ea8 28-Feb-2001 Ruslan Ermilov <ru@FreeBSD.org>

Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.


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

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


# 1252c1bb 18-Dec-2000 Ruslan Ermilov <ru@FreeBSD.org>

Prepare for mdoc(7)NG.


# 88544700 14-Dec-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: added missing .Os call.


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


# 7b0070fc 13-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Fix nits in previous commit: restore option ordering of the option
description list; break an overly long line; use the Fx macro instead
of "FreeBSD".


# 10b0ee93 10-Mar-2000 Warner Losh <imp@FreeBSD.org>

-e -> -I change.
-s for sumary

Approved by: jkh


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

$Id$ -> $FreeBSD$


# e6fb3dde 23-Aug-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Add new option to fdisk: -e

This wipes the MBR and creates slice 1 as a FreeBSD slice covering the
disk starting from the second track to the cylinder aligned end of the disk.

This is the most compatibly layout we have as far as I know.


# 26721a89 27-Jun-1999 Robert Nordier <rnordier@FreeBSD.org>

Drop the embedded boot code in favour of a -B option which reads
the boot code from /boot/mbr, or elsewhere as defined by the revised
"-b bootcode" option; use getopt(3); clarify usage(); partially
revise man page; etc.


# ef76b8c0 12-Mar-1999 Robert Nordier <rnordier@FreeBSD.org>

Note that a standard MBR supports booting only from hard drive 0


# 12d910e9 22-Jan-1999 Robert Nordier <rnordier@FreeBSD.org>

Add a -b option as a simple way to rewrite the mbr code
(eg. replacing a boot manager with a standard mbr)


# 698b4def 25-Nov-1998 Joerg Wunsch <joerg@FreeBSD.org>

sd0 -> da0


# d98b1668 06-Jul-1998 Philippe Charnier <charnier@FreeBSD.org>

Correct use of .Nm, use .Bx Free for FreeBSD. Add rcsid, remove unused
#includes. Spelling. Use err(3) and add usage().


# 85886416 04-Jun-1998 Steve Price <steve@FreeBSD.org>

Fix a spelling error.

PR: 6857
Submitted by: Josh Gilliam <josh@quick.net>


# 4ddd60b9 03-Jun-1997 Brian Somers <brian@FreeBSD.org>

Number partitions 1-4, not 0-3.

Any existing config files (using the -f option) will need
to be changed although using the old files will usually result
in an error (partition 0 is invalid).


# f46af505 06-Nov-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Allow fdisk to be driven from a configuration file, making a 3rd-party
utility for front-ending its operation more of a possibility.

2.2-RELEASE candiate. Closes PR#1960
Submitted-By: Darryl Okahata <darrylo@hpnmhjw.sr.hp.com>


# a5ed710c 30-Jan-1996 Mike Pritchard <mpp@FreeBSD.org>

Fix even more spelling errors in some more man pages.


# dc94a1c5 03-Jan-1996 Jean-Marc Zucconi <jmz@FreeBSD.org>

Fix the spelling of 'partition'.


# e3038c6e 01-Sep-1995 Joerg Wunsch <joerg@FreeBSD.org>

Update to the slices era. Make /dev/rfoo0 the defaults, not
/dev/rfoo0d.

Scan a list of devices instead of insisting on all the world
being wd0.

Allow for disk names to be specified (e.g. `sd0') instead of full
path names only.

Sync the man page with the reality.


# 2caac73e 23-Apr-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Fix gross spelling and typographical errors pointed out by Keith Bostic.


# 0ef06203 10-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

The fdisk man page doesn't show correctly the usage possibilities of
fdisk. It was missing the disk argument.

From: Andreas Schulz <ats@g386bsd.first.gmd.de>


# 5b81b6b3 12-Jun-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Initial import, 0.1 + pk 0.2.4-B1