#! /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