Hi All,

Is it necessary to install the utils "mount.aufs umount.aufs auplink
aulchown" for using aufs ?
Actually I'm making a union of a read-only /bin,/usr,/sbin & /lib with
corresponding /.bin-rw, /.usr-rw, /.sbin-rw and /.lib-rw at system
startup ( using /etc/fstab ).

none /bin aufs br:/.bin-rw:/bin=ro 0 0
and likewise...

So when the system shuts down, I get errors when the halt script tried
to unmount these mounts:

auplink: line 67: 'readlink' command not found
auplink: line 67: 'readlink' command not found
auplink: line 67: 'readlink' command not found

mount.aufs:line 63: 'readlink' commnd not found
mount.aufs:line 37: 'tr' command not found

Because /usr is unmounted before /bin ( according to the order in cat
/proc/mounts | sort -r ) !

Contents of /proc/mounts:
---------------------------------------
/dev/hda1 / ext3 rw,data=ordered 0 0
/dev/hda2 /.mount squashfs ro 0 0
/dev/hda2 /bin squashfs ro 0 0           # This is because I have done
mount --bind /.mount/bin /bin in the initrd !
/dev/hda2 /sbin squashfs ro 0 0
/dev/hda2 /lib squashfs ro 0 0
/dev/hda2 /usr squashfs ro 0 0
[...]
none /bin aufs rw,si=da3ec980,xino=/.bin-rw/.aufs.xino,br=:/.bin-rw=rw:/bin=ro
0 0
none /sbin aufs
rw,si=da3ec980,xino=/.sbin-rw/.aufs.xino,br=:/.sbin-rw=rw:/sbin=ro 0 0
none /lib aufs rw,si=da3ec980,xino=/.lib-rw/.aufs.xino,br=:/.lib-rw=rw:/lib=ro
0 0
none /usr aufs rw,si=da3ec980,xino=/.usr-rw/.aufs.xino,br=:/.usr-rw=rw:/usr=ro
0 0
---------------------------------------

I was wondering if I could just *not* use the aufs-utils and make
these errors go away, while shutting down.

Thanks,
Nitin

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com

Reply via email to