以80GB的硬碟,要怎麼規劃分割區ㄋ?

歡迎提問 debian desktop 相關問題,何謂 desktop ? 舉凡您日常生活會用到的部份,如上網 ( www 、 bbs ..) 、程式設計、繪圖...等等。 通常以 X Window 環境底下問題為主。

以80GB的硬碟,要怎麼規劃分割區ㄋ?

文章訪客 » 週一 3月 10, 2003 9:44 am

我有一顆80G的硬碟, 該怎麼規劃Debian裡的分割區ㄋ,是直接用一各分割區 ( / )
然後一各swap 磁區就可以了ㄋ, 還是另外多割幾各比較好? 那請問各位大大都是用什麼檔案系統壓?
訪客
 

re:以80GB的硬碟,要怎麼規劃分割區ㄋ?

文章阿信 » 週一 3月 10, 2003 10:16 am

小弟是用xfs的file system。

而硬碟是40g,比較建議/ , swap之外,另外把home也分隔出來。
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

re:以80GB的硬碟,要怎麼規劃分割區ㄋ?

文章swallowman » 週一 3月 10, 2003 4:45 pm

我是不管大小:
/
/boot
swap
這樣分的,想擴充也很方便~,
ps:我的/也是用XFS的
頭像
swallowman
懵懂的國中生
懵懂的國中生
 
文章: 230
註冊時間: 週一 3月 10, 2003 5:50 am
來自: taichung(puli)

Re: 以80GB的硬碟,要怎麼規劃分割區ㄋ?

文章boka » 週一 3月 10, 2003 4:58 pm

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
boka
可愛的小學生
可愛的小學生
 
文章: 27
註冊時間: 週一 1月 13, 2003 10:58 am

re:以80GB的硬碟,要怎麼規劃分割區ㄋ?

文章Tetralet » 週一 3月 10, 2003 6:15 pm

真的是要看用途囉。
Mail、Proxy 或是 File Server 放法都不一樣。

本人是把文件資料放一區,
MP 3 放一區,
Game 放一區,
圖片放一區,
亂七八糟的放一區,
備份檔案又放一區...(族繁不及備載)

反正是個人使用的,
亂放只要自已喜歡就好了。
時間並不能治療我心中的疼痛
南方的春天說什麼也溫暖不了我冰冷的血

誦唱大復活咒文,今天的 Tetralet 又在唧唧喳喳了 重生!
Tetralet
俺是博士
俺是博士
 
文章: 3078
註冊時間: 週四 11月 28, 2002 3:02 pm


回到 debian desktop

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客

cron