Package: mount
Version: 2.12p-3
Severity: wishlist
It seems there is no test available to see if a mount is already
mounted. One must do
d=/mnt/extra12/wwwoffle-namazu
test -d $d||mount $(dirname $d)
Or
mount /mnt/extra12 2>/dev/null||test $? -eq 32 #...
Maybe the solution would be a "mkdir -p" like OK-if-already exists option?
set -e
d=/mnt/extra12/wwwoffle-namazu
mount --no-error-if-existing $(dirname $d)
cd $d ...
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]