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

Re: Bug#652011: general: Repeated pattern of FHS violation: Dependencies of /sbin and /bin, belong in /lib

On Thu, Dec 15, 2011 at 01:29:18PM +0000, Roger Leigh wrote:
> WRT mounting additional filesystems in the initramfs, how difficult
> would it be to add an additional mount option to /etc/fstab entries,
> e.g. "init" or "initramfs" to mark them as being required for mounting
> in the initramfs.  This could include /, /usr, /etc and anything else
> the admin deems necessary for booting, and would just be checked and
> added when creating/updating the initramfs.

So WRT mounting /usr (and potentially /etc and other filesystems),
I've pushed patches upstream for util-linux (initramfs mount option)
and initramfs-tools (generate /etc/fstab from host and mount after
rootfs).  Once fully implemented, this will guarantee the presence of
/usr from before init starts, which will solve all the current
problems of the / vs. /usr separation.

Obviously this is a separate problem to whether /usr should be kept
in the long run, but it does make guarantees WRT the availability of
files which we currently don't.  This would, for example, permit the
removal of duplicated files in / and /usr which would make future
migration possible.


  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Reply to: