On Jun 9, 2007, at 06:14, Richard L. Hamilton wrote:
I wish there was a uniform way whereby applications could register their ability to achieve or release consistency on demand, and if registered, could also communicate back that they had either achieved consistency on-disk, or were unable to do so.
This doesn't (necessarily) have to be built into the kernel: a user space program could work as (say like D-Bus).
Any interested program can register / listen for updates (read-only), and anytime a backup program is about to run it can send out an event saying that the /foo/bar directory tree (and below) will be backed up (or snapshotted (word?)).
If you have /var/run/backups| where the user ownership is the backup program's user (or using a SUID program to send notifications), an the group is read-only (640), process owners (like oracle, mysql, postgres, etc.) are members of that read-only group so that they can't affect other programs by sending spurious messages.
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss