Default disk partitions (disklabel)

From: Tri H. Tran <thtran_at_hydra.acs.uci.edu>
Date: Mon, 10 Apr 2000 17:43:12 -0700

Trying to figure out how disklabel configure the
default partitions scheme for a drive when the disktype
is not specified or no entry in /etc/disktab.
According to /etc/disktab, the following are general
rules for partitioning scheme:

 # All partition sizes contain space for bad sector tables unless
 # the device drivers fail to support this. Smaller disks may
 # not have all partitions and all disks have no defaults for
 # the `h' partition. The strategy here is that `a' always
 # has the same amount for all disks (for the most part). The `b' partition is
 # twice `a' while `c' is always the entire disk. The
 # sum of `d', `e', and `f' is equal to `(c - (a + b))' which is everything else.
 #
 # For all but the really small disks (like the RZ23) the partition sizes are:
 #
 # a is 64MB in size
 # b is 128MB in size
 # c is the whole disk
 # d,e,f is 1/3 of partitions g and h ((c - (a + b))/3)
 # g is 400MB (or rest of disk)
 # h is rest of disk (or zero)
 #

However, when I ran disklabel -nrw /dev/rrz... for a particular drive,
aside from the a,b,and c
partitions, I only get the g and h partitions defined. Both were
around ~900MB which is not as stated above. For another smaller drive,
I do get the d,e, and f partition defined. Any idea on why this is so?
Thanks in advance.

-- 
<------------------------------>
Tri Tran
UC Irvine-Office of Academic Computing
Phone: (949)824-5887	email: thtran_at_uci.edu
Received on Tue Apr 11 2000 - 00:44:43 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT