lkml.org 
[lkml]   [2006]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: klibc
Date
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/

\
 
 \ /
  Last update: 2006-06-10 01:47    [W:0.214 / U:1.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site