[Grml] aufs mount

T o n g mlist4suntong at yahoo.com
Sat Oct 4 23:55:54 CEST 2008


Hi, 

I found my aufs mount behaves not as expected. 

According to the example from manpage, aufs mount behaves like this:
 
       # mount -v -t aufs br:/day0:/base none /u
       none on /u type aufs (rw,xino=/day0/.aufs.xino,br:/day0=rw:/
base=ro)
       # mount -v -o remount,\
            prepend:/day1,\
            xino=/day1/xino,\
            mod:/day0=ro,\
            del:/day0 \
            /u
       none on /u type aufs (rw,xino=/day1/xino,br:/day1=rw:/base=ro)

But mine like this:

$ mount -v -t aufs -o br:/day0:/base none /u
none on /u type aufs (rw,br:/day0:/base)

$ mount -v -o remount,prepend:/day1,mod:/day0=ro,del:/day0 /u
none on /u type aufs (rw,br:/day0:/base,prepend:/day1,mod:/day0=ro,del:/
day0)

See, /day0 show up 3 times in mtab. But according to the manpage, it 
should be removed from aufs mount table. 

Anybody knows why (and fix)? 

PS. My kernel and aufs are all 2.6.23 

$ dpkg -l | grep 2.6.23
ii  aufs-modules-2 0+20071211-1+g aufs modules for Linux (kernel 2.6.23-grml).
ii  kqemu-modules- 1.3.0~pre11-7+ kqemu modules for Linux (kernel 2.6.23-grml)
ii  linux-image-2. grml.06        Linux kernel binary image for version 2.6.23

$ uname -rm
2.6.23-grml i686

thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/



More information about the Grml mailing list