turning off ZFS mountpoint property behavior?

Ollivier Robert roberto at keltia.freenix.fr
Thu Apr 16 05:34:54 PDT 2009


According to James R. Van Artsdalen:
> Unfortunately when zfs recv runs and it receive a filesystem with
> property mountpoint=/usr it mounts that filesystem there.  That's not
> desirable in my situation nor I suspect many others.
> 
> Is there a sysctl or some other way to disable the automatic mount behavior?

Have you tried to use legacy?

zfs set mountpoint=legacy tank/usr
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto at keltia.freenix.fr
In memoriam to Ondine : http://ondine.keltia.net/


More information about the freebsd-fs mailing list