Getting rid of /usr for F12?

Jeff Law law at redhat.com
Sat Apr 18 00:43:44 UTC 2009


Lennart Poettering wrote:
> On Fri, 17.04.09 18:16, Chris Adams (cmadams at hiwaay.net) wrote:
>
>   
>> Once upon a time, Kevin Kofler <kevin.kofler at chello.at> said:
>>     
>>> Mounting /etc read-only makes no sense at all, config files are designed to
>>> be writable.
>>>       
>> Now, if initrd could handle /etc being on a separate filesystem, that
>> would be cool.  I might would leave /usr on / (mounted ro) if that were
>> the case (although that wouldn't help with the case I recently had where
>> /usr was corrupted but I still booted "emergency" mode to restore from
>> tape).
>>     
>
> It doesn't make sense to have /etc/ a seperate parition from /.
>
> A sensible design would be to have / as a whole should be ro. And then
> /home, /var, /tmp mounted rw.
>   
Then you need to deal with the variety of utilities that want to 
scribble in /etc.   I've successfully run systems where root was 
readonly and /etc was r/w via a union fs (/var, /tmp, /home were 
obviously different r/w filesystems).

jeff




More information about the devel mailing list