[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How can I make root filesystem read-only? - many ways ?

Oliver Elphick wrote:
> For example, /etc must be in the root filesystem and mount writes to
> /etc/mtab

Joey Hess wrote:
> > /etc/mtab
> That particular case is easy to workaround, just link /etc/mtab to
> /proc/mounts.

Alvin Oga wrote:
> common solution for that problem...
>         cd /etc ; rm mtab ; ln -s /proc/mounts mtab

Thank you Oliver, Joey, and Alvin. I have learned the mtab problem and
solution for that. I think /proc/mounts aproach is for me.
To Doug MacFarlane, thank you very much for your advice.

///Hiroki Horiuchi

Reply to: