Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Aug 1998 21:23:51 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        jdp@polstra.com (John Polstra)
Cc:        julian@whistle.com, current@FreeBSD.ORG
Subject:   Re: Funky DEVFS stuff.
Message-ID:  <199808152123.OAA23045@usr01.primenet.com>
In-Reply-To: <199808151709.KAA17856@austin.polstra.com> from "John Polstra" at Aug 15, 98 10:09:20 am

next in thread | previous in thread | raw e-mail | index | archive | help
> > The 'c' partition is "Magic" (for now)

The c partition is magic for hysterical raisons of spanning the whole
disk.  It's there fore cruft like disklabel and partitioning programs
that operate on the whole disk, but don't use ioctl()'s to do it
(obviously, if a label is useful, the kernel already has a model
of it, and user space code dependent on c is just duplicating
effort).


> Is 'd' still magic too?  I seem to recall that it was magic once upon
> a time.  But not any more, right?

The d partition was magic because it used to span the whole FreeBSD
area.  Now we trust the DOS parittion table (or ourselves, if we are
in "dangerously without a second stage boot record" mode.


> Also, 'b' used to be magic (reserved for swap) in some Unix variants.
> Not for us, right?

See the disklabel.  The use of swap is dictated by the "partition"
type field.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808152123.OAA23045>