Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2023 15:21:59 +0200
From:      Gerrit =?UTF-8?B?S8O8aG4=?= <gerrit.kuehn@aei.mpg.de>
To:        freebsd-fs@freebsd.org
Subject:   canmount=noauto not behaving as expected
Message-ID:  <20230427152159.508f097c@arc.aei.uni-hannover.de>

next in thread | raw e-mail | index | archive | help
Hello,

I just tried using canmount=noauto on a couple of filesystems (on FreeBSD
13.2) and found that these are still mounted on boot and when issuing "zfs
mount -a". From the manpage I would have expected the opposite:

---
When set to noauto, a dataset can only be mounted and unmounted
explicitly.  The dataset is not mounted automatically when the
dataset is created or imported, nor is it mounted by the zfs mount -a
command or unmounted by the zfs unmount -a command.
---

After export/import these filesystems systems stay unmounted as expected,
but they are still mounted again on the next "zfs mount -a".

Is this a bug in the manpage, a bug in zfs, or am I misunderstanding how
this is supposed to work?


cu
  Gerrit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230427152159.508f097c>