| 192 |
- |
1 |
# This file contains custom mount options for udisks 2.x
|
|
|
2 |
# Typically placed at /etc/udisks2/mount_options.conf
|
|
|
3 |
# Refer to http://storaged.org/doc/udisks2-api/latest/mount_options.html
|
|
|
4 |
#
|
|
|
5 |
|
|
|
6 |
### Simple global overrides
|
|
|
7 |
# [defaults]
|
|
|
8 |
# # common options, applied to any filesystem, always merged with specific filesystem type options
|
|
|
9 |
# defaults=ro
|
|
|
10 |
# allow=exec,noexec,nodev,nosuid,atime,noatime,nodiratime,ro,rw,sync,dirsync,noload
|
|
|
11 |
|
|
|
12 |
### Specific filesystem type options
|
|
|
13 |
# vfat_defaults=uid=$UID,gid=$GID,shortname=mixed,utf8=1,showexec,flush
|
|
|
14 |
# vfat_allow=uid=$UID,gid=$GID,flush,utf8,shortname,umask,dmask,fmask,codepage,iocharset,usefree,showexec
|
|
|
15 |
# ntfs_defaults=uid=$UID,gid=$GID,windows_names
|
|
|
16 |
# ntfs_allow=uid=$UID,gid=$GID,umask,dmask,fmask,locale,norecover,ignore_case,windows_names,compression,nocompression,big_writes
|
|
|
17 |
|
|
|
18 |
### Matching single block device by its UUID
|
|
|
19 |
# [/dev/disk/by-uuid/18afd8f0-0d86-4d96-8de0-5f92d2ee9800]
|
|
|
20 |
# vfat_defaults=uid=$UID,gid=$GID,noexec
|
|
|
21 |
#
|
|
|
22 |
# [/dev/disk/by-label/EFI]
|
|
|
23 |
# vfat_defaults=uid=$UID,gid=$GID,noexec,umask=111,dmask=000
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
### For the reference, these are the builtin mount options:
|
|
|
27 |
# [defaults]
|
|
|
28 |
# allow=exec,noexec,nodev,nosuid,atime,noatime,nodiratime,ro,rw,sync,dirsync,noload
|
|
|
29 |
#
|
|
|
30 |
# vfat_defaults=uid=$UID,gid=$GID,shortname=mixed,utf8=1,showexec,flush
|
|
|
31 |
# vfat_allow=uid=$UID,gid=$GID,flush,utf8,shortname,umask,dmask,fmask,codepage,iocharset,usefree,showexec
|
|
|
32 |
#
|
|
|
33 |
# # common options for both the native kernel driver and exfat-fuse
|
|
|
34 |
# exfat_defaults=uid=$UID,gid=$GID,iocharset=utf8,errors=remount-ro
|
|
|
35 |
# exfat_allow=uid=$UID,gid=$GID,dmask,errors,fmask,iocharset,namecase,umask
|
|
|
36 |
#
|
|
|
37 |
# ntfs_defaults=uid=$UID,gid=$GID,windows_names
|
|
|
38 |
# ntfs_allow=uid=$UID,gid=$GID,umask,dmask,fmask,locale,norecover,ignore_case,windows_names,compression,nocompression,big_writes
|
|
|
39 |
#
|
|
|
40 |
# iso9660_defaults=uid=$UID,gid=$GID,iocharset=utf8,mode=0400,dmode=0500
|
|
|
41 |
# iso9660_allow=uid=$UID,gid=$GID,norock,nojoliet,iocharset,mode,dmode
|
|
|
42 |
#
|
|
|
43 |
# udf_defaults=uid=$UID,gid=$GID,iocharset=utf8
|
|
|
44 |
# udf_allow=uid=$UID,gid=$GID,iocharset,utf8,umask,mode,dmode,unhide,undelete
|
|
|
45 |
#
|
|
|
46 |
# hfsplus_defaults=uid=$UID,gid=$GID,nls=utf8
|
|
|
47 |
# hfsplus_allow=uid=$UID,gid=$GID,creator,type,umask,session,part,decompose,nodecompose,force,nls
|
|
|
48 |
#
|
|
|
49 |
# btrfs_allow=compress,compress-force,datacow,nodatacow,datasum,nodatasum,degraded,device,discard,nodiscard,subvol,subvolid,space_cache
|
|
|
50 |
#
|
|
|
51 |
# f2fs_allow=discard,nodiscard,compress_algorithm,compress_log_size,compress_extension,alloc_mode
|