[elbe-devel] [PATCH] fstab.mako: set given mount options

Benedikt Spranger b.spranger at linutronix.de
Mon Oct 14 15:19:13 CEST 2013


Also set given mount options in case of mount "bylabel".

Signed-off-by: Benedikt Spranger <b.spranger at linutronix.de>
---
 elbepack/mako/fstab.mako | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/mako/fstab.mako b/elbepack/mako/fstab.mako
index 6bba30c..080e76f 100644
--- a/elbepack/mako/fstab.mako
+++ b/elbepack/mako/fstab.mako
@@ -63,7 +63,7 @@ def get_devicelabel( node ):
 ${d.text("source")}	${d.text("mountpoint")}	${d.text("fs/type")}	${d.text("options", default="defaults")}	0	0
 		% endif
 		% if d.tag == "bylabel":
-${get_devicelabel(d)}	${d.text("mountpoint")}	${d.text("fs/type")}	defaults	0	0
+${get_devicelabel(d)}	${d.text("mountpoint")}	${d.text("fs/type")}	${d.text("options", default="defaults")}	0	0
 		% endif
 	% endfor
 % endif
-- 
1.8.4.rc3





More information about the elbe-devel mailing list