On Wed, Apr 21, 2010 at 10:13 PM, Richard Elling
<richard.ell...@gmail.com> wrote:
> Repeating my previous question in another way...
> So how do they handle "mv home/joeuser home/moeuser" ?
> Does that mv delete all snapshots below home/joeuser?

If you wanted to go into home/joeuser/.snapshot , I think you'd have
to look at home/.snapshot/joeuser.

I think the way the .snapshot dir works is similar to if the user
looks at $VOL_ROOT/home/user1/files/.snapshot, the directory is
"magically" directed to $VOL_ROOT/.snapshot/home/user1/files

> To make this work in ZFS, does this require that the mv(1)
> command only work when the user has snapshot delete privilege?

No, because the snapshots don't exist for each directory. The path is
internally redirected to the volume's snapshot list, but starting at
the current directory.

> I fear that nothing in this thread is moving the problem closer to
> RFE status :-(

That's a shame, the "secret" .snapshot directories are really nice to
have. If FUSE was ready, it'd be trivial to work up a POC on top of
zfs.

-B

-- 
Brandon High : bh...@freaks.com
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to