|
|

楼主 |
发表于 2004-12-12 11:55:46
|
显示全部楼层
回复: 回复: ● 挂载ext3的问题(请大侠指点)
最初由 nait 发表
ft,谁告诉你umask=0这个参数只适应fat格式的分区?
招出来:comp :comp :comp :comp 误导者我敲我敲我敲敲敲
man mount显示结果:
Mount options for fat
(Note: fat is not a separate filesystem, but a common part of the
msdos, umsdos and vfat filesystems.)
blocksize=512 / blocksize=1024 / blocksize=2048
Set blocksize (default 512).
uid=value and gid=value
Set the owner and group of all files. (Default: the uid and gid
of the current process.)
umask=value
Set the umask (the bitmask of the permissions that are not
present). The default is the umask of the current process. The
value is given in octal.
dmask=value
Set the umask applied to directories only. The default is the
umask of the current process. The value is given in octal.
Present since 2.5.43.
然而关于ext3就没有这个参数:
Mount options for ext3
The ‘ext3’ file system is version of the ext2 file system which has
been enhanced with journalling. It supports the same options as ext2
as well as the following additions:
journal=update
Update the ext3 file system’s journal to the current format.
journal=inum
When a journal already exists, this option is ignored. Other-
wise, it specifies the number of the inode which will represent
the ext3 file system’s journal file; ext3 will create a new
journal, overwriting the old contents of the file whose inode
number is inum.
noload Do not load the ext3 file system’s journal on mounting.
data=journal / data=ordered / data=writeback
Specifies the journalling mode for file data. Metadata is
always journaled.
journal
All data is committed into the journal prior to being
written into the main file system.
ordered
This is the default mode. All data is forced directly
out to the main file system prior to its metadata being
committed to the journal.
writeback
Data ordering is not preserved - data may be written into
the main file system after its metadata has been commit-
ted to the journal. This is rumoured to be the highest-
throughput option. It guarantees internal file system
integrity, however it can allow old data to appear in
files after a crash and journal recovery. |
|