Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Joe Spanicek <joe@resptk.bhp.com.au>
Subject: Re: SWAP space allocation
Date: 1997/10/01	[thread overview]
Message-ID: <3431BF6A.41C6@resptk.bhp.com.au> (raw)
In-Reply-To: 60sgaa$pfi$2@home.kpbank.ru


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



  reply	other threads:[~1997-10-01  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-17  4:00 SWAP space allocation Chuck Moore
1997-09-29  4:00 ` Ronald Speth
1997-10-01  4:00   ` Joe Spanicek
1997-10-01  4:00     ` Alexey Reshetov
1997-10-01  4:00       ` Joe Spanicek [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-07-20  4:00 Swap Space Allocation John Allen
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox