From owner-freebsd-questions Mon Jun 8 10:52:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02603 for freebsd-questions-outgoing; Mon, 8 Jun 1998 10:52:50 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (www.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA02506 for ; Mon, 8 Jun 1998 10:52:17 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.180]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Mon, 08 Jun 1998 19:52:56 +0200 Received: from neuron.webmore.de (malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) with ESMTP id TAA00480; Mon, 8 Jun 1998 19:49:06 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <357BBECD.CD9B7850@chalmers.com.au> Date: Mon, 08 Jun 1998 19:49:05 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: Robert Chalmers Subject: RE: Conclusion: disktab software is RS. Cc: freebsd-questions Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ... " where 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 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