Date: Sun, 23 Sep 2001 03:26:10 +0200 From: Piet Delport <siberiyan@mweb.co.za> To: freebsd-doc@freebsd.org Subject: Minor cleanups in fdisk.8 Message-ID: <20010923032610.A24014@athalon>
next in thread | raw e-mail | index | archive | help
--jho1yZJdad60DJr+ Content-Type: multipart/mixed; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I've attached a patch that cleans up the fdisk(8) manpage (of my frequently-cvsupped 4-STABLE system) a bit, correcting mainly grammatical and cosmetic mistakes. This is my first patch, and the first time i've worked with mdoc, so i don't want to send-pr it just yet. Can someone with experience comment on it, pointing out any obvious mistakes and such? Thanks, --=20 Piet Delport <siberiyan@mweb.co.za> Today's subliminal thought is: --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="fdisk.1.patch" Content-Transfer-Encoding: quoted-printable --- 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,=20 +.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 partitio= n. .It Em Note : these numbers are calculated using BIOS's understanding of the disk geomet= ry 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, unles= s 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 # --OgqxwSJOaUobr8KG-- --jho1yZJdad60DJr+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) iD8DBQE7rToyzRUP82sZFCcRAo3KAJ9YuCDbeItCu7sLOWmRtwkRn7SS6wCggaud wx6Qe+0jhhmwszQS+xCB1oM= =Q5qn -----END PGP SIGNATURE----- --jho1yZJdad60DJr+-- 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?20010923032610.A24014>