Re: klibc

H. Peter Anvin
2006-06-09T23:44:51Z

Followup to: <bda6d13a0606091613h3334facbrcb86dbb2de01b412@mail.gmail.com>
By author: "Joshua Hudson" <joshudson@gmail.com>
In newsgroup: linux.dev.kernel
> Should work if the following is true:
> if pwd is /, mount / followed by ls . retunrs the contents of initramfs.

It does, and it does work as described. Again, see the referenced code.

You can also fchdir() to the rootfs if you have a file descriptor to
any directory therein.

-hpa