On Tue, Jul 16, 2013 at 11:25:42AM -0700, Steve Langasek wrote: > On Tue, Jul 16, 2013 at 05:07:39PM +0100, Roger Leigh wrote: > > - using the same infrastructure, it's also possible to > > mount /etc in the initramfs so that you can have e.g. a > > separately encrypted /etc filesystem. This is a separate > > feature though and can be split out. > > This reflects poorly on the infrastructure in question.
I'm merely referring to the generalisation of the local/nfs scripts to allow mounting of arbitrary filesystems. There's nothing wrong with this this support code. > Handling /etc as a > separate filesystem from /, aside from not being a feature anyone else > has asked for and not being a requirement for reducing deltas with upstreams > / other distros, implies that the initramfs has to have a copy of the > information from /etc/fstab. This is *not* how this should be handled. I certainly didn't mean to imply this, because this is not what is being done here. Nothing is stored in the initramfs. > The > initramfs should take the information about the root filesystem from the > kernel commandline, and its information about /usr from /etc/fstab *on the > root filesystem once it has been mounted*. > > Anything else is a wrong design. We certainly do this for / and /usr. The information for mounting /etc is passed on the kernel command-line exactly as for the rootfs; while I've so far only tested it by hand, tools such as update-grub could potentially add it in the same way they handle the rootfs, if such a feature was in use. Note that this part was merely added as a proposal only as a demonstration of what could be done /if this was desirable to have/. If not, then it can be dropped. It was included solely that it could be reviewed. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools `- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800 -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130716190627.gf4...@codelibre.net