🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: uk.comp.os.linux
Article #58

Re: root filesystem v. different directories

#58
From: Paul Colquhoun
Date: Tue, 26 Dec 2000 02:17
57 lines
3252 bytes
On Tue, 26 Dec 2000 09:26:51 +0800, Jacko <jacko@fastnet.co.uk> wrote:
|Hi,
|
|I have built a new Debian2.2 for my personal website. I am the only
|local user and I can use the whole 9G hard disk. It will run DNS,
|Apache, qmail and mySQL only.
|
|When I install the Debian, I created the root filesystem only:
|/boot 100MB
|/ 8GB
|Swap 128MB x 8 (cuz, I've got 4 x 128MB physical memory)
|
|After I read the "The Linux System Administrators' Guide", it suggest us
|to add the following filesystems /bin, /lib, /etc, /dev, /home etc�
|
|My question is...
|
|Why the book suggests different filesystems instead of one root
|filesystem"/"? (It looks easier to handle one root filesystem?!)
|Which method is works better?
|
|Thanks for helping me. Wish you a Merry Christmas.


And a Merry Xmas from me as well.


On the Filesystem note, it's all a trade off.

Many smaller file systems reduce the risk of a single corruption
destroying all your data, and help prevend a runaway log file (say)
from using up all your disk space.

For a single-user system, I'd recommend putting /home on it own
partition as a minimum (in addition to what you have above) and
/usr/local is a close second.

This is mainly to help during upgrades/reinstalls.

If you have:

/
/boot
/home
/usr/local

Then you can reformat / & /boot during an OS reinstall and not loose
your personal files and localy installed software. Note that I generally
do my OS "upgrades" by doing a clean install of the new version.


-- 
Reverend Paul Colquhoun,      postmaster@andor.dropbear.id.au
Universal Life Church    http://andor.dropbear.id.au/~paulcol
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
xenaphobia: The fear of being beaten to a pulp by
            a leather-clad, New Zealand woman.
Technical Details
Message-ID: <slrn94futr.ql7.postmaster@tux.andor.dropbear.id.au>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!nntp-out.monmouth.com!newspeer.monmouth.com!203.97.37.7!news.xtra.co.nz!news1.optus.net.au!optus!intgwpad.nntp.telstra.net!news-server.bigpond.net.au!not-for-mail
References: <3A47F3DB.B676BA34@fastnet.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: faa64,f2c26602154df4c2
X-Google-Attributes: gidfaa64,public
X-Google-Thread: 10d8ad,f2c26602154df4c2
X-Google-Attributes: gid10d8ad,public
X-Google-Thread: 102983,f2c26602154df4c2
X-Google-Attributes: gid102983,public
X-Google-ArrivalTime: 2000-12-25 18:10:06 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!nntp-out.monmouth.com!newspeer.monmouth.com!203.97.37.7!news.xtra.co.nz!news1.optus.net.au!optus!intgwpad.nntp.telstra.net!news-server.bigpond.net.au!not-for-mail
From: postmaster@andor.dropbear.id.au (Paul Colquhoun)
Newsgroups: uk.comp.os.linux,aus.computers.linux,alt.os.linux
Subject: Re: root filesystem v. different directories
References: <3A47F3DB.B676BA34@fastnet.co.uk>
Reply-To: <postmaster@andor.dropbear.id.au>
Message-ID: <slrn94futr.ql7.postmaster@tux.andor.dropbear.id.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: slrn/0.9.6.2 (Linux)
Lines: 57
Date: Tue, 26 Dec 2000 02:17:12 GMT
NNTP-Posting-Host: 144.132.133.107
X-Complaints-To: news@bigpond.net.au
X-Trace: news-server.bigpond.net.au 977797032 144.132.133.107 (Tue, 26 Dec 2000 13:17:12 EST)
NNTP-Posting-Date: Tue, 26 Dec 2000 13:17:12 EST
Organization: BigPond Internet Services (http://www.bigpond.net.au)