/usr/bin/umountavfs is in avfs 1.0.1-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #!/bin/bash
# umountavfs -- program to unmount avfs file system
# and unload avfsd daemon.
# companion program to mountavfs
# will check to see if avfsd is mounted and then
# unmount using fusermount.
# last updated 2010-09-12
# suggested use: in a logout script or wm exit routine
if [ -d "$AVFSBASE" ]; then
MntDir="$AVFSBASE"
else
MntDir="${HOME}/.avfs"
fi
grep -qE "${MntDir}.*avfsd" /proc/mounts && {
echo unMounting AVFS on $MntDir...
if type -p fusermount > /dev/null 2>&1 ; then
fusermount -u -z "$MntDir"
else
umount -l "$MntDir"
fi
}
# Remove directory again
rmdir ${MntDir}
|