Skip to contentSkip to conversation

Documentation: update mount option in filesystem/vfat.txt

PATCH Superseded Namjae Jeon 3 participants 4 messages Jul 29, 2012 – Jul 30, 2012 Documentation

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: update mount option in filesystem/vfat.txt

update two mount option(discard, nfs) in vfat.txt.

---
 Documentation/filesystems/vfat.txt |   11 +++++++++++
 1 file changed, 11 insertions(+)
Documentation/filesystems/vfat.txt +11 -0
index ead764b..dd322a4 100644
@@ -137,6 +137,17 @@ errors=panic|continue|remount-ro
 		 without doing anything or remount the partition in
 		 read-only mode (default behavior).
 
+discard		  -- If set, issues discard/TRIM commands to the block
+		 device when blocks are freed. This is useful for SSD devices
+		 and sparse/thinly-provisoned LUNs.
+
+nfs			  -- This option maintains an index (cache) of directory
+		 inodes by i_logstart which is used by the nfs-related code to
+		 improve look-ups.
+
+		 Enable this only if you want to export the FAT filesystem
+		 over NFS
+
 <bool>: 0,1,yes,no,true,false
 
 TODO
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 1 line · Namjae Jeon

update two mount option(discard, nfs) in vfat.txt.

Good catch.

However, "--" doesn't seem to be aligned. Maybe, you are using the TAB as 4 spaces, or such? Otherwise, looks good to me.

Quoted 27 lines
---
 Documentation/filesystems/vfat.txt |   11 +++++++++++
 1 file changed, 11 insertions(+)
Documentation/filesystems/vfat.txt +11 -0
index ead764b..dd322a4 100644
@@ -137,6 +137,17 @@ errors=panic|continue|remount-ro
 		 without doing anything or remount the partition in
 		 read-only mode (default behavior).
 
+discard		  -- If set, issues discard/TRIM commands to the block
+		 device when blocks are freed. This is useful for SSD devices
+		 and sparse/thinly-provisoned LUNs.
+
+nfs			  -- This option maintains an index (cache) of directory
+		 inodes by i_logstart which is used by the nfs-related code to
+		 improve look-ups.
+
+		 Enable this only if you want to export the FAT filesystem
+		 over NFS
+
 <bool>: 0,1,yes,no,true,false
 
 TODO
Signature · 1 line
OGAWA Hirofumi <[email protected]>
#2 lore raw

2012/7/29 OGAWA Hirofumi <[email protected]>:

Quoted 1 line

Namjae Jeon <[email protected]> writes:

Hi OGAWA.

Quoted 7 lines
Quoted 2 lines

update two mount option(discard, nfs) in vfat.txt.

Good catch.

However, "--" doesn't seem to be aligned. Maybe, you are using the TAB as 4 spaces, or such? Otherwise, looks good to me.

Okay, I will resend after fixing it.
Thanks.

Quoted 31 lines
Quoted 18 lines
---
 Documentation/filesystems/vfat.txt |   11 +++++++++++
 1 file changed, 11 insertions(+)
Documentation/filesystems/vfat.txt +4 -0
index ead764b..dd322a4 100644
@@ -137,6 +137,17 @@ errors=panic|continue|remount-ro
               without doing anything or remount the partition in
               read-only mode (default behavior).
 
+discard                -- If set, issues discard/TRIM commands to the block
+              device when blocks are freed. This is useful for SSD devices
+              and sparse/thinly-provisoned LUNs.
+

Documentation/filesystems/vfat.txt errors=panic|continue|remount-ro · line 153

Quoted 10 lines
Documentation/filesystems/vfat.txt +7 -0
+nfs                    -- This option maintains an index (cache) of directory
+              inodes by i_logstart which is used by the nfs-related code to
+              improve look-ups.
+
+              Enable this only if you want to export the FAT filesystem
+              over NFS
+
 <bool>: 0,1,yes,no,true,false
 
 TODO

--
OGAWA Hirofumi <[email protected]>

Reviewed-by on v1 1/1
#3 lore raw
In reply to Namjae Jeon
Quoted 4 lines · Namjae Jeon

update two mount option(discard, nfs) in vfat.txt.

---

Thanks. I knew there must be somewhere to document mount options but I thought it would be in the userspace tools (util-linux).

------------------------------------------------------------------------
Steven J. Magnani "I claim this network for MARS!
www.digidescorp.com Earthling, return my space modulator!"

#include <standard.disclaimer>