lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <467F3DA8.8030908@zytor.com>
Date:	Sun, 24 Jun 2007 20:59:36 -0700
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Arnd Hannemann <arnd@...dnet.de>
CC:	Jan Engelhardt <jengelh@...putergmbh.de>,
	Salvatore De Paolis <depaolis.salvatore@...ero.it>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: pivot_root alternative

Arnd Hannemann wrote:
> Jan Engelhardt schrieb:
>> On Jun 24 2007 23:27, Salvatore De Paolis wrote:
>>> i built the kernel with a busybox initramfs which runs from a usb stick. While
>>> i boot i need to mount the real root and i'm using pivot_root.
>>> Pivot_root . old-root return to me an "Invalid argument" error and googling i
>>> found here http://lkml.org/lkml/2005/10/8/17 that pivot_root should be avoided.
>>> I want to ask now what i should do to switch to a real root?
>> use run-init from klibc?
> 
> However be aware of the limitation of run-init:
> It only works for direct childs of root directory
> /mnt/newroot won't work
> /newroot should work ;-)
> 

Hm, that should probably be fixed.  It should be able to work on any
directory as long as there isn't another *filesystem* involved...

	-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ