*BSD News Article 12232


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!pacbell.com!unet!blunt!dsilvia
From: dsilvia@blunt.net.com ()
Subject: Re: Disklabel help needed
Message-ID: <1993Mar3.035202.11777@unet.net.com>
Sender: news@unet.net.com
Nntp-Posting-Host: blunt
Organization: Network Equipment Technologies
References: <C3A9MB.9rE@ccu.umanitoba.ca>
Date: Wed, 3 Mar 1993 03:52:02 GMT
Lines: 40

In article <C3A9MB.9rE@ccu.umanitoba.ca> hmomar@ccu.umanitoba.ca (Hadi M. Omar) writes:
> Hello I have a Seagate ST3283 IDE hard drive its 245 megs and has
>978 cyls 14 heads and 35 sec/tracks. Could someone please help me
>set up a disklabel for this drive? I would like to have 2 100 meg or so
>partitions and a 20 meg swap partition. Any help would be greatly
>appreciated. I should also mention this is my second drive wd1.
> 


Here is a disklabel which ought to at least get you started.  It has a 20+Meg
swap at offset 0 and 220+Meg beyond that.  I'm not real sure about the cpg
(cylinders per group).  Maybe others can comment and we can all learn some
more. :*>

# /dev/rwd1d:
type: ESDI
disk: ESDI/IDE
label: 
flags:
bytes/sector: 512
sectors/track: 35
tracks/cylinder: 14
sectors/cylinder: 490
cylinders: 978
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   cpg]
  a:   440020    39200    4.2BSD     1024  8192    14   # (Cyl.  80 - 896)
  b:    39200        0      swap                        # (Cyl.   0 - 80)
  c:   479220        0    unused        0     0         # (Cyl.   0 - 976)


Dave S.