由 阿信 » 週三 12月 04, 2002 9:40 am
ext3 不能用gid,umask這個參數,man mount就可以看到
先mount好之後,比如 mount -t ext3 /dev/hda4 /mnt/linux之後
在用chgrp 1002 /mnt/linux ; chmod 774 /mnt/linux
以下是ext3的option
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.