From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,dd8049a0b689baeb X-Google-Attributes: gidfee84,public From: Joe Spanicek Subject: Re: SWAP space allocation Date: 1997/10/01 Message-ID: <3431BF6A.41C6@resptk.bhp.com.au>#1/1 X-Deja-AN: 276947183 References: <9117cd$f3532.3ab@news2.dis.wa.gov> <3430326E.BE9CFEF8@loan-servicing.com> <34318EDE.794B@resptk.bhp.com.au> <60sgaa$pfi$2@home.kpbank.ru> Organization: BHP Research - CSRL Newsgroups: comp.unix.osf.osf1 Alexey Reshetov wrote: > > Joe Spanicek (joe@resptk.bhp.com.au) wrote: > : Ronald Speth wrote: > : > > : > > 8 partitions: > : > > # size offset fstype [fsize bsize cpg] > : > > a: 131072 0 unused 0 0 # (Cyl. 0 - 95*) > : > > b: 401408 131072 unused 0 0 # (Cyl. 95*- 386*) > : > > c: 4110480 0 unused 0 0 # (Cyl. 0 - 2987*) > : > > d: 1191936 532480 unused 0 0 # (Cyl. 386*- 1253*) > : > > e: 1191936 1724416 unused 0 0 # (Cyl. 1253*- 2119*) > : > > f: 1194128 2916352 unused 0 0 # (Cyl. 2119*- 2987*) > : > > g: 1787904 532480 swap # (Cyl. 386*- 1686*) > : > > h: 1790096 2320384 unused 0 0 # (Cyl. 1686*- 2987*) > : > > > > : If you use cylinder 0 for the begining of the swap space it may > : overwrite your disklabel information which also contains the info that > : the partition is a swap partition. You can use the whole disk as swap > : partition but start it at cylinder 512 to be save - safe than sorry. > > : Joe > -- > Therefore, root partition on rz?a starting on cylinder 0 will be > cleaning disklabel? - Such disklabel (root with offset 0) installing > on default. => disklabel is allocated on different place. > Regards. > ____________________________________________________ > Alexey Reshetov > real@kpbank.ru The root partition on rz?a which starts on cylinder 0 DOES NOT overwrite the disklabel information. The system knows to keep away from cyclinder 0 when the file system is created. As for a SWAP partition it is not considered and the disklabel can be overwritten. In DU V4.x and up, I believe there was some code put in the kernal system to steer clear from cyclinder 0 - but not for earlier versions. You can actually see the code in one of the system kernel files but I can not remember which one to look at. Joe