Re: Mount return values are wrong in the new aufs mount location

2011-12-13 Thread Michael S. Zick
On Tue December 13 2011, sf...@users.sourceforge.net wrote: Vasanth Ragavendran: Oh then i was wrong in assuming that the old values shouldn't be displayed after doing a switch_root! :( i'm so sorry. however if i do a df -h in the I hope you would understand that your /proc/mounts never

Re: Mount return values are wrong in the new aufs mount location

2011-12-13 Thread sfjro
Vasanth Ragavendran: / # ls -ld /tmp/ /tmp/jffs2 /tmp/sqfsh ls: /tmp/jffs2: No such file or directory ls: /tmp/sqfsh: No such file or directory drwxr-xr-x3 root root0 Jan 1 00:00 /tmp/ What will happen if you mount -o move them? the version of aufs is aufs2.1 since

Re: Mount return values are wrong in the new aufs mount location

2011-12-13 Thread sfjro
Vasanth Ragavendran: u mean in the aufs filesystem do a mount -o move? but the folder jffs2 and sqfsh doesn't exist. right? You already have at least one mount -o move in your script, right? I mean moving jffs2 and sqfsh too before switch_root. Do you mean the last aufs2.1-31? Don't you

Re: Mount return values are wrong in the new aufs mount location

2011-12-13 Thread sfjro
Vasanth Ragavendran: I don't set the brs as I don't have the CONFIG_AUFS_SYSAUFS paramater. Where did you see CONFIG_AUFS_SYSAUFS? If I remember correctly, it was gone before aufs2.0 (ie. aufs1). If your fs/aufs/Kconfig contains such symbols, I'd strongly recommend you to check your aufs source