Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Location of partition table on disk

28 views
Skip to first unread message

Henry Spencer

unread,
Nov 5, 1986, 5:58:29 PM11/5/86
to
> ... A partition table should contain the following:
>
> ... (maybe) a flag indicating
> what sort of bad block replacement algorithim is in use ...
>
> a flag for each partition indicating what sort of thing the partition is
> (BSD partition, SYS-V partition, raw data, swap, etc)...

I implore anyone doing something like this to implement those "flags" as
space for a short character string, *not* as a one-byte magic number.
Using character strings doesn't eliminate the administrative problems of
making sure that the same code doesn't get used for two different things,
but it makes them a whole lot less likely.

Note also that 4BSD filesystems can be 4KB or 8KB, SysV filesystems can
be 512B or 1KB, and V8 filesystems can be 1KB or 4KB... to mention just
a few variations that should be described.

> a volume or set number, for implementing multivolume file systems (for
> instance, Chris Torek's striping setup).

This is more complex than it looks; striping requires more information
than that, at least in principle.
--
Henry Spencer @ U of Toronto Zoology
{allegra,ihnp4,decvax,pyramid}!utzoo!henry

0 new messages