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, &

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 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

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 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 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

Kernel parameters: root

2007-05-04 Thread Salvatore De Paolis
Hi all I hope this is the right place to ask this question, if not please redirect me to the right ML. I would like to know more about kernel parameters and in particular about the root parameter. I'm booting the kernel from usb pen and the root could change while the pen is plugged in different

Kernel parameters: root

2007-05-04 Thread Salvatore De Paolis
Hi all I hope this is the right place to ask this question, if not please redirect me to the right ML. I would like to know more about kernel parameters and in particular about the root parameter. I'm booting the kernel from usb pen and the root could change while the pen is plugged in different