On Thu, May 07, 2009 at 07:27:08PM -0500, Manoj Srivastava wrote: > On Thu, May 07 2009, Ben Finney wrote: > > > Manoj Srivastava <sriva...@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.
Uhm, no? mount --bind /usr /usr Should do the trick (the same mount -o remount,rw / remount,ro then applies). all thanks to the magic of subtrees :) Regards: David -- /) David Weinehall <t...@debian.org> /) Rime on my window (\ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Diamond-white roses of fire // \) http://www.acc.umu.se/~tao/ (/ Beautiful hoar-frost (/ -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org