Home Explore Blog CI



man-pages

33th chunk of `mount.man`
d71863d66a21a5bc55e3b7e17df8af9f6db003031e59b5cc0000000100000fa8
 the user must specify the type of
           ufs by mount option. Possible values are:

           old
               Old format of ufs, this is the default, read only. (Don’t forget
               to give the -r option.)

           44bsd
               For filesystems created by a BSD-like system (NetBSD, FreeBSD,
               OpenBSD).

           ufs2
               Used in FreeBSD 5.x supported as read-write.

           5xbsd
               Synonym for ufs2.

           sun
               For filesystems created by SunOS or Solaris on Sparc.

           sunx86
               For filesystems created by Solaris on x86.

           hp
               For filesystems created by HP-UX, read-only.

           nextstep
               For filesystems created by NeXTStep (on NeXT station) (currently
               read only).

           nextstep-cd
               For NextStep CDROMs (block_size == 2048), read-only.

           openstep
               For filesystems created by OpenStep (currently read only). The
               same filesystem type is also used by macOS.

       onerror=value
           Set behavior on error:

           panic
               If an error is encountered, cause a kernel panic.

           [lock|umount|repair]
               These mount options don’t do anything at present; when an error
               is encountered only a console message is printed.

   Mount options for umsdos
       See mount options for msdos. The dotsOK option is explicitly killed by
       umsdos.

   Mount options for vfat
       First of all, the mount options for fat are recognized. The dotsOK
       option is explicitly killed by vfat. Furthermore, there are

       uni_xlate
           Translate unhandled Unicode characters to special escaped sequences.
           This lets you backup and restore filenames that are created with any
           Unicode characters. Without this option, a '?' is used when no
           translation is possible. The escape character is ':' because it is
           otherwise invalid on the vfat filesystem. The escape sequence that
           gets used, where u is the Unicode character, is: ':', (u & 0x3f),
           ((u>>6) & 0x3f), (u>>12).

       posix
           Allow two files with names that only differ in case. This option is
           obsolete.

       nonumtail
           First try to make a short name without sequence number, before
           trying name~num.ext.

       utf8
           UTF8 is the filesystem safe 8-bit encoding of Unicode that is used
           by the console. It can be enabled for the filesystem with this
           option or disabled with utf8=0, utf8=no or utf8=false. If uni_xlate
           gets set, UTF8 gets disabled.

       shortname=mode
           Defines the behavior for creation and display of filenames which fit
           into 8.3 characters. If a long name for a file exists, it will
           always be the preferred one for display. There are four modes:

           lower
               Force the short name to lower case upon display; store a long
               name when the short name is not all upper case.

           win95
               Force the short name to upper case upon display; store a long
               name when the short name is not all upper case.

           winnt
               Display the short name as is; store a long name when the short
               name is not all lower case or all upper case.

           mixed
               Display the short name as is; store a long name when the short
               name is not all upper case. This mode is the default since Linux
               2.6.32.

   Mount options for usbfs
       devuid=uid and devgid=gid and devmode=mode
           Set the owner and group and mode of the device files in the usbfs
           filesystem (default: uid=gid=0, mode=0644). The mode is given in
           octal.

       busuid=uid and busgid=gid and busmode=mode
           Set the owner and group and mode

Title: UFS, UMSDOS, VFAT, and USBFS Mount Options
Summary
This section details the mount options for various file systems. For UFS, it specifies the possible values for the `ufstype` option to match the file system's origin. For UMSDOS, it notes that the dotsOK option is ignored. For VFAT, it covers options for Unicode translation, short name handling, and UTF-8 encoding. Finally, for USBFS, it describes options to set ownership, group, and mode for device files and buses within the file system.