Update README.
This commit is contained in:
parent
bf899bcbd5
commit
c08900fb22
111
README
111
README
|
|
@ -240,18 +240,19 @@ Added the --help page.
|
|||
Removed some small bugs.
|
||||
Added more options to configure features.
|
||||
|
||||
|
||||
|
||||
% automount --help
|
||||
% /usr/local/sbin/automount --help
|
||||
AUTOMOUNT is a devd(8) based automounter for FreeBSD.
|
||||
|
||||
It supports following file systems:
|
||||
UFS/FAT/exFAT/NTFS/EXT2/EXT3/EXT4
|
||||
UFS/FAT/exFAT/NTFS/EXT2/EXT3/EXT4/MTP/HFS/ISO9660
|
||||
|
||||
It needs these ports to mount NTFS/exFAT/EXT4 respectively:
|
||||
Add these to mount NTFS/exFAT/EXT4/HFS/XFS/MTP respectively:
|
||||
o sysutils/fusefs-ntfs
|
||||
o sysutils/fusefs-exfat
|
||||
o sysutils/fusefs-ext4fuse
|
||||
o sysutils/fusefs-hfsfuse
|
||||
o sysutils/fusefs-lkl
|
||||
o sysutils/fusefs-simple-mtpfs
|
||||
|
||||
By default it mounts/unmounts all removable media but
|
||||
it is possible to set some additional options at the
|
||||
|
|
@ -259,26 +260,86 @@ it is possible to set some additional options at the
|
|||
|
||||
Below is a list of possible options with description.
|
||||
|
||||
MNTPREFIX (set to /media by default)
|
||||
MNT_PREFIX (set to /media by default)
|
||||
With this options You can alter the default root
|
||||
for mounting the removable media, for example to
|
||||
the /mnt directory.
|
||||
|
||||
example: MNTPREFIX="/media"
|
||||
example: MNT_PREFIX='/media'
|
||||
|
||||
ENCODING (set to en_US.ISO8859-1 by default)
|
||||
MNT_GROUP (wheel by default)
|
||||
If set to some group name, the mount command will
|
||||
chown(1) the mount directory with the group.
|
||||
|
||||
example: group='operator'
|
||||
|
||||
MNT_MODE (set to 775 by default)
|
||||
Value for chmod on mount point.
|
||||
|
||||
FAT_ENCODING (set to en_US.UTF-8 by default)
|
||||
Only used with FAT32 mounts, specifies which
|
||||
encoding to use at the mount.
|
||||
|
||||
example: ENCODING="pl_PL.ISO8859-2"
|
||||
example: FAT_ENCODING='en_US.ISO8859-1'
|
||||
|
||||
CODEPAGE (set to cp437 by default)
|
||||
FAT_CODEPAGE (set to CP866 by default)
|
||||
Only used with FAT32 mounts, specifies which
|
||||
code page to use at the mount.
|
||||
|
||||
example: CODEPAGE="cp852"
|
||||
example: FAT_CODEPAGE='cp437'
|
||||
|
||||
USER (unset by default)
|
||||
ISO9660_CODEPAGE (set to UTF-8 by default)
|
||||
Only used with cd9660 mounts, specifies which
|
||||
code page to use at the mount.
|
||||
|
||||
ATIME (set to NO by default)
|
||||
When set to NO it will mount filesystems with
|
||||
noatime option when possible.
|
||||
|
||||
example: ATIME='YES'
|
||||
|
||||
RETRY_COUNT (set to 3 by default)
|
||||
How many times try to get file system type or try to mount.
|
||||
|
||||
example: RETRY_COUNT='1'
|
||||
|
||||
RETRY_DELAY (set to 1 second by default)
|
||||
Delay beetwin retry attempt.
|
||||
|
||||
example: RETRY_DELAY='2.5'
|
||||
|
||||
USERUMOUNT (set to NO by default)
|
||||
When set to YES it will 'chmod +s /sbin/umount'
|
||||
which would allow an USER to unmount the file
|
||||
system with their selected file manager.
|
||||
|
||||
example: USERUMOUNT='YES'
|
||||
|
||||
NOTIFY (set to NO by default)
|
||||
Use 'notify-send' and 'libnotify' to show notifications
|
||||
of mounting and unmounting devices on the desktop.
|
||||
|
||||
example: NOTIFY='YES'
|
||||
|
||||
WALL (set to NO by default)
|
||||
Use wall(1) to show notifications of mounting and
|
||||
unmounting devices on terminals of logged in users.
|
||||
|
||||
example: WALL='YES'
|
||||
|
||||
FM ('exo-open --launch FileManager' by default)
|
||||
If set to file manager command, the mount will
|
||||
launch the specified command after successful
|
||||
mount. Works only if USER parameter is also set.
|
||||
|
||||
example: FM='nautilus --browser --no-desktop'
|
||||
|
||||
BLACKLIST (unset by default)
|
||||
The automount will ignore devices defined here.
|
||||
|
||||
example: BLACKLIST='da0 da3s1a'
|
||||
|
||||
USER (root by default)
|
||||
If set to some username, the mount command will
|
||||
chown(1) the mount directory with the user and
|
||||
its primary user group. If used with FM option
|
||||
|
|
@ -287,32 +348,6 @@ USER (unset by default)
|
|||
|
||||
example: USER="vermaden"
|
||||
|
||||
FM (unset by default)
|
||||
If set to file manager command, the mount will
|
||||
launch the specified command after successful
|
||||
mount. Works only if USER parameter is also set.
|
||||
|
||||
example: FM="nautilus --browser --no-desktop"
|
||||
|
||||
USERUMOUNT (set to NO by default)
|
||||
When set to YES it will 'chmod +s /sbin/umount'
|
||||
which would allow an USER to unmount the file
|
||||
system with their selected file manager.
|
||||
|
||||
example: USERUMOUNT="YES"
|
||||
|
||||
ATIME (set to YES by default)
|
||||
When set to NO it will mount filesystems with
|
||||
noatime options when possible.
|
||||
|
||||
example: ATIME="NO"
|
||||
|
||||
REMOVEDIRS (set to NO by default)
|
||||
When set to YES it will remove empty directories
|
||||
under the used after device detach.
|
||||
|
||||
example: REMOVEDIRS="YES"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
VERSION 1.2
|
||||
|
|
|
|||
Loading…
Reference in New Issue