xref: /dragonfly/nrelease/root/etc/disklabel.ad0s1 (revision 0ca59c34)
1# $DragonFly: src/nrelease/root/etc/disklabel.ad0s1,v 1.2 2004/01/23 00:36:23 dillon Exp $
2# Example disklabel for ad0s1.  Once initialized via the instructions in
3# the README you can edit the label and create partitions for your
4# filesystems.  The top of the disklabel should already contain reasonable
5# values so you should only have to edit the bottom part.  Here is an example
6#
7
88 partitions:
9#        size   offset    fstype   [fsize bsize bps/cpg]
10  a:   256m        0    4.2BSD     1024  8192	99
11  b:  1024m	   *      swap
12  c: <leave this line untouched>
13  d:   256m	   *    4.2BSD     1024  8192	99
14  e:   256m	   *    4.2BSD     1024  8192	99
15  f:  8192m	   *    4.2BSD     2048 16384	99
16  g:	*	   *    4.2BSD     2048 16384	99
17
18# The disklabel program accepts 'm' for megabytes, and '*' to auto-fill-in
19# the offset.  A '*' in the size field means 'the rest of the disk'.
20# disklabel may get confused due to there being too many '*'s in which case
21# just remove the g: partition, generate the disklabel, then edit it again
22# and g back in.
23#
24# ad0s1a:	/
25# ad0s1b:	swap	(suggest no less then 256m and at least 1xmain-memory)
26# ad0s1c:	(represents the whole-disk, generally leave this one alone)
27# ad0s1d:	/var
28# ad0s1e:	/tmp
29# ad0s1f:	/usr	(suggest no less then 4096m but 1024m ok in a crunch)
30# ad0s1g:	/home	(all remaining disk space)
31# ad0s1h:	(unused)
32