Home Explore Blog CI



man-pages

22th chunk of `mount.man`
4fc4ebeb6e888d3e0038817f7ff568444510d0522534d7420000000100000fa2
       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 8 bit characters and 16
           bit Unicode characters. The default is iso8859-1. Long filenames are
           stored on disk in Unicode format.

       nfs={stale_rw|nostale_ro}
           Enable this only if you want to export the FAT filesystem over NFS.

           stale_rw: This option maintains an index (cache) of directory inodes
           which is used by the nfs-related code to improve look-ups. Full file
           operations (read/write) over NFS are supported but with cache
           eviction at NFS server, this could result in spurious ESTALE errors.

           nostale_ro: This option bases the inode number and file handle on
           the on-disk location of a file in the FAT directory entry. This
           ensures that ESTALE will not be returned after a file is evicted
           from the inode cache. However, it means that operations such as
           rename, create and unlink could cause file handles that previously
           pointed at one file to point at a different file, potentially
           causing data corruption. For this reason, this option also mounts
           the filesystem readonly.

           To maintain backward compatibility, -o nfs is also accepted,
           defaulting to stale_rw.

       tz=UTC
           This option disables the conversion of timestamps between local time
           (as used by Windows on FAT) and UTC (which Linux uses internally).
           This is particularly useful when mounting devices (like digital
           cameras) that are set to UTC in order to avoid the pitfalls of local
           time.

       time_offset=minutes
           Set offset for conversion of timestamps from local time used by FAT
           to UTC. I.e., minutes will be subtracted from each timestamp to
           convert it to UTC used internally by Linux. This is useful when the
           time zone set in the kernel via settimeofday(2) is not the time zone
           used by the filesystem. Note that this option still does not provide
           correct time stamps in all cases in presence of DST - time stamps in
           a different DST setting will be off by one hour.

       quiet
           Turn on the quiet flag. Attempts to chown or chmod files do not
           return errors, although they fail. Use with caution!

       rodir
           FAT has the ATTR_RO (read-only) attribute. On Windows, the ATTR_RO
           of the directory will just be ignored, and is used only by
           applications as a flag (e.g. it’s set for the customized folder).

           If you want to use ATTR_RO as read-only flag even for the directory,
           set this option.

       showexec
           If set, the execute permission bits of the file will be allowed only
           if the extension part of the name is .EXE, .COM, or .BAT. Not set by
           default.

       sys_immutable
           If set, ATTR_SYS attribute on FAT is handled as IMMUTABLE flag on
           Linux. Not set by default.

     

Title: FAT Filesystem Mount Options (Continued)
Summary
This section describes further mount options for FAT filesystems, including settings for character set (`iocharset`), NFS export behavior (`nfs`), timestamp handling (`tz`, `time_offset`), quiet operation (`quiet`), read-only directory attribute handling (`rodir`), execute permission control (`showexec`), and handling of the system attribute (`sys_immutable`).