[lkml]   [2007]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 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 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...

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-06-25 06:03    [W:0.020 / U:9.996 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site