[lug] Linux Partition Sizes

Hugh Brown hugh at vecna.com
Thu Apr 18 22:39:05 MDT 2002


"Bear Giles"
> 
> > This made me
> > want to make future machines partition in such a way as to have / be
> > mounted ro.
> 
> Is that possible?  I looked at that briefly in the past, but ran into
> problems because you need to be able to write some files (e.g., /etc/mtab)
> before mounting additional filesystems.

Not sure, just remember coming across it and thinking that it would have
saved me some grief when the user typed rm -rf *

> 
> I know the root filesystem is briefly mounted ro during boot, but I
> thought it had to be remounted rw later.
> 
> > Since it will be a web server /var/www is the default dir for the redhat
> > apache rpm DocumentRoot.  mysql and postgresql also default to /var for
> > data.
> 
> Since this is a server I think (IMHO) that you need to be much more
> careful about taking steps to prevent one service from interfering 
> with any other.  It's especially critical to ensure that logs can't
> be easily blocked by another process filling up the partition.

Very true.  It all depends on the balance of convenience and security one
wants (they almost always seem to be inversely proportional).

> 
> Bear



More information about the LUG mailing list