summaryrefslogtreecommitdiffstats
path: root/tests/zfs-tests
diff options
context:
space:
mode:
authorRichard Laager <[email protected]>2017-11-23 23:08:02 -0600
committerTony Hutter <[email protected]>2017-12-04 17:21:38 -0800
commit68ba1d2fa974db2ecb799385f1b3e8e0180e5f6b (patch)
tree0192a19e56f2609823dea7f711d58e1cf137c8ae /tests/zfs-tests
parent4e111379893b4e49e1bee44a6fe557a1c3903c78 (diff)
initramfs: Honor canmount=off
The initramfs script was not honoring canmount=off. With this change, it does. If the administrator has asked that a filesystem not be mounted, that should be honored. As an exception, the initramfs script ignores canmount=off on the rootfs. The rootfs should not have canmount=off set either. However, mounting it anyway seems harmless because it is being asked for explicitly. The point of this exception is to avoid the risk of breaking existing systems, just in case someone has canmount=off set on their rootfs. The initramfs still mounts filesystems with canmount=noauto. This is necessary because it is typical to set that on the rootfs so that it can be cloned. Without canmount=noauto, the clones' duplicate mountpoints would conflict. This is the remainder of the fix for: https://github.com/zfsonlinux/pkg-zfs/issues/221 Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: Richard Laager <[email protected]> Closes #6897
Diffstat (limited to 'tests/zfs-tests')
0 files changed, 0 insertions, 0 deletions