pivot_root alternative

From: Salvatore De Paolis
Date: Sun Jun 24 2007 - 17:27:43 EST


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 avoided.
I want to ask now what i should do to switch to a real root?

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