On Tue, Jan 10, 2017 at 3:36 AM, Gernot Straßer <[email protected]> wrote:
> Good point, this is indeed a work-around for now. > I'm glad that worked. > But if you forget to it to “noauto” after creation this will bite you > after rebooting. > That's why I think there's a strong argument to be made for making the default value of "canmount" be "noauto" for encrypted filesystems. > Using a key file instead of a passphrase will mount properly with > canmount=on, given that the keyfile is available. > At which point, in my hypothetical future with the altered default someone could explicitly set "canmount" to "on". Out of curiosity, are you working with a ported version of the https://github.com/zfsonlinux/zfs/pull/4329 code? Is your tree with patches applied posted anywhere? -Nahum ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
