Am Donnerstag, 8. September 2011, 23:44:41 schrieb Alan McKinnon:
> On Thu, 8 Sep 2011 21:29:40 +0000
> 
> Alan Mackenzie <a...@muc.de> wrote:
> > Would it not be possible to have a minimal /usr tree in the root
> > partition for udev's use at boot time, and to later mount a more
> > robust /usr partition over this?  What am I missing here?
> 
> A big problem will be that the package manager cannot easily maintain
> that "phase 1" code as it's under another mount point. Doing so would
> require the package manager to bind-mount / somewhere and
> copy updated binaries of essential packages there as well as into the
> real /usr. Not an insurmountable problem, it just requires changes to
> all affected packages, and well within the capabilities of distros.

Couldn't whatever mounts /usr bind-mount this "hidden" /usr somewhere (where, 
I think, could be a good question here) before mounting the real one?
Then it would be visible even after the real /usr is mounted.

> As a workaround, it's certainly a fine example. But I suspect it will
> annoy a lot of users and support people due to this "hidden" code being
> on the filesystem. If I were a package maintainer, I know I'd feel a
> little annoyed with having to track yet another trait in my packages.

Agreed.

Regards,
Michael


Reply via email to