lkml.org 
[lkml]   [2003]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Rootfs mounted from user space - problem with umount
    Valdis.Kletnieks@vt.edu wrote:

    >I'm missing something - why not use an initrd and pivot_root and then
    >unmount the old root? Seems to work here.
    >
    >

    I'm using the 2.6.0-test9 kernel and initramfs to store video mode data
    that my kernel mods will read during boot. Using cpio is a lot easier
    than making a file system using the loopback device. I want to keep
    the rootfs around since I can modify it and then cpio it back up in a
    shutdown script for next boot.

    If I used initrd I'd also have to set up a usable filesystem. This way
    I can just have data in there.

    John




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

    \
     
     \ /
      Last update: 2005-03-22 13:59    [W:0.021 / U:122.172 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site