Date: Mon, 08 Jun 1998 19:49:05 +0200 (CEST) From: Malte Lance <malte@webmore.com> To: Robert Chalmers <robert@chalmers.com.au> Cc: freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: RE: Conclusion: disktab software is RS. Message-ID: <XFMail.980608194905.malte@webmore.com> In-Reply-To: <357BBECD.CD9B7850@chalmers.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert, first of all: Do you really want a dedicated FreeBSD-disk or do you want one or more partitions on this disk and then disklabel this partitions ? In the latter case, build your partitions on the disk with fdisk. Then disklabel the partitions "disklabel -r -w sd1s<n> ... " where <n> is the partition-number you want to disklabel. Consider :se#512:nt#64:ns#32: as geometry-setting for partitioning and disklabel'ing. Maybe you don't get all the sectors on the disk with this geometry, but who cares. You'll miss < 1 MB !!! Malte. On 08-Jun-98 Robert Chalmers wrote: > To take this back to scratch, the command > > disklabel -r -w sd1 auto > > produces this for a disklabel on sd1; > ># /dev/rsd1c: > type: unknown > disk: > label: > flags: > bytes/sector: 512 > sectors/track: 86 > tracks/cylinder: 18 > sectors/cylinder: 1548 > cylinders: 2655 > sectors/unit: 4110000 > rpm: 3600 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0 # milliseconds > track-to-track seek: 0 # milliseconds > drivedata: 0 > > 3 partitions: ># size offset fstype [fsize bsize bps/cpg] > c: 4110000 0 unused 0 0 # (Cyl. 0 - 2655*) > > Now, the formula, sects/track * tracks/cylinder * number of cylinders for > this > produces a size of 4109940, which is clearly different to the 4110000 shown > for > partition c: It seems to have been rounded up? > > Now, no matter what I do with the numbers, a disktab for this will not work. > However, a disklabel and edit the table directly does. I can only conclude > that > there is someing wrong with the disktab part of the whole process. > > bob > -- > Support Whirled Peas. Business in China? China House > robert@chalmers.com.au ph:61 7 49440357 fx:61 7 49578425 > China House Uses Webposition to ensure Top Spot in Searches > http://www.chalmers.com.au/ChinaHouse/Business/webposition > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- E-Mail: Malte Lance <malte@webmore.com> Date: 08-Jun-98 Time: 19:31:56 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980608194905.malte>