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

Bug#652459: initramfs-tools: [patch] Please support mounting of /usr in the initramfs



On Dec 17, Roger Leigh <rleigh@debian.org> wrote:

> 1) Generation of /etc/fstab in the initramfs, including the rootfs
>    and all the filesystems desired to be mounted
This is highly suboptimal, because it suddenly makes the initramfs not
generic anymore.
The initramfs should:
- mount / as usual
- look at the rootfs fstab
- mount /usr using the information from the rootfs fstab

> 2) In local mountroot(), rather than just mounting the rootfs, loop
>    over all mountpoints in /etc/fstab and mount them.
If there is no need to mount file systems other than /usr, why do it?

> - ability to NFS mount filesystems other than the rootfs, i.e.
>   it might need nfsmount for local (not that this is a useful use
>   case)
More arguments to only mount what we strictly need.

> and other files to the root filesystem.  It additionally permits
> mounting of /etc separately, thereby permitting it to be
> encrypted and/or writable while the root filesystem is
> unencrypted and/or read-only.
I do not believe that this is desireable, it is complex and would come
for free anyway by a / -> /usr move.

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature


Reply to: