~ubuntu-branches/ubuntu/vivid/installation-guide/vivid-proposed

« back to all changes in this revision

Viewing changes to da/partitioning/sizing.xml

  • Committer: Bazaar Package Importer
  • Author(s): Frans Pop
  • Date: 2005-10-25 17:37:25 UTC
  • Revision ID: james.westby@ubuntu.com-20051025173725-aq0bm11be7bfd7rw
Tags: 20051025
* Mention in copyright that full GPL is included in the manual.
  Closes: #334925
* Register installed documents with doc-base.
* Minor updates in English text and translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- retain these comments for translator revision tracking -->
 
2
<!-- original version: 11648 untranslated -->
 
3
 
 
4
 
 
5
 <sect1 id="partition-sizing">
 
6
 <title>Deciding on Debian Partitions and Sizes</title>
 
7
<para>
 
8
 
 
9
At a bare minimum, GNU/Linux needs one partition for itself.  You can
 
10
have a single partition containing the entire operating system,
 
11
applications, and your personal files. Most people feel that a
 
12
separate swap partition is also a necessity, although it's not
 
13
strictly true.  <quote>Swap</quote> is scratch space for an operating system,
 
14
which allows the system to use disk storage as <quote>virtual
 
15
memory</quote>. By putting swap on a separate partition, Linux can make much
 
16
more efficient use of it.  It is possible to force Linux to use a
 
17
regular file as swap, but it is not recommended.
 
18
 
 
19
</para><para>
 
20
 
 
21
Most people choose to give GNU/Linux more than the minimum number of
 
22
partitions, however.  There are two reasons you might want to break up
 
23
the file system into a number of smaller partitions. The first is for
 
24
safety.  If something happens to corrupt the file system, generally
 
25
only one partition is affected. Thus, you only have to replace (from
 
26
the backups you've been carefully keeping) a portion of your
 
27
system. At a bare minimum, you should consider creating what is
 
28
commonly called a <quote>root partition</quote>. This contains the most essential
 
29
components of the system. If any other partitions get corrupted, you
 
30
can still boot into GNU/Linux to fix the system. This can save you the
 
31
trouble of having to reinstall the system from scratch.
 
32
 
 
33
</para><para>
 
34
 
 
35
The second reason is generally more important in a business setting,
 
36
but it really depends on your use of the machine. For example, a mail
 
37
server getting spammed with e-mail can easily fill a partition. If you
 
38
made <filename>/var/mail</filename> a separate partition on the mail
 
39
server, most of the system will remain working even if you get spammed.
 
40
 
 
41
</para><para>
 
42
 
 
43
The only real drawback to using more partitions is that it is often
 
44
difficult to know in advance what your needs will be. If you make a
 
45
partition too small then you will either have to reinstall the system
 
46
or you will be constantly moving things around to make room in the
 
47
undersized partition. On the other hand, if you make the partition too
 
48
big, you will be wasting space that could be used elsewhere. Disk
 
49
space is cheap nowadays, but why throw your money away?
 
50
 
 
51
</para>
 
52
 </sect1>