2012/6/7 Bruce Dubbs <bruce.du...@gmail.com>:
> xinglp wrote:
>> When initramfs is used (as in the below URL), /run is aready mounted.
>> Then, if u save somethings under /run before switch_root,
>> u will not see them since /run is over mounted by mountvirtfs.
>>
>> http://www.linuxfromscratch.org/blfs/view/svn/postlfs/initramfs.html
>
> What happens if you change mountvirtfs:
>
> if ! mountpoint /run >/dev/null; then
> mount -n /run || failed=1
> fi
It works normal. And I think it is the right way.
>
> -- Bruce
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page