Hi,

> > > What I want to make sure is your first writable branch /etfw_changes is
u> > > NOT overlapped.
>
> Will you check your /etfw_changes by df(1) or statfs(2), before and
> after pivot_root and mount aufs? and acfter chroot.
>
> > I did a man pivot_root and follow the example.
> > http://www.die.net/doc/linux/man/man8/pivot_root.8.html
>
> are they really necessary?
> will you try pivot_root and exit simply?

I changed pivot_root+chroot to nash switch_root and the problem continues.

The new /proc/mounts is:

[EMAIL PROTECTED](~)# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 ro,data=ordered 0 0
/proc /proc proc rw 0 0
none /mnt/router tmpfs rw 0 0
/dev/hdc /mnt/router/cdrom iso9660 ro 0 0
/dev/loop0 /mnt/router/etfw ext3 ro,data=ordered 0 0
/dev/loop1 /mnt/router/cdrom/tmpdir/1 cramfs ro 0 0
/dev/loop2 /mnt/router/cdrom/tmpdir/2 cramfs ro 0 0
/dev/loop3 /mnt/router/cdrom/tmpdir/3 cramfs ro 0 0
/dev/loop4 /mnt/router/cdrom/tmpdir/4 cramfs ro 0 0
/dev/loop5 /mnt/router/cdrom/tmpdir/5 cramfs ro 0 0
/dev/loop6 /mnt/router/cdrom/tmpdir/6 iso9660 ro 0 0
/dev/loop7 /mnt/router/cdrom/tmpdir/7 cramfs ro 0 0
/dev/loop8 /mnt/router/cdrom/tmpdir/8 cramfs ro 0 0
/dev/loop9 /mnt/router/cdrom/tmpdir/9 cramfs ro 0 0
/dev/loop10 /mnt/router/cdrom/tmpdir/10 cramfs ro 0 0
/dev/loop11 /mnt/router/cdrom/tmpdir/11 cramfs ro 0 0
/dev/loop12 /mnt/router/cdrom/tmpdir/12 cramfs ro 0 0
/dev/loop13 /mnt/router/cdrom/tmpdir/13 cramfs ro 0 0
/dev/loop14 /mnt/router/cdrom/tmpdir/14 cramfs ro 0 0
/dev/loop15 /mnt/router/cdrom/tmpdir/15 cramfs ro 0 0
none / aufs 
rw,xino=/mnt/router/etfw_changes/.aufs.xino,br:/mnt/router/etfw_changes=rw:/mnt/router/cdrom/confs=ro:/mnt/router/cdrom/tmpdir/15=ro:/mnt/router/cdrom/tmpdir/14=ro:/mnt/router/cdrom/tmpdir/13=ro:/mnt/router/cdrom/tmpdir/12=ro:/mnt/router/cdrom/tmpdir/11=ro:/mnt/router/cdrom/tmpdir/10=ro:/mnt/router/cdrom/tmpdir/9=ro:/mnt/router/cdrom/tmpdir/8=ro:/mnt/router/cdrom/tmpdir/7=ro:/mnt/router/cdrom/tmpdir/6=ro:/mnt/router/cdrom/tmpdir/5=ro:/mnt/router/cdrom/tmpdir/4=ro:/mnt/router/cdrom/tmpdir/3=ro:/mnt/router/cdrom/tmpdir/2=ro:/mnt/router/cdrom/tmpdir/1=ro:/mnt/router/etfw=ro
 
0 0
none /.etfw_changes tmpfs rw 0 0
none /selinux selinuxfs rw 0 0
/proc /proc proc rw 0 0
/proc/bus/usb /proc/bus/usb usbfs rw 0 0
/sys /sys sysfs rw 0 0
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0

> > For information: unionfs doesn't have this bug.
>
> Then, I recommend you to use unionfs, until this problem is gone.

There are two problems in unionfs :) :

The version of unionfs full operational without bugs is the version 1.x and 
this version only work until kernel 2.6.18.
The version of unionfs 2.x don't have all features that I need and worst, with 
2.6.20 when I run wvdial I have a kernel crash.

> > PS: In attach the patch for last aufs cvs version against kernel 2.6.20*
>
> What do you want to say?
> If you have modified by yourself, please point it out.

No, it's only a patch that simplify the task to builtin aufs 20070219 in 
kernel.

Regards,
Fernando Gomes

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Reply via email to