On Jul 16, 2010, at 3:39 PM, Richard L. Hamilton wrote: > Of course, another approach would be for a zfs aware app to be > keeping its storage on a dedicated filesystem or zvol, and itself > control when snapshots were taken of that. As lightweight as > zvols and filesystems are under zfs, having each app that needed > such functionality have its own would be no big deal, and would > even be handy insofar as each app could create snapshots on > its own independent schedule.
No new API is needed. Simply delegate to the owner of the process the ability to take snapshots. You need to do this anyway, for security purposes. Then use open() to create a file in the .zfs snapshot subdirectory. -- richard -- Richard Elling rich...@nexenta.com +1-760-896-4422 _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss