Filesystem in F11 builds

Esteban Bordon ebordon at
Fri Jul 16 15:23:33 EDT 2010

This problem and my implementation are independient. If I make a build
without the dracut modulethe filesystem is the same.

My idea is remount /home partition from nand to sd card. During pre-pivot
stage is the best option to do that, because /home partition is already
mounted but root system is not switched yet.

The script is something like this:

writable_start || die

mkdir -p $NEWHOME
if [ -b $SD_CARD ]; then
    mount $SD_CARD $NEWHOME
    umount $NEWROOT/home || die
    mount --bind "$NEWHOME/home" "$NEWROOT/home" || die
    echo "user home is mounted in $SD_CARD"
    umount $NEWHOME

writable_done || die

2010/7/16 Jon Nettleton <jon.nettleton at>

> On Fri, Jul 16, 2010 at 11:29 AM, Esteban Bordon
> <ebordon at> wrote:
> > Hi all!
> > I'm working on F11-XO1 build to Uruguay and I made a dracut module that
> it
> > mount user's home in the sd card. I'm using olpc-os-builder-1.1.0 and
> > resultant image filesystem haven't got the structure specified
> > in
> > If I look /proc/mounts the partition /home /versions and /security
> doesn't
> > exists.
> > This can be for some error in the process?
> If dracut is mounting the the /home partition then it is being mounted
> before / is mounted RW and thus won't be entered in /etc/mtab by
> rc.sysinit.  There is code in rc.sysinit that once the root filesystem
> is mounted rw /etc/mtab is updated with the mount information for it
> and the other usual filesystems that have been mounted for the initial
> boot process, ( /proc, /sys /dev/pts /dev/shm /proc/bus/usb )
> Is there a particular reason you want /home mounted before the system
> initialization and filesystem check is done?
> Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list