[LEDE-DEV] [PATCH package mountd] uci config for mountd fileystem options

olivier.hardouin at gmail.com olivier.hardouin at gmail.com
Fri Jun 10 02:37:44 PDT 2016


Signed-off-by: Olivier Hardouin <olivier.hardouin at gmail.com>
---
 package/system/mountd/files/mountd.config | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/package/system/mountd/files/mountd.config b/package/system/mountd/files/mountd.config
index 5610129..c105606 100644
--- a/package/system/mountd/files/mountd.config
+++ b/package/system/mountd/files/mountd.config
@@ -1,3 +1,31 @@
 config mountd mountd
 	option	timeout		60
 	option	path		/tmp/mounts/
+
+config filesystem ext2
+	option options		'rw,defaults'
+	option fstype		'ext2'
+
+config filesystem ext3
+	option options		'rw,defaults'
+	option fstype		'ext3'
+
+config filesystem ext4
+	option options		'rw,defaults'
+	option fstype		'ext4'
+
+config filesystem fat
+	option options		'rw,uid=1000,gid=1000'
+	option fstype		'vfat'
+
+config filesystem exfat
+	option options		'rw,uid=1000,gid=1000'
+	option fstype		'exfat'
+
+config filesystem hfsplus
+	option options		'rw,defaults,uid=1000,gid=1000'
+	option fstype		'hfsplus'
+
+config filesystem ntfs
+	option options		'force'
+	option fstype		'ntfs'
-- 
1.9.1




More information about the Lede-dev mailing list