:: Re: [DNG] FW: support for merged /u…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Didier Kryn
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] FW: support for merged /usr in Debian
Le 02/01/2016 11:27, karl@??? a écrit :
> Initrd would be an alt. solution in the nfs case, but there you
> basically have the same split, initrd beeing the small fs, nfs-/
> beeing the big.

     That's a case where initramfs is really usefull because you can do 
a lot of tricks in the initramfs (including an interactive session). If, 
then, you only mount /usr, /var and /home, you cannot consistently run 
package management tools, because they modify also files which aren't 
under these mountpoint, and modifications to your initramfs are lost at 
reboot.


     Therefore, when you are done with the sequence in initramfs, you 
must end up with a pivot-root to an nfsroot. This nfsroot is on the NFS 
server, typically all on the same partition (eg /srv) and there is no 
benefit at all in having a /usr in it, except this is what the packages 
expect.


     Didier