Hello Vasanth,

Vasanth Ragavendran:
> system. however doing a mount under this new aufs filesystem still contains
> the old mount values.
>
> rootfs on / type rootfs (rw)
> tmpfs on /tmp type tmpfs (rw,relatime)
> /dev/mtdblock2 on /tmp/jffs2 type jffs2 (rw,relatime)
> /dev/loop0 on /tmp/sqfsh type squashfs (ro,relatime)
> aufs on / type aufs (rw,relatime,si=c50e412a,br:/tmp/rw=rw:/tmp/sqfsh=rr)
> /proc on /proc type proc (rw,relatime)
> devpts on /dev/pts type devpts (rw,relatime,mode=622)
> none on /tmp type ramfs (rw,relatime)

Do you mean the output from mount(8) command?
And /proc/mounts shows what you expect?
If so,
- mount(8) shows the contents of a file, /etc/mtab.
- every mount/umount operation should maintain /etc/mtab.
- for aufs, /sbin/mount.aufs maintains /etc/mtab.

I am afraid you didn't install aufs-util (or aufs2-util).


> the last three are those pertaining to the new aufs root filesystem. how do
> i get rid of the first five mount locations? coz if i do a "df -h" in the
> new aufs filesystem it says /tmp/rw and /tmp/sqfsh doesn't exist which is
> true as these were present during initramfs execution. Kindly help me.
> Awaiting for any pointers at least to rectify this.

You can modify /etc/mtab manually, and mount(8) will follow it.
But, generally speaking, it is better to let the commands handle
/etc/mtab.
It means install aufs-util (or aufs2-util) is recommended.

And, before you run switch_root, it might be better to "mount -o move"
the aufs branches.


J. R. Okajima

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure

Reply via email to