* luci/libs/uvl: move most schemes to their corresponding packages
[project/luci.git] / modules / admin-core / root / lib / uci / schema / default / fstab
diff --git a/modules/admin-core/root/lib/uci/schema/default/fstab b/modules/admin-core/root/lib/uci/schema/default/fstab
new file mode 100644 (file)
index 0000000..58dff58
--- /dev/null
@@ -0,0 +1,54 @@
+package fstab
+
+config package
+       option title 'Filesystem configuration'
+
+config section
+       option name     'mount'
+       option title    'Filesystem entry'
+       option package  'fstab'
+
+config variable
+       option name     'device'
+       option title    'Device node'
+       option section  'fstab.mount'
+
+config variable
+       option name     'enabled'
+       option title    'Enable this mount point'
+       option section  'fstab.mount'
+       option datatype 'boolean'
+       option required 'true'
+
+config variable
+       option name     'fstype'
+       option title    'Filesystem type'
+       option section  'fstab.mount'
+
+config variable
+       option name     'options'
+       option title    'Mount options'
+       option section  'fstab.mount'
+
+config variable
+       option name     'target'
+       option title    'Mount point'
+       option section  'fstab.mount'
+       option datatype 'directory'
+
+
+config section
+       option name     'swap'
+       option title    'Swap entry'
+       option package  'fstab'
+
+config variable
+       option name     'device'
+       option title    'Swap file or Partition'
+       option section  'fstab.swap'
+
+config variable
+       option name     'enabled'
+       option title    'Enable this swap'
+       option section  'fstab.swap'
+       option datatype 'boolean'