Resizing and defragmenting Linux filesystems (NewsForge)
Posted Oct 14, 2003 8:19 UTC (Tue) by
beejaybee (guest, #1581)
In reply to:
Resizing and defragmenting Linux filesystems (NewsForge) by vidileo
Parent article:
Resizing and defragmenting Linux filesystems (NewsForge)
"And another last question: Is it realy that bad to use a single filesystem for a PC/Laptop you only use it yourself? Has anyone had a bad experience with this?"
Yes, it's bad. Just wait till your filesystem breaks for some reason.
The nice thing about having multiple partitions is that it allows you to do things like having multiple versions of the various partitions, so you can boot into an alternate filesystem & repair damaged filesystems properly.
This doesn't apply if all of the following conditions apply:
(a) you have 100% guaranteed mains supply, or a reliable UPS with infinite capacity;
(b) you use a reliable journalled filesystem, or a reliable RAID controller with parity or mirroring, and you don't mind the (sometimes lengthy) delay involved in restoring a damaged filesystem next time it's mounted;
(c) you never run any software which is not 100% reliable.
And there's yet another benefit. If you have multiple partitions you can arrange things so that files & directories that shouldn't be written to (except during installation & patching) are mounted read-only. This is better protection than just setting the owner & access mode properly on the directories. You should be able to make it _very_ difficult for an intruder to make unauthorized changes to your system files, even if they somehow manage to acquire root priveleges.
Using only one partition is a bit like having only one user (root). It's convenient but not very secure.
(
Log in to post comments)