Add sr_YU.ISO8859-2/5.
[dragonfly.git] / release / sysinstall / help / partition.hlp
1 This is the FreeBSD DiskLabel Editor.
2
3 NOTE: If you're entering this editor from the update procedure then
4 you probably shouldn't (C)reate anything at all but rather use only
5 the (M)ount command to check and mount existing partitions for
6 upgrading.
7
8 If you would like the label editor to do most of the following for
9 you, simply type `A' for automatic partitioning of the disk.
10
11 If you wish to create partitions manually you may do so by moving the
12 highlighted selection bar with the arrow keys over the FreeBSD
13 partition(s) displayed at the top of the screen.  Typing (C)reate
14 while a partition with available free space is selected will allow you
15 to create a BSD partition inside of it using some or all of its
16 available space.
17
18 Typing (M)ount over an existing partition entry (displayed in the
19 middle of the screen) will allow you to set a mount point for it
20 without initializing it.  If you want it initialized, use the (T)oggle
21 command to flip the Newfs flag.  When Newfs is set to "Y", the
22 filesystem in question will be ERASED and rebuilt from scratch!
23
24
25 You should use this editor to create at least the following
26 filesystems:
27
28         Name    Purpose                 Min Size?       Optional?
29         ----    -------                 ---------       ---------
30         /       Root filesystem         20MB            No
31         swap    Swap space              2 * MEM         No
32         /usr    System & user files     80MB or more    Yes
33
34 Note: If you do not create a /usr filesystem then your / filesystem
35 will need to be bigger - at least 100MB.  This is not recommended as
36 any media errors that may occur during disk I/O to user files will
37 corrupt the filesystem containing vital system files as well.  It is
38 for this reason that / is generally kept on its own filesystem, where
39 it should be considered essentially "read only" in your administration
40 of it.
41
42 Swap space is a little tricker, and the rule of "2 * MEM" is simply a
43 best-guess approximation and not necessarily accurate for your
44 intended usage of the system.  If you intend to use the system heavily
45 in a server or multi-user application, you may be well advised to
46 increase this size.  You may also create swap space on multiple drives
47 for a larger "total" swap and this is, in fact, recommended if you
48 have multiple, fast drives for which such load-balancing can only help
49 overall I/O performance.
50
51 The /usr filesystem should be sized according to what kind of
52 distributions you're trying to load and how many packages you intend
53 to install in locations like /usr/local.  You can also make /usr/local
54 a separate filesystem if you don't want to risk filling up your /usr
55 by mistake.
56
57 Another useful filesystem to create is /var, which contains mail, news
58 printer spool files and other temporary items.  It is a popular
59 candidate for a separate partition and should be sized according to
60 your estimates of the amount of mail, news or spooled print jobs that
61 may be stored there.
62
63 WARNING: If you do not create a separate filesystem for /var, space
64 for such files will be allocated out of the root (/) filesystem
65 instead.  You may therefore wish to make the / partition bigger if you
66 expect a lot of mail or news and do not want to make /var its own
67 partition.
68
69 If you're new to this installation, you might also want to read the
70 following explanation of how FreeBSD's new "slice" paradigm for
71 looking at disk storage works:
72
73
74 In FreeBSD's new system, a device name can be broken up into up to 3
75 parts.  Take a typical name like ``/dev/da0s1a'':
76
77       The first three characters represent the drive name.  If we had
78       a system with two SCSI drives on it then we'd see /dev/da0 and
79       /dev/da1 as the device entries representing the entire drives.
80
81       Next you have the "slice" (or "FDISK Partition") number,
82       as seen in the Partition Editor.  Assuming that our da0
83       contained two slices, a FreeBSD slice and a DOS slice, that
84       would give us /dev/da0s1 and /dev/da0s2 as device entries pointing
85       to the entire slices.
86
87       Next, if a slice is a FreeBSD slice, you can have a number of
88       (confusingly named) "partitions" inside of it.
89
90       These partitions are where various filesystems or swap areas live,
91       and using our hypothetical two-SCSI-disk machine again, we might
92       have something like the following layout on da0:
93
94               Name            Mountpoint
95               ----            ----------
96               da0s1a          /
97               da0s1b          <swap space>
98               da0s1e          /usr
99
100 Once you understand all this, then the purpose of the label editor
101 becomes fairly clear:  You're carving up the FreeBSD slices displayed
102 at the top of the screen into smaller pieces, which are displayed in
103 the middle of the screen, and then assigning FreeBSD file system names
104 (mount points) to them.
105
106 You can also use the label editor to mount existing partitions/slices
107 into your filesystem hierarchy, as is frequently done for DOS FAT
108 slices.  For FreeBSD partitions, you can also toggle the "newfs" state
109 so that the partitions are either (re)created from scratch or simply
110 checked and mounted (the contents are preserved).
111
112 If you set (S)oftUpdates on a filesystem, it will cause the
113 "Soft Updates" policy to be in effect for it.  This basically causes
114 both metadata and data blocks to be written asynchronously to disk,
115 but with extra state information which causes the metadata and any
116 related data blocks to be committed in a single transaction.  This
117 results in async metadata update speeds (which are considerably
118 faster than the default sync) without the potential for data loss
119 which could occur if you simply mounted the filesystem with purely
120 "async" update policy and then had a power failure.  If you wish
121 to later turn the softupdates policy back off, use the command
122 "tunefs -n disable devicename".  NOTE:  It is probably not wise
123 to use this on your root filesystem unless you have a large
124 (e.g. non-standard size) root.  The reason is that smaller filesystems
125 with significant activity can temporarily overflow if the soft updates
126 policy results in free'd blocks not being "garbage collected" as fast
127 as they're being requested.
128
129 When you're done, type `Q' to exit.
130
131 No actual changes will be made to the disk until you (C)ommit from the
132 Install menu or (W)rite directly from this one.  You're working with
133 what is essentially a copy of the disk label(s), both here and in the
134 FDISK Partition Editor, and the actual on-disk labels won't be
135 affected by any changes you make until you explicitly say so.