Re: Which directorys should be read only vs. writable.
Henry Hollenberg speed@barney.iamerica.net
On Fri, 6 Mar 1998, Jean Pierre LeJacq wrote:
> On Fri, 6 Mar 1998, Henry Hollenberg wrote:
>
> > Which directorys could be set up read only and which have to be writable?
> >
> > I guess /var/spool, /var/tmp and /usr/spool should be mounted writable,
> > and /home I guess too. Can the rest be mounted read only? (Reinforced by
> > setting the jumper on the disk to read only!). Will this screw up fsck?
>
> Also /var/run, /var/lock, and /. / is very close to being able to be
> mounted read only with only a few files being written in /etc. The
> main problem is that several file get create/modified in /dev at boot.
Do you mean by /. the current directory of root? Why does that need to
be writable?
So we have:
/var/lock
/var/run
/var/spool
/var/tmp
/usr/spool
/usr/tmp
So maybe mount
/var on one partition on the writable disk
and
/usr/spool on a second partition on the writable disk
/usr/tmp on a third partition on the writable disk
Then the rest "/" goes on the read-only disk.
Anything else?
hgh
--
E-mail the word "unsubscribe" to debian-firewall-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to listmaster@debian.org .
Reply to: