The `ext2' file system is the standard Linux file system. Since
Linux 2.5.46, for most mount options the default is determined by
the file system superblock. Set them with tune2fs(8).
acl
|noacl
Support POSIX Access Control Lists (or not). See the
acl(5) manual page.
bsddf
|minixdf
Set the behavior for the statfs system call. The minixdf
behavior is to return in the f_blocks field the total
number of blocks of the file system, while the bsddf
behavior (which is the default) is to subtract the
overhead blocks used by the ext2 file system and not
available for file storage. Thus
% mount /k -o minixdf; df /k; umount /k
File System 1024-blocks Used Available Capacity Mounted on
/dev/sda6 2630655 86954 2412169 3% /k
% mount /k -o bsddf; df /k; umount /k
File System 1024-blocks Used Available Capacity Mounted on
/dev/sda6 2543714 13 2412169 0% /k
(Note that this example shows that one can add command
line options to the options given in /etc/fstab.)
check=none
or nocheck
No checking is done at mount time. This is the default.
This is fast. It is wise to invoke e2fsck(8) every now
and then, e.g. at boot time. The non-default behavior is
unsupported (check=normal and check=strict options have
been removed). Note that these mount options don't have to
be supported if ext4 kernel driver is used for ext2 and
ext3 file systems.
debug
Print debugging info upon each (re)mount.
errors=
{continue
|remount-ro
|panic
}
Define the behavior when an error is encountered. (Either
ignore errors and just mark the file system erroneous and
continue, or remount the file system read-only, or panic
and halt the system.) The default is set in the file
system superblock, and can be changed using tune2fs(8).
grpid
|bsdgroups
and nogrpid
|sysvgroups
These options define what group id a newly created file
gets. When grpid
is set, it takes the group id of the
directory in which it is created; otherwise (the default)
it takes the fsgid of the current process, unless the
directory has the setgid bit set, in which case it takes
the gid from the parent directory, and also gets the
setgid bit set if it is a directory itself.
grpquota
|noquota
|quota
|usrquota
The usrquota (same as quota) mount option enables user
quota support on the file system. grpquota enables group
quotas support. You need the quota utilities to actually
enable and manage the quota system.
nouid32
Disables 32-bit UIDs and GIDs. This is for
interoperability with older kernels which only store and
expect 16-bit values.
oldalloc
or orlov
Use old allocator or Orlov allocator for new inodes. Orlov
is default.
resgid=
n and resuid=
n
The ext2 file system reserves a certain percentage of the
available space (by default 5%, see mke2fs(8) and
tune2fs(8)). These options determine who can use the
reserved blocks. (Roughly: whoever has the specified uid,
or belongs to the specified group.)
sb=
n Instead of using the normal superblock, use an alternative
superblock specified by n. This option is normally used
when the primary superblock has been corrupted. The
location of backup superblocks is dependent on the file
system's blocksize, the number of blocks per group, and
features such as sparse_super
.
Additional backup superblocks can be determined by using
the mke2fs
program using the -n
option to print out where
the superblocks exist, supposing mke2fs
is supplied with
arguments that are consistent with the file system's
layout (e.g. blocksize, blocks per group, sparse_super
,
etc.).
The block number here uses 1 k units. Thus, if you want to
use logical block 32768 on a file system with 4 k blocks,
use "sb=131072".
user_xattr
|nouser_xattr
Support "user." extended attributes (or not).