Date: Mon, 24 Sep 2001 00:43:23 +0200 (SAST) From: Piet Delport <siberiyan@mweb.co.za> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/30809: fdisk(8) cleanup Message-ID: <200109232243.f8NMhNu02826@siberiyan.dyndns.org>
next in thread | raw e-mail | index | archive | help
>Number: 30809 >Category: docs >Synopsis: fdisk(8) cleanup >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 24 22:30:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Piet Delport >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD athalon 4.4-STABLE FreeBSD 4.4-STABLE #9: Sun Sep 23 07:40:24 SAST 2001 root@athalon:/usr/obj/usr/src/sys/ATHALON i386 >Description: Fix various minor errors in fdisk(8). >How-To-Repeat: >Fix: --- sbin/i386/fdisk/fdisk.8.orig Thu Aug 16 13:35:43 2001 +++ sbin/i386/fdisk/fdisk.8 Sun Sep 23 02:42:24 2001 @@ -131,10 +131,11 @@ .Ql ad0 , and .Ql da0 -are being searched in that order, until one is -being found responding. +are searched in that order, until one is found to respond. .Pp -When called with no arguments, it prints the sector 0 partition table. +When called with no arguments, +.Nm +prints the sector 0 partition table. An example follows: .Bd -literal ******* Working on device /dev/ad0 ******* @@ -180,18 +181,17 @@ .It Em "flag 80" specifies that this is the active partition. .It Em cyl , sector No and Em head -fields are used to specify the beginning address -and end address for the partition. +fields are used to specify the beginning and end addresses of the partition. .It Em Note : these numbers are calculated using BIOS's understanding of the disk geometry and saved in the bootblock. .El .Pp -The flags +The .Fl i or .Fl u -are used to indicate that the partition data is to be updated, unless the +flags are used to indicate that the partition data is to be updated, unless the .Fl f option is used. If the .Fl f @@ -203,7 +203,7 @@ selects defaults for its questions to guarantee the above behavior. .Pp It displays each partition -and ask if you want to edit it. +and asks whether you want to edit it. If you say yes, it will step through each field showing the old value and asking for a new one. @@ -227,20 +227,18 @@ .Em active partition. Finally, -when the all the data for the first sector has been accumulated, -you are asked if you really want to rewrite sector 0. -Only if you answer yes, -will the data be written to disk. +when all the data for sector 0 has been accumulated, +you are asked to confirm whether you really want to rewrite it. .Pp The difference between the .Fl u -flag and +and .Fl i -flag is that +flags is that the .Fl u -flag just edits the fields as they appear on the disk. -While the +flag just edits (updates) the fields as they appear on the disk, +while the .Fl i flag is used to "initialize" sector 0; it will setup the last BIOS partition to use the whole disk for @@ -248,9 +246,9 @@ and make it active. .Sh NOTES The automatic calculation of starting cylinder etc. uses -a set of figures that represent what the BIOS thinks is the -geometry of the drive. -These figures are by default taken from the incore disklabel, +a set of figures that represent what the BIOS thinks the +geometry of the drive is. +These figures are taken from the incore disklabel by default, but the program initially gives you an opportunity to change them. This allows the user to create a bootblock that can work with drives that use geometry translation under the BIOS. @@ -276,7 +274,7 @@ from a .Ar configfile . The syntax of this file is very simple. Each line is either a comment or -a specification, and whitespace (except for newlines) are ignored: +a specification, and whitespace (except for newlines) is not significant: .Bl -tag -width Ds .It Xo .Ic # >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109232243.f8NMhNu02826>