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