On Tue, Nov 28, 2006 at 06:06:24PM +0000, Ceri Davies wrote:
> 
> But you could presumably get that exact effect by not listing a
> filesystem in /etc/vfstab.
> 

Yes, but someone could still manually mount the filesystem using 'mount
-F zfs ...'.  If you set the mountpoint to 'none', then it cannot be
mounted, period.

Note that this predates the 'canmount' property.  Presumably you could
get the same behavior by doing 'mountpoint=legacy' and 'canmount=off'.
I'm not sure where the 'canmount' property is enforced, but I don't
think its checked in the kernel, so one could presumably avoid this
check by manually issuing a mount(2) syscall.

- Eric

--
Eric Schrock, Solaris Kernel Development       http://blogs.sun.com/eschrock
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to