From owner-freebsd-doc Sat Sep 22 18:26: 0 2001 Delivered-To: freebsd-doc@freebsd.org Received: from msg-proxy3.mweb.co.za (msg-proxy3.mweb.co.za [196.2.46.21]) by hub.freebsd.org (Postfix) with ESMTP id D4E7237B41C for ; Sat, 22 Sep 2001 18:25:51 -0700 (PDT) Received: from siberiyan.dyndns.org ([196.30.183.2]) by msg-proxy3.mweb.co.za (iPlanet Messaging Server 5.1 (built May 7 2001)) with SMTP id <0GK3001K2DAYVN@msg-proxy3.mweb.co.za> for freebsd-doc@freebsd.org; Sun, 23 Sep 2001 03:25:48 +0200 (SAST) Received: by siberiyan.dyndns.org (sSMTP sendmail emulation); Sun, 23 Sep 2001 03:26:10 +0200 Date: Sun, 23 Sep 2001 03:26:10 +0200 From: Piet Delport Subject: Minor cleanups in fdisk.8 To: freebsd-doc@freebsd.org Mail-Followup-To: freebsd-doc@freebsd.org Message-id: <20010923032610.A24014@athalon> MIME-version: 1.0 Content-type: multipart/signed; boundary=jho1yZJdad60DJr+; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.3.22.1i X-Operating-System: FreeBSD 4.4-STABLE X-Editor: VIM - Vi IMproved 6.0ax BETA (http://www.vim.org/) X-Crypto: gpg (GnuPG) 1.0.6 (http://www.gnupg.org/) X-GPG-Key-ID: 0x6B191427 X-GPG-Fingerprint: C7FF A540 2199 F7BF 1933 5640 CD15 0FF3 6B19 1427 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --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 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