File: dr_mount

package info (click to toggle)
draai 20100511-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 496 kB
  • ctags: 16
  • sloc: sh: 741; perl: 221; makefile: 33
file content (14 lines) | stat: -rwxr-xr-x 306 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

# This file is maintained at http://git.mdcc.cx/draai
# Copyright: © 2008 Joost van Baal. This program is in the public domain.

# usage: 
#  dr_mount
#  dr_mount /dev/sda1

dev=${1:-/dev/sdb1}

sudo mount -o uid=$USER,iocharset=utf8,fmask=133,dmask=022,check=relaxed \
 $dev $HOME/media/usb