Andrew Gabriel <andrew.gabr...@oracle.com> writes: > Harry Putnam wrote: >> I have a sneaking feeling I'm missing something really obvious. >> >> If you have zfs fs that see little use and have lost track of whether >> changes may have occurred since last snapshot, is there some handy way >> to determine if a snapshot matches its filesystem. Or put another >> way, some way to determine if the snapshot is different than its >> current filesystem. >> >> I knot about the diff tools and of course I guess one could compare >> overall sizes in bytes for a good idea, but is there a way provided by >> zfs? >> > > If you have a recent enough OS release... > > zfs diff <snapshot> [<snapshot> | <filesystem>]
Apparently my OS is new enough (b 147 <openindiana>)... since the command is known. Very nice... but where is the documentation? `man zfs' has no hits on a grep for diff (except different..) Ahh never mind... I found: http://www.c0t0d0s0.org/archives/6829-zfs-diff-in-Opensolaris.html Which tells all about it but apparently too new to be in the man page yet? The date there is Aug of 2010... thats kind of a good while ago. The ones with `+' are added... and a very nice way to get such a list. But I also see a massive list of files with a letter `m' prefixed on each line, Which is supposed to mean modified, They cannot all really be modified so I'm thinking its something to do with rsyncing files from a windows XP machine to Openindiana.. is that likely? _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss