History log of /freebsd-9.3-release/sbin/fdisk/fdisk.8
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

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

# 266013 14-May-2014 marius

MFC: r255977 (partial)

Sweep man pages replacing ad -> ada.


# 227560 16-Nov-2011 ae

MFC r227272:
Add reference to gpart(8).

MFC r227280:
Initialize "acc" value inside the loop to reset failed attempts.

PR: misc/162262

MFC r227292:
Improve error reporting when MBR can not be written.
Remove obsolete code which uses DIOCSMBR ioctl.
When writing MBR first check that GEOM_MBR is available, if it is not
available, then try write MBR directly to provider. If both are failed,
then recommend to use gpart(8).

MFC r227295:
Fix multi-line comment formatting.

Pointed by: jh

Approved by: re (kib)


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 192772 25-May-2009 brian

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

Suggested by: trhodes


# 192745 25-May-2009 brian

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


# 181036 30-Jul-2008 obrien

Add a -q[uiet] flag for scripts.


# 169143 30-Apr-2007 maxim

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


# 165121 12-Dec-2006 ru

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


# 165017 08-Dec-2006 ru

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.


# 131488 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


# 120998 11-Oct-2003 blackend

s/disklabel/bsdlabel where needed.


# 102231 21-Aug-2002 trhodes

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


# 97569 30-May-2002 ru

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


# 95002 18-Apr-2002 trhodes

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


# 81449 10-Aug-2001 ru

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


# 79850 18-Jul-2001 ru

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

Reviewed by: rnordier


# 79754 15-Jul-2001 dd

Remove whitespace at EOL.


# 79681 13-Jul-2001 joerg

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


# 79530 10-Jul-2001 ru

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


# 75312 08-Apr-2001 dd

wd0 -> ad0

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


# 73233 28-Feb-2001 ru

Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.


# 71895 01-Feb-2001 ru

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


# 70152 18-Dec-2000 ru

Prepare for mdoc(7)NG.


# 70022 14-Dec-2000 ru

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


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


# 57976 13-Mar-2000 sheldonh

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


# 57896 10-Mar-2000 imp

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

Approved by: jkh


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 50215 23-Aug-1999 phk

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.


# 48282 27-Jun-1999 rnordier

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.


# 44700 12-Mar-1999 rnordier

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


# 43054 22-Jan-1999 rnordier

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


# 41354 26-Nov-1998 joerg

sd0 -> da0


# 37415 06-Jul-1998 charnier

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


# 36650 04-Jun-1998 steve

Fix a spelling error.

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


# 26421 03-Jun-1997 brian

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


# 19459 06-Nov-1996 jkh

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>


# 13750 30-Jan-1996 mpp

Fix even more spelling errors in some more man pages.


# 13208 04-Jan-1996 jmz

Fix the spelling of 'partition'.


# 10514 01-Sep-1995 joerg

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.


# 1411 23-Apr-1994 jkh

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


# 270 10-Aug-1993 rgrimes

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>


# 4 12-Jun-1993 rgrimes

Initial import, 0.1 + pk 0.2.4-B1