blob: 72bc6cce4d61063278a3d4ef7cedcac7c7756ec8 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
if [[ $# -lt 1 ]] ; then
echo -e "usage:\t$(basename $0) deviceToMount"
else
echo sudo mount -o gid=`id -g`,uid=`id -u` $1 /mnt/a/
sudo mount -o gid=`id -g`,uid=`id -u` $1 /mnt/a/
fi
|