>On Mon, 26 Mar 2012, Andrew Gabriel wrote: > >> I just played and knocked this up (note the stunning lack of comments, >> missing optarg processing, etc)... >> Give it a list of files to check... > >This is a cool program, but programmers were asking (and answering) >this same question 20+ years ago before there was anything like >SEEK_HOLE. > >If file space usage is less than file directory size then it must >contain a hole. Even for compressed files, I am pretty sure that >Solaris reports the uncompressed space usage. >
Unfortunately not true with filesystems which compress data. Casper _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss