Pawel Jakub Dawidek <[email protected]> wrote:

> In my opinion automouting snapshots under .zfs/ is a bit of a hack.
> There are some obvious problems with it:
> - Snapshots are not unmounted automatically.
> - Unprivileged users can trigger file system mount which leads to a bit
>   of hacking around in the kernel (as we can't use current context
>   credentials).
> - NFS exports. Nobody wants to NFS mount every single snapshot on the
>   client and exporting file system and its snapshot as one export can
>   lead to inode collisions.
>
> Having snapshots to be handled within ZFS more natively, ie. as integral
> part of the file system content and not separate mountpoints would make
> it much more intuitive and user-friendly. Not sure about implementation
> complexity.

Are you talking about FreeBSD problems?

Note that if you don't mount snapshots as separate items with separate file 
system ids (st_dev), you will violate POSIX filesystem semantics.

BTW: What is the problem with mounting from inside the kernel?

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to