Greetings

I am new to using aufs.  My setup has these:-
CPU -intel32bit
Kernel Linux-2.6.37 (aufs2-)
I have a  the usual linux FHS  root filesystem but with these /varOLD (with 
stuff) /var and /varNU

The end of my /etc/fstab looks like this:-
proc           /proc        proc   defaults         0     0
sysfs          /sys         sysfs  defaults         0     0
devpts         /dev/pts     devpts gid=4,mode=620   0     0
shm            /dev/shm     tmpfs  defaults         0     0


I am trying to mount the rootfilesystem readonly then  make  a branch between 
/varOLD(ro) and /var(rw)   so that  daemons and log files needing write access 
will   function. After  the root filesystem is mounted and fstab is traversed 
I tried mounting  with this:-

mount -t aufs -o br:/var=rw:/varOLD=ro none /varNU

it reported bad fstype on none
I then tried
mount -t aufs -o br:/var=rw:/varOLD=ro aufs /varNU
and it reported bad fstype on aufs

I teid mounting from /etc/fstab with this:-

aufs /var    aufs br:/var=rw:/varOLD=ro   0  0
AND then
none /var    aufs rw,br:/varNU=rw:/varOLD=ro 0  0

 these failed also.  But they   SUCCEEDED  however when the rootfilesystem is 
remounted read-write ! In otherwords I dont seem to be able to use aufs2   
when the rootfilesystem is mounted read-only and /etc/fstab   seems to be 
ignored.

Advice would be appreciated.

Yours sincerely

sibuXolo.

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 

Reply via email to