Source

utils / mountkindle

#!/bin/sh
#
# author:    Xu Xiaodong <xxdlhy@gmail.com>
# modified:  2011 Nov 05
#

DEV=$1
DIR=/mnt/kindle

if [ ! -d $DIR ]; then
  mkdir -p $DIR
fi

mount -t vfat /dev/$DEV $DIR -o uid=1000,gid=100,utf8,dmask=027,fmask=137