32 lines
1.3 KiB
Text
Executable file
32 lines
1.3 KiB
Text
Executable file
# Configuration file for automount package
|
|
#
|
|
#
|
|
# Luen-Yung Lin
|
|
# June 10 2009
|
|
#
|
|
|
|
# automount.sh will create the mountpoint under this directory.
|
|
# The mountpoint will be created and named as the device name,
|
|
# such as sda1, sda2, ..., and so on
|
|
MNTDIR="/tmp/mnt/usb"
|
|
|
|
# automount.sh will bind the original mounted directory under $MNTDIR to a
|
|
# sub-directory under $USBDIR directory after a storage is actually mounted.
|
|
# The name is depended on the device vender, model, and serial name.
|
|
# Services using the USB external storage device should access device the
|
|
# via the directories under this $USBDIR directory.
|
|
USBDIR="/tmp/mnt/dev"
|
|
|
|
# Global mount options
|
|
# FIXME: External storage should be mounted as "sync", but performance is poor absolutely.
|
|
# MNTOPTION="sync"
|
|
MNTOPTION="rw"
|
|
|
|
# The support filesystem and the mounting option specified to this filesystem. We will
|
|
# try to mount each filesystem in this list until the one is mounted successfully.
|
|
#
|
|
# Format : $TYPE:$OPTIONS; $TYPE:OPTIONS; ...; $TYPE:$OPTIONS
|
|
#
|
|
# FIXME: If we can detect the filesystem type for a storage,
|
|
# the antomount.sh can work more efficiently.
|
|
FS_MNTOPTION="vfat:uid=99,gid=99,umask=000,fmask=000,dmask=000,iocharset=utf8,shortname=mixed; ntfs-3g:uid=99,gid=99,umask=000,fmask=000,dmask=000; ext2:; ext3:;"
|