xref: /dragonfly/nrelease/root/etc/disklabel.ad0s1 (revision dda92f98)
14e04bc29SMatthew Dillon# Example disklabel for ad0s1.  Once initialized via the instructions in
24e04bc29SMatthew Dillon# the README you can edit the label and create partitions for your
34e04bc29SMatthew Dillon# filesystems.  The top of the disklabel should already contain reasonable
44e04bc29SMatthew Dillon# values so you should only have to edit the bottom part.  Here is an example
54e04bc29SMatthew Dillon#
64e04bc29SMatthew Dillon
74e04bc29SMatthew Dillon8 partitions:
84e04bc29SMatthew Dillon#        size   offset    fstype   [fsize bsize bps/cpg]
9b6a0a5cfSMatthew Dillon  a:   256m        0    4.2BSD     1024  8192	99
104e04bc29SMatthew Dillon  b:  1024m	   *      swap
114e04bc29SMatthew Dillon  c: <leave this line untouched>
12b6a0a5cfSMatthew Dillon  d:   256m	   *    4.2BSD     1024  8192	99
13b6a0a5cfSMatthew Dillon  e:   256m	   *    4.2BSD     1024  8192	99
14b6a0a5cfSMatthew Dillon  f:  8192m	   *    4.2BSD     2048 16384	99
15b6a0a5cfSMatthew Dillon  g:	*	   *    4.2BSD     2048 16384	99
164e04bc29SMatthew Dillon
174e04bc29SMatthew Dillon# The disklabel program accepts 'm' for megabytes, and '*' to auto-fill-in
184e04bc29SMatthew Dillon# the offset.  A '*' in the size field means 'the rest of the disk'.
194e04bc29SMatthew Dillon# disklabel may get confused due to there being too many '*'s in which case
204e04bc29SMatthew Dillon# just remove the g: partition, generate the disklabel, then edit it again
214e04bc29SMatthew Dillon# and g back in.
224e04bc29SMatthew Dillon#
234e04bc29SMatthew Dillon# ad0s1a:	/
24*dda92f98SSascha Wildner# ad0s1b:	swap	(suggest no less than 256m and at least 1xmain-memory)
254e04bc29SMatthew Dillon# ad0s1c:	(represents the whole-disk, generally leave this one alone)
264e04bc29SMatthew Dillon# ad0s1d:	/var
274e04bc29SMatthew Dillon# ad0s1e:	/tmp
28*dda92f98SSascha Wildner# ad0s1f:	/usr	(suggest no less than 4096m but 1024m ok in a crunch)
294e04bc29SMatthew Dillon# ad0s1g:	/home	(all remaining disk space)
304e04bc29SMatthew Dillon# ad0s1h:	(unused)
31