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

Re: deprecating /usr as a standalone filesystem?



On Thu, May 07 2009, Ben Finney wrote:

> Manoj Srivastava <srivasta@debian.org> writes:
>
>> On Thu, May 07 2009, Josselin Mouette wrote:
>> 
>> > Le jeudi 07 mai 2009 à 11:02 +1000, Ben Finney a écrit :
>> >> Those who want a read-only ‘/usr’ don't seriously try to leave it
>> >> read-only while installing or upgrading packages, do they?
>> 
>> ,----[ Excerpt from /etc/apt/apt.conf ]
>> | DPkg 
>> | {
>> |    // Auto re-mounting of a readonly /usr
>> |    Pre-Invoke  {"mount -o remount,rw /usr";};
>> |    Post-Invoke {"mount -o remount,ro /usr";};
>> | };
>> `----
>
> Exactly. So this is *not* “leave /usr read-only while installing or
> upgrading packages”. Thanks for providing another case in point.

        No. But we do leave /usr read-only the rest of the time, which
 is often 99.999% of the time. A separate /usr is required for this.

        manoj

-- 
"A complex system that works is invariably found to have evolved from a
simple system that worked." -- John Gall, _Systemantics_
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/~srivasta/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


Reply to: