*BSD News Article 12361


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!manuel.anu.edu.au!munnari.oz.au!constellation!convex!convex!cs.utexas.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!agate!tfs.com!julian
From: julian@tfs.com (Julian Elischer)
Subject: Re: Disklabel help needed
Message-ID: <1993Mar5.020610.29203@tfs.com>
Organization: TRW Financial Systems, Berkeley, CA - 94704
References: <C3A9MB.9rE@ccu.umanitoba.ca> <1993Mar3.035202.11777@unet.net.com>
Date: Fri, 5 Mar 1993 02:06:10 GMT
Lines: 38

In article <1993Mar3.035202.11777@unet.net.com> dsilvia@blunt.net.com () writes:
>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. :*>
[deleted]
>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)
NO NO NO NO!
NEVER put the swap as teh first partition on the disk
if it decides to swap to the first blocks it'll overwrite the disklabel
and bootblocks
the filesystesm skip the first 8k of their partitions just for this reason..
the swap might do this on some systems too (maybe 386bsd I'm not sure)
but I wouldn't count on it as a matter of fact.

>
>
>Dave S.


julian