f8df2351833547966102b3ec3a11852890340f0d
[project/luci.git] / modules / admin-core / luasrc / model / cbi / admin_system / fstab.lua
1 m = Map("fstab", translate("a_s_fstab", "Einhängepunkte"))
2
3 mount = m:section(TypedSection, "mount", translate("a_s_fstab_mountpoints", "Einhängepunkte"), translate("a_s_fstab_mountpoints1", [[Einhängepunkte bestimmen, an welcher Stelle des Dateisystems
4 bestimmte Laufwerke und Speicher zur Verwendung eingebunden werden.]]))
5 mount.anonymous = true
6 mount.addremove = true
7
8 mount:option(Flag, "enabled", translate("enable", "aktivieren"))
9 mount:option(Value, "device", translate("device", "Gerät"), translate("a_s_fstab_device1", "Die Gerätedatei des Speichers oder der Partition (z.B.: /dev/sda)"))
10 mount:option(Value, "target", translate("a_s_fstab_mountpoint", "Einhängepunkt"))
11 mount:option(Value, "fstype", translate("filesystem", "Dateisystem"), translate("a_s_fstab_fs1", "Das Dateisystem mit dem der Speicher formatiert ist (z.B.: ext3)"))
12 mount:option(Value, "options", translate("options", "Optionen"), translatef("manpage", "siehe '%s' manpage", "mount"))
13
14
15 swap = m:section(TypedSection, "swap", "SWAP", translate("a_s_fstab_swap1", [[Falls der Arbeitsspeicher des Routers nicht ausreicht,
16 kann dieser nicht benutzte Daten zeitweise auf einem SWAP-Laufwerk auslagern um so die
17 effektive Größe des Arbeitsspeichers zu erhöhen. Die Auslagerung der Daten ist natürlich bedeutend langsamer
18 als direkte Arbeitsspeicherzugriffe.]]))
19 swap.anonymous = true
20 swap.addremove = true
21
22 swap:option(Flag, "enabled", translate("enable", "aktivieren"))
23 swap:option(Value, "device", translate("device", "Gerät"), translate("a_s_fstab_device1", "Die Gerätedatei des Speichers oder der Partition (z.B.: /dev/sda)"))
24
25 return m