lkml.org 
[lkml]   [2006]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: klibc
From
Date
On 7 Jun 2006, H. Peter Anvin noted:
> Followup to: <bda6d13a0606062351i5c94414fpa03ee2ce3dd180ae@mail.gmail.com>
> By author: "Joshua Hudson" <joshudson@gmail.com>
> In newsgroup: linux.dev.kernel
>>
>> Did anybody ever fix the can't pivot_root() the rootfs filesystem;
>> hense can't use on a loopback system backed by NTFS?
>
> You shouldn't pivot_root the rootfs filesystem.

What happens if you do? I mean, it doesn't make even conceptual sense,
really. The rootfs is always there: that's its entire purpose.

> Use the run-init
> utility or something similar instead (which does a mount with
> MS_MOVE.)

busybox has a switch_root tool which (conceptually) rm -rf's everything
on the root filesystem and then does such a mount. (After all whatever
is on that filesystem is inaccessible after the overmount, so keeping
it around is just a waste of memory.)

--
`Voting for any American political party is fundamentally
incomprehensible.' --- Vadik
-
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-09 10:06    [W:0.373 / U:1.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site