summaryrefslogtreecommitdiff
path: root/src/bin/mount-b
blob: 91108f147e199920e0fce564ea30d33c5da530b6 (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/b/
	sudo mount  -o gid=`id -g`,uid=`id -u`  $1  /mnt/b/
fi