On Wed, Aug 11, 1999 at 06:46:51PM +0200, Dag-Erling Smorgrav wrote:
> Josef Karthauser <[EMAIL PROTECTED]> writes:
> > On Wed, Aug 11, 1999 at 06:23:24PM +0200, Dag-Erling Smorgrav wrote:
> > > Josef Karthauser <[EMAIL PROTECTED]> writes:
> > > > Ahha - of course. Ok, let me re-phrase the question then. By looking
> > > > at the contents of the superblocks on a UFS file system it's possible to
> > > > reconstruct a disklabel for a slice.
> > > Well, it's possible to reconstruct the label information for *that
> > > particular UFS file system*, since if you know the location of the
> > > superblock (or one of its backup copies), you can determine the offset
> > > and size of the FS. It won't tell you anything about *other*
> > > partitions though.
> > That's ok, because each slice has its _own_ label. If the bios partition
> > table loses it's mind that's a little more work :).
>
> You're confusing partitions and slices.
I don't think so - PC's have a partition table. Us FreeBSDers call these
partitions 'slices', and subdivide these into FreeBSD partitions. Each
slice (pc partition) has a disklabel which denotes where the FreeBSD partitions
live on the slice.
I see what you were saying now above now. I agree that the superblock for
a UFS file system won't tell anything about other UFS partitions, but
a block by block search of the whole slice will identify potential
superblocks that will.
Joe
--
Josef Karthauser FreeBSD: How many times have you booted today?
Technical Manager Viagra for your server (http://www.uk.freebsd.org)
Pavilion Internet plc. [[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message