> From: Richard Elling [mailto:richard.ell...@gmail.com] > > 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? > To make this work in ZFS, does this require that the mv(1) > command only work when the user has snapshot delete privilege? > > I fear that nothing in this thread is moving the problem closer to > RFE status :-(
It's not a real directory. Just like the .zfs directory, it is magically accessible in every directory or subdirectory, without any need to mkdir or anything. Whenever you mv some directory to a new name, there's still a magical .snapshot directory inside of it, but all the contents are magically generated upon access, so the new .snapshot will reference the new directory name. It's all just a "frontend" in the filesystem. You do something like "cd .zfs" or "cd .snapshot" (or ls, or cp, or whatever) and the filesystem responds as if that were a real directory. But there are no *actual* contents of any actual directory of that name. The filesystem just generates a response for you which looks like subdirectories, but are really links to the appropriate stuff, and makes it simply look as if it were normal directories. To move closer to RFE status ... I think the description would have to be written in verbage pertaining to zfs which is more than I know. I can describe how they each work, but I can't make it technical enough to be an RFE for zfs. _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss