Re: pivot_root alternative

2007-06-25 Thread Salvatore De Paolis
On Mon, 25 Jun 2007 14:19:02 +0400 Michael Tokarev <[EMAIL PROTECTED]> wrote: > Salvatore De Paolis wrote: > > > >> use run-init from klibc? > > > > Thank you both, i'll take a look at run-init:) > > By the way, busybox now includes similar applet, > named switch_root. > > /mjt yeah, i saw

Re: pivot_root alternative

2007-06-25 Thread Michael Tokarev
Salvatore De Paolis wrote: > >> use run-init from klibc? > > Thank you both, i'll take a look at run-init:) By the way, busybox now includes similar applet, named switch_root. /mjt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: pivot_root alternative

2007-06-25 Thread Michael Tokarev
Salvatore De Paolis wrote: use run-init from klibc? Thank you both, i'll take a look at run-init:) By the way, busybox now includes similar applet, named switch_root. /mjt - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED]

Re: pivot_root alternative

2007-06-25 Thread Salvatore De Paolis
On Mon, 25 Jun 2007 14:19:02 +0400 Michael Tokarev [EMAIL PROTECTED] wrote: Salvatore De Paolis wrote: use run-init from klibc? Thank you both, i'll take a look at run-init:) By the way, busybox now includes similar applet, named switch_root. /mjt yeah, i saw it yesterday

Re: pivot_root alternative

2007-06-24 Thread Salvatore De Paolis
So i choice to use switch_root which is already inside the busybox but with a bit(?) of unluck cause it still wont run. It hangs on !S_ISREG(st1.st_mode) Can you explain to me how to interpret it? Regards S. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: pivot_root alternative

2007-06-24 Thread H. Peter Anvin
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

Re: pivot_root alternative

2007-06-24 Thread Kyle Moffett
On Jun 24, 2007, at 17:27:34, 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

Re: pivot_root alternative

2007-06-24 Thread Salvatore De Paolis
On Sun, 24 Jun 2007 23:39:25 +0200 Arnd Hannemann <[EMAIL PROTECTED]> wrote: > 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 ;-) > > Good luck, > Arnd Thank you

Re: pivot_root alternative

2007-06-24 Thread Arnd Hannemann
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

Re: pivot_root alternative

2007-06-24 Thread Jan Engelhardt
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

pivot_root alternative

2007-06-24 Thread Salvatore De Paolis
hi all 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

pivot_root alternative

2007-06-24 Thread Salvatore De Paolis
hi all 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

Re: pivot_root alternative

2007-06-24 Thread Jan Engelhardt
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

Re: pivot_root alternative

2007-06-24 Thread Arnd Hannemann
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

Re: pivot_root alternative

2007-06-24 Thread Salvatore De Paolis
On Sun, 24 Jun 2007 23:39:25 +0200 Arnd Hannemann [EMAIL PROTECTED] wrote: 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 ;-) Good luck, Arnd Thank you both, i'll

Re: pivot_root alternative

2007-06-24 Thread Kyle Moffett
On Jun 24, 2007, at 17:27:34, 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

Re: pivot_root alternative

2007-06-24 Thread H. Peter Anvin
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

Re: pivot_root alternative

2007-06-24 Thread Salvatore De Paolis
So i choice to use switch_root which is already inside the busybox but with a bit(?) of unluck cause it still wont run. It hangs on !S_ISREG(st1.st_mode) Can you explain to me how to interpret it? Regards S. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of