From 72599067b81b8a2a3c132353d840ab2a8e4b91df Mon Sep 17 00:00:00 2001 From: Marius Tolzmann Date: Tue, 16 Jun 2015 14:54:07 +0200 Subject: [PATCH] mxmount: Allow export of C0000 Jbods if exportopts are set e.g. acedia C4014 defaults,inode64 @confidential(sync,rw,no_root_squash,no_subtree_check,insecure_locks) --- mxmount | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mxmount b/mxmount index 0f29f30..d3db82b 100755 --- a/mxmount +++ b/mxmount @@ -161,7 +161,9 @@ sub parse_data { } elsif($D->{label} =~ /^C/) { $D->{mountpoint} = 'C/' . $D->{label}; $D->{label} = lc($D->{label}); - $D->{noexport} = 1; + if (!$data[3]) { + $D->{noexport} = 1; + } } elsif($D->{label} =~ /^data(.*)/) { $D->{mountpoint} = $1; } else {