:: Re: [DNG] mounting /usr
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Didier Kryn
日付:  
To: J. Fahrner, dng
題目: Re: [DNG] mounting /usr
Le 04/12/2017 à 17:11, J. Fahrner a écrit :
> Hi,
>
> Am 2017-12-04 16:12, schrieb Yevgeny Kosarzhevsky:
>
>> I am unable to mount empty /usr on jessie. Is there any workaround or
>> should I keep some files there? Or is there any build for
>> libgssapi-krb5-2 to keep its files in /lib?
>>
>> ~# ldd /sbin/mount.nfs|grep usr
>> libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
>> (0x00007fa814c44000)
>> libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3
>> (0x00007fa814970000)
>> libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3
>> (0x00007fa81473f000)
>> libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0
>> (0x00007fa813a92000)
>
> You want to mount /usr through nfs? I think that's generally no good
> idea.
> Nowadays /usr is part of the base system and should reside on local
> storage.


    It is always possible to mount any filesystem through NFS; This has
been possible in Linux far before the use of initrd or initramfs, but it
always requires some special tricks which aren't implemented by distros.
Nowadays the best solution is to write your own initramfs. It is
absolutely possible to run Devuan on top of your own kernel and
initramfs, but it takes some time and learning. If you have the time, it
is quite interesting. The alternative woud be to move some commands from
/usr/bin to /bin, but this would mess up the package manager.

    Didier