Anonymous 寫:我有一顆80G的硬碟, 該怎麼規劃Debian裡的分割區ㄋ,是直接用一各分割區 ( / )
然後一各swap 磁區就可以了ㄋ, 還是另外多割幾各比較好? 那請問各位大大都是用什麼檔案系統壓?
看你要幹嘛。
Server 的話規劃一點比較好。
/boot
/
/usr
/tmp
/dev
/home
參考:
http://www.linux.org/lessons/beginner/l2/lesson2c.html
http://wilsonwg.tripod.com/linux/notes/hdspace.txt
http://www.debian.org/releases/stable/i ... ng.en.html
Debian GNU/Linux adheres to the Filesystem Hierarchy Standard for directory and file naming. This standard allows users and software programs to predict the location of files and directories. The root level directory is represented simply by the slash /. At the root level, all Debian systems include these directories:
bin Essential command binaries
boot Static files of the boot loader
dev Device files
etc Host-specific system configuration
home User home directories
lib Essential shared libraries and kernel modules
mnt Mount point for mounting a file system temporarily
proc Virtual directory for system information
root Home directory for the root user
sbin Essential system binaries
tmp Temporary files
usr Secondary hierarchy
var Variable data
opt Add-on application software packages
The following is a list of important considerations regarding directories and partitions.
* The root partition / must always physically contain /etc, /bin, /sbin, /lib and /dev, otherwise you won't be able to boot. Typically 100 MB is needed for the root partition, but this may vary.
* /usr: all user programs (/usr/bin), libraries (/usr/lib), documentation (/usr/share/doc), etc., are in this directory. This part of the file system needs most of the space. You should provide at least 500 MB of disk space. If you want to install more packages you should increase the amount of space you give this directory.
* /home: every user will put his data into a subdirectory of this directory. The size of this depends on how many users will be using the system and what files are to be stored in their directories. Depending on your planned usage you should reserve about 100 MB for each user, but adapt this value to your needs.
* /var: all variable data like news articles, e-mails, web sites, APT's cache, etc. will be placed under this directory. The size of this directory depends greatly on the usage of your computer, but for most people will be dictated by the package management tool's overhead. If you are going to do a full installation of just about everything Debian has to offer, all in one session, setting aside 2 or 3 gigabytes of space for /var should be sufficient. If you are going to install in pieces (that is to say, install services and utilities, followed by text stuff, then X, ...), you can get away with 300 - 500 megabytes of in /var. If hard drive space is at a premium and you don't plan on using APT, at least not for major updates, you can get by with as little as 30 or 40 megabytes in /var.
* /tmp: if a program creates temporary data it will most likely go in /tmp. 20-50 MB should be usually enough.
如果是新手的話﹕
/
/home
/swap