|
发表于 2006-6-4 17:32:40
|
显示全部楼层
ext2 的 mount options 里面没有 iocharset
[code:1]
Mount options for ext2
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
filesystem superblock. Set them with tune2fs(8).
acl / noacl
Support POSIX Access Control Lists (or not).
bsddf / minixdf
Set the behaviour for the statfs system call. The minixdf
behaviour is to return in the f_blocks field the total number of
blocks of the file system, while the bsddf behaviour (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
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/sda6 2630655 86954 2412169 3% /k
% mount /k -o bsddf; df /k; umount /k
Filesystem 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 Check filesystem (block and inode bitmaps) at mount time.
check=none / 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.
debug Print debugging info upon each (re)mount.
errors=continue / errors=remount-ro / errors=panic
Define the behaviour when an error is encountered. (Either
ignore errors and just mark the file system erroneous and con‐
tinue, or remount the file system read-only, or panic and halt
the system.) The default is set in the filesystem superblock,
and can be changed using tune2fs(8).
grpid or bsdgroups / nogrpid or 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
These options are accepted but ignored.
nobh Do not attach buffer_heads to file pagecache. (Since 2.5.49.)
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 avail‐
able 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 block 1, use block n as superblock. This could be
useful when the filesystem has been damaged. (Earlier, copies
of the superblock would be made every 8192 blocks: in block 1,
8193, 16385, ... (and one got thousands of copies on a big
filesystem). Since version 1.08, mke2fs has a -s (sparse
superblock) option to reduce the number of backup superblocks,
and since version 1.15 this is the default. Note that this may
mean that ext2 filesystems created by a recent mke2fs cannot be
mounted r/w under Linux 2.0.*.) The block number here uses 1k
units. Thus, if you want to use logical block 32768 on a
filesystem with 4k blocks, use "sb=131072".
user_xattr / nouser_xattr
Support "user." extended attributes (or not).
[/code:1] |
|