Commit 1acd857f authored by Diego Calleja García's avatar Diego Calleja García Committed by Linus Torvalds

[PATCH] ext3 documentation

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 99907aab
...@@ -17,6 +17,33 @@ Defaults are marked with (*). ...@@ -17,6 +17,33 @@ Defaults are marked with (*).
bsddf (*) Makes `df' act like BSD. bsddf (*) Makes `df' act like BSD.
minixdf Makes `df' act like Minix. minixdf Makes `df' act like Minix.
barrier=1 This enables/disables barriers. barrier=0 disables it,
barrier=1 enables it.
orlov (*) This enables the new Orlov block allocator. It's
enabled by default.
oldalloc This disables the Orlov block allocator and
enables the old block allocator. Orlov should
have better performance, we'd like to get some
feedback if it's the contrary for you.
user_xattr (*) Enables POSIX Extended Attributes. It's enabled by
default, however you need to confifure its support
(CONFIG_EXT2_FS_XATTR). This is neccesary if you want
to use POSIX Acces Control Lists support. You can visit
http://acl.bestbits.at to know more about POSIX Extended
attributes.
nouser_xattr Disables POSIX Extended Attributes.
acl (*) Enables POSIX Access Control Lists support. This is
enabled by default, however you need to configure
its support (CONFIG_EXT2_FS_POSIX_ACL). If you want
to know more about ACLs visit http://acl.bestbits.at
noacl This option disables POSIX Access Control List support.
check=none, nocheck (*) Don't do extra checking of bitmaps on mount check=none, nocheck (*) Don't do extra checking of bitmaps on mount
(check=normal and check=strict options removed) (check=normal and check=strict options removed)
...@@ -336,9 +363,8 @@ and are copied into the filesystem. If a transaction is incomplete at ...@@ -336,9 +363,8 @@ and are copied into the filesystem. If a transaction is incomplete at
the time of the crash, then there is no guarantee of consistency for the time of the crash, then there is no guarantee of consistency for
the blocks in that transaction so they are discarded (which means any the blocks in that transaction so they are discarded (which means any
filesystem changes they represent are also lost). filesystem changes they represent are also lost).
Check Documentation/filesystems/ext3.txt if you want to read more about
The ext3 code is currently (Apr 2001) available for 2.2 kernels only, ext3 and journaling.
and not yet available for 2.4 kernels.
References References
========== ==========
...@@ -349,8 +375,6 @@ Design & Implementation http://e2fsprogs.sourceforge.net/ext2intro.html ...@@ -349,8 +375,6 @@ Design & Implementation http://e2fsprogs.sourceforge.net/ext2intro.html
Journaling (ext3) ftp://ftp.uk.linux.org/pub/linux/sct/fs/jfs/ Journaling (ext3) ftp://ftp.uk.linux.org/pub/linux/sct/fs/jfs/
Hashed Directories http://kernelnewbies.org/~phillips/htree/ Hashed Directories http://kernelnewbies.org/~phillips/htree/
Filesystem Resizing http://ext2resize.sourceforge.net/ Filesystem Resizing http://ext2resize.sourceforge.net/
Extended Attributes &
Access Control Lists http://acl.bestbits.at/
Compression (*) http://www.netspace.net.au/~reiter/e2compr/ Compression (*) http://www.netspace.net.au/~reiter/e2compr/
Implementations for: Implementations for:
......
...@@ -22,6 +22,63 @@ journal=inum When a journal already exists, this option is ...@@ -22,6 +22,63 @@ journal=inum When a journal already exists, this option is
the inode which will represent the ext3 file the inode which will represent the ext3 file
system's journal file. system's journal file.
noload Don't load the journal on mounting.
data=journal All data are committed into the journal prior
to being written into the main file system.
data=ordered (*) All data are forced directly out to the main file
system prior to its metadata being committed to
the journal.
data=writeback Data ordering is not preserved, data may be
written into the main file system after its
metadata has been committed to the journal.
commit=nrsec (*) Ext3 can be told to sync all its data and metadata
every 'nrsec' seconds. The default value is 5 seconds.
This means that if you lose your power, you will lose,
as much, the latest 5 seconds of work (your filesystem
will not be damaged though, thanks to journaling). This
default value (or any low value) will hurt performance,
but it's good for data-safety. Setting it to 0 will
have the same effect than leaving the default 5 sec.
Setting it to very large values will improve
performance.
barrier=1 This enables/disables barriers. barrier=0 disables it,
barrier=1 enables it.
orlov (*) This enables the new Orlov block allocator. It's enabled
by default.
oldalloc This disables the Orlov block allocator and enables the
old block allocator. Orlov should have better performance,
we'd like to get some feedback if it's the contrary for
you.
user_xattr (*) Enables POSIX Extended Attributes. It's enabled by
default, however you need to confifure its support
(CONFIG_EXT3_FS_XATTR). This is neccesary if you want
to use POSIX Acces Control Lists support. You can visit
http://acl.bestbits.at to know more about POSIX Extended
attributes.
nouser_xattr Disables POSIX Extended Attributes.
acl (*) Enables POSIX Access Control Lists support. This is
enabled by default, however you need to configure
its support (CONFIG_EXT3_FS_POSIX_ACL). If you want
to know more about ACLs visit http://acl.bestbits.at
noacl This option disables POSIX Access Control List support.
reservation
noreservation
resize=
bsddf (*) Make 'df' act like BSD. bsddf (*) Make 'df' act like BSD.
minixdf Make 'df' act like Minix. minixdf Make 'df' act like Minix.
...@@ -30,8 +87,6 @@ nocheck ...@@ -30,8 +87,6 @@ nocheck
debug Extra debugging information is sent to syslog. debug Extra debugging information is sent to syslog.
noload Don't load the journal on mounting.
errors=remount-ro(*) Remount the filesystem read-only on an error. errors=remount-ro(*) Remount the filesystem read-only on an error.
errors=continue Keep going on a filesystem error. errors=continue Keep going on a filesystem error.
errors=panic Panic and halt the machine if an error occurs. errors=panic Panic and halt the machine if an error occurs.
...@@ -48,17 +103,6 @@ resuid=n The user ID which may use the reserved blocks. ...@@ -48,17 +103,6 @@ resuid=n The user ID which may use the reserved blocks.
sb=n Use alternate superblock at this location. sb=n Use alternate superblock at this location.
data=journal All data are committed into the journal prior
to being written into the main file system.
data=ordered (*) All data are forced directly out to the main file
system prior to its metadata being committed to
the journal.
data=writeback Data ordering is not preserved, data may be
written into the main file system after its
metadata has been committed to the journal.
quota Quota options are currently silently ignored. quota Quota options are currently silently ignored.
noquota (see fs/ext3/super.c, line 594) noquota (see fs/ext3/super.c, line 594)
grpquota grpquota
...@@ -114,7 +158,7 @@ Compatibility ...@@ -114,7 +158,7 @@ Compatibility
------------- -------------
Ext2 partitions can be easily convert to ext3, with `tune2fs -j <dev>`. Ext2 partitions can be easily convert to ext3, with `tune2fs -j <dev>`.
Ext3 is fully compatible with Ext2. Ext3 partitions can easily be Ext3 is fully compatible with Ext2. Ext3 partitions can easily be
mounted as Ext2. mounted as Ext2.
External Tools External Tools
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment