Messages in this thread | | | From | "H. Peter Anvin" <> | Subject | Re: klibc | Date | Fri, 9 Jun 2006 16:44:46 -0700 (PDT) |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |