From owner-freebsd-questions Fri Jun 19 22:50:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA14718 for freebsd-questions-outgoing; Fri, 19 Jun 1998 22:50:04 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from nanguo.chalmers.com.au (gateway.chalmers.com.au [203.1.96.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA14643 for ; Fri, 19 Jun 1998 22:49:58 -0700 (PDT) (envelope-from robert@chalmers.com.au) Received: from chalmers.com.au (carbon.chalmers.com.au [203.1.96.26]) by nanguo.chalmers.com.au (8.8.8/8.8.8) with ESMTP id PAA11623; Sat, 20 Jun 1998 15:49:12 +1000 (EST) Message-ID: <358B4FEC.ACF56300@chalmers.com.au> Date: Sat, 20 Jun 1998 16:00:12 +1000 From: Robert Chalmers Reply-To: robert@chalmers.com.au Organization: chalmers.com.au X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: djv@bedford.net, freebsd-questions Subject: FINNALY - Re: Continuing the sd1 disklabel/disktab do-it-by-hand saga References: <199806200051.UAA16384@lucy.bedford.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG CyberPeasant wrote: > > Robert Chalmers wrote > > CyberPeasant wrote: Ok I think I finally have it. The disktab: All sectors, the right sizes, speed and other bits... As far as I can see, there are no overlaps, and no spares, or left out bits... I think.!! I even have the right rpm in it. I'd love to do this to my primary drive now!!! ;-) # c2490a|Compaq C2490A SCSI:\ :ty=winchester:rm#6400:dt=SCSI:ns#107:nt#18:nc#2159:\ :se#512:\ :oa#0:pa#2055000:ba#8192:fa#1024:ta=4.2BSD:\ :ob#2055000:pb#336640:bb#8192:fb#1024:tb=swap:\ :oc#0:pc#4158234:bc#8192:fc#1024:\ :od#2391640:pd#894873:bd#8192:fd#1024:td=4.2BSD:\ :oe#3286513:pe#871721:be#8192:fe#1024:te=4.2BSD: and the disklabel sd1 command returns, # /dev/rsd1c: type: SCSI disk: c2490a label: sd1s1 flags: bytes/sector: 512 sectors/track: 107 tracks/cylinder: 18 sectors/cylinder: 1926 cylinders: 2159 sectors/unit: 4158234 rpm: 6400 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 5 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2055000 0 4.2BSD 1024 8192 0 # (Cyl. 0 - 1066*) b: 336640 2055000 swap # (Cyl. 1066*- 1241*) c: 4158234 0 unused 1024 8192 # (Cyl. 0 - 2158) d: 894873 2391640 4.2BSD 1024 8192 0 # (Cyl. 1241*- 1706*) e: 871721 3286513 4.2BSD 1024 8192 0 # (Cyl. 1706*- 2158*) sheees, I should document this somewhere :-) Now all I have to do is newfs it, remount and restore it. ARRRRRRRRR, I need a glass of vino! 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