Displays all the information contained in '/sys/fs/aufs/si_*/'.
If a branch directory is a mount point, it shows what is mounted there instead of the directory name.
A shell script that has no parameters.
Code: Select all
# showaufs
br0 rw /initrd/mnt/dev_save/puppy/squeeze/squeezesave
br1 ro /initrd/mnt/dev_save/puppy/squeeze/puppy_squeeze_5.X.3.4.12.sfs
br2 ro /initrd/mnt/dev_save/jre-1.7u45-i586.sfs
br3 ro /initrd/mnt/dev_save/puppy/squeeze/devx_squeeze_5.X.3.4.12.sfs
xi_path /tmp/.aufs.xino
#
Lists the directories that are branches in the aufs stack, in the order they occur in the aufs stack.
It can be used by other scripts that need to process the directories in the current aufs stack.
A shell script that takes a single optional parameter which is the branch number to start with, '0' is the same as no parameter.
Code: Select all
# lsaufs
/initrd/mnt/dev_save/puppy/squeeze/squeezesave
/initrd/pup_ro2
/initrd/pup_ro4
/initrd/pup_ro5
#
Code: Select all
# lsaufs 2
/initrd/pup_ro4
/initrd/pup_ro5
#
gyro