Bernhard Voelker wrote: > On 08/29/2012 09:43 AM, Jim Meyering wrote: >> This change enables tail -f to use inotify and lets >> stat -f --format=%T report the file system type name, "zfs". >> * src/stat.c (human_fstype): Add a case: zfs, 0x2fc12fc1. > > Hi Jim, > > I tried to find documentation about that magic number. > > There seem to exist several implementations of ZFS [1], > and I could find it only for the ZFSONLINUX project [2], > but not in the official OpenSolaris ZFS specification [3].
Hi Bernie, Thanks for looking into that. > Can we be sure that 0x2fc12fc1 is used for all ZFS > implementations? If there end up being two or more magic numbers for the same file system (or ZFS variants going by new names), we'll adapt. > [1] http://en.wikipedia.org/wiki/ZFS > [2] https://github.com/zfsonlinux/zfs/blob/master/include/sys/zfs_vfsops.h > [3] > http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/ondiskformat0822.pdf