Home Explore Blog CI



man-pages

31th chunk of `mount.man`
e3457cba6ec210f20992c781c8c26d22c49abcdf7562226f0000000100000fa4
 to use,
           at some performance penalty. If your disks are battery-backed in one
           way or another, disabling barriers may safely improve performance.

   Mount options for ubifs
       UBIFS is a flash filesystem which works on top of UBI volumes. Note that
       atime is not supported and is always turned off.

       The device name may be specified as

          ubiX_Y
              UBI device number X, volume number Y

          ubiY
              UBI device number 0, volume number Y

          ubiX:NAME
              UBI device number X, volume with name NAME

          ubi:NAME
              UBI device number 0, volume with name NAME

       Alternative ! separator may be used instead of :.

       The following mount options are available:

       bulk_read
           Enable bulk-read. VFS read-ahead is disabled because it slows down
           the filesystem. Bulk-Read is an internal optimization. Some flashes
           may read faster if the data are read at one go, rather than at
           several read requests. For example, OneNAND can do "read-while-load"
           if it reads more than one NAND page.

       no_bulk_read
           Do not bulk-read. This is the default.

       chk_data_crc
           Check data CRC-32 checksums. This is the default.

       no_chk_data_crc
           Do not check data CRC-32 checksums. With this option, the filesystem
           does not check CRC-32 checksum for data, but it does check it for
           the internal indexing information. This option only affects reading,
           not writing. CRC-32 is always calculated when writing the data.

       compr={none|lzo|zlib}
           Select the default compressor which is used when new files are
           written. It is still possible to read compressed files if mounted
           with the none option.

   Mount options for udf
       UDF is the "Universal Disk Format" filesystem defined by OSTA, the
       Optical Storage Technology Association, and is often used for DVD-ROM,
       frequently in the form of a hybrid UDF/ISO-9660 filesystem. It is,
       however, perfectly usable by itself on disk drives, flash drives and
       other block devices. See also iso9660.

       uid=
           Make all files in the filesystem belong to the given user.
           uid=forget can be specified independently of (or usually in addition
           to) uid=<user> and results in UDF not storing uids to the media. In
           fact the recorded uid is the 32-bit overflow uid -1 as defined by
           the UDF standard. The value is given as either <user> which is a
           valid user name or the corresponding decimal user id, or the special
           string "forget".

       gid=
           Make all files in the filesystem belong to the given group.
           gid=forget can be specified independently of (or usually in addition
           to) gid=<group> and results in UDF not storing gids to the media. In
           fact the recorded gid is the 32-bit overflow gid -1 as defined by
           the UDF standard. The value is given as either <group> which is a
           valid group name or the corresponding decimal group id, or the
           special string "forget".

       umask=
           Mask out the given permissions from all inodes read from the
           filesystem. The value is given in octal.

       mode=
           If mode= is set the permissions of all non-directory inodes read
           from the filesystem will be set to the given mode. The value is
           given in octal.

       dmode=
           If dmode= is set the permissions of all directory inodes read from
           the filesystem will be set to the given dmode. The value is given in
           octal.

       bs=
           Set the block size. Default value prior to kernel version 2.6.30 was
           2048. Since 2.6.30 and prior to 4.11 it was logical device block
           size with fallback to 2048. Since 4.11 it is logical block size

Title: Continued UBIFS Mount Options: Bulk Read, Checksum Control, and Compression; UDF Mount Options: User/Group ID, Permissions, and Block Size
Summary
This section details additional UBIFS mount options, including enabling or disabling bulk reads (`bulk_read`, `no_bulk_read`), controlling data checksums (`chk_data_crc`, `no_chk_data_crc`), and selecting a compression algorithm (`compr`). It then transitions to UDF mount options, which cover specifying user and group IDs (`uid`, `gid`), setting permission masks (`umask`), defining inode modes (`mode`, `dmode`), and setting the block size (`bs`).