Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 1998 16:00:12 +1000
From:      Robert Chalmers <robert@chalmers.com.au>
To:        djv@bedford.net, freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   FINNALY - Re: Continuing the sd1 disklabel/disktab do-it-by-hand saga
Message-ID:  <358B4FEC.ACF56300@chalmers.com.au>
References:  <199806200051.UAA16384@lucy.bedford.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?358B4FEC.ACF56300>