Home Explore Blog CI



man-pages

21th chunk of `mount.man`
dab42ff5cefedb6ff9b7d65f10ae22df9a430aee350dc7f40000000100000fab
      blocksize={512|1024|2048}
           Set blocksize (default 512). This option is obsolete.

       uid=value and gid=value
           Set the owner and group of all files. (Default: the UID and GID of
           the current process.)

       umask=value
           Set the umask (the bitmask of the permissions that are not present).
           The default is the umask of the current process. The value is given
           in octal.

       dmask=value
           Set the umask applied to directories only. The default is the umask
           of the current process. The value is given in octal.

       fmask=value
           Set the umask applied to regular files only. The default is the
           umask of the current process. The value is given in octal.

       allow_utime=value
           This option controls the permission check of mtime/atime.

           20
               If current process is in group of file’s group ID, you can
               change timestamp.

           2
               Other users can change timestamp.

       The default is set from 'dmask' option. (If the directory is writable,
       utime(2) is also allowed. I.e. ~dmask & 022)

       Normally utime(2) checks that the current process is owner of the file,
       or that it has the CAP_FOWNER capability. But FAT filesystems don’t have
       UID/GID on disk, so the normal check is too inflexible. With this option
       you can relax it.

       check=value
           Three different levels of pickiness can be chosen:

           r[elaxed]
               Upper and lower case are accepted and equivalent, long name
               parts are truncated (e.g. verylongname.foobar becomes
               verylong.foo), leading and embedded spaces are accepted in each
               name part (name and extension).

           n[ormal]
               Like "relaxed", but many special characters (*, ?, <, spaces,
               etc.) are rejected. This is the default.

           s[trict]
               Like "normal", but names that contain long parts or special
               characters that are sometimes used on Linux but are not accepted
               by MS-DOS (+, =, etc.) are rejected.

       codepage=value
           Sets the codepage for converting to shortname characters on FAT and
           VFAT filesystems. By default, codepage 437 is used.

       conv=mode
           This option is obsolete and may fail or be ignored.

       cvf_format=module
           Forces the driver to use the CVF (Compressed Volume File) module
           cvf_module instead of auto-detection. If the kernel supports kmod,
           the cvf_format=xxx option also controls on-demand CVF module
           loading. This option is obsolete.

       cvf_option=option
           Option passed to the CVF module. This option is obsolete.

       debug
           Turn on the debug flag. A version string and a list of filesystem
           parameters will be printed (these data are also printed if the
           parameters appear to be inconsistent).

       discard
           If set, causes discard/TRIM commands to be issued to the block
           device when blocks are freed. This is useful for SSD devices and
           sparse/thinly-provisioned LUNs.

       dos1xfloppy
           If set, use a fallback default BIOS Parameter Block configuration,
           determined by backing device size. These static parameters match
           defaults assumed by DOS 1.x for 160 kiB, 180 kiB, 320 kiB, and 360
           kiB floppies and floppy images.

       errors={panic|continue|remount-ro}
           Specify FAT behavior on critical errors: panic, continue without
           doing anything, or remount the partition in read-only mode (default
           behavior).

       fat={12|16|32}
           Specify a 12, 16 or 32 bit fat. This overrides the automatic FAT
           type detection routine. Use with caution!

       iocharset=value
           Character set to use for converting between

Title: FAT Filesystem Mount Options (Continued)
Summary
This section describes further mount options for FAT filesystems, including settings for block size, file ownership and permissions (via `uid`, `gid`, `umask`, `dmask`, `fmask`), timestamp modification permissions (`allow_utime`), filename validation (`check`), codepage selection (`codepage`), CVF module handling (`cvf_format`, `cvf_option`), debugging (`debug`), discard behavior (`discard`), fallback BIOS Parameter Block configuration (`dos1xfloppy`), error handling (`errors`), FAT type specification (`fat`), and character set for filename conversion (`iocharset`).