Re: klibc

From: H. Peter Anvin
Date: Fri Jun 09 2006 - 19:43:45 EST


Followup to: <bda6d13a0606091613h3334facbrcb86dbb2de01b412@xxxxxxxxxxxxxx>
By author: "Joshua Hudson" <joshudson@xxxxxxxxx>
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/