#!/bin/sh # # this file normally resides in /usr/local/bin # # greetz, # harry DIR=$1 if [ -d "${DIR}" ] then for i in `ls -1 /proc/virtual | egrep -v 'info|status'`; do vnamespace -e $i umount ${DIR}; done umount ${DIR}; exit 0; else echo "Usage: $0