Subject: bug#12301: tail -F & ZFS

From: Bernhard Voelker <[email-masked]>
Date: Wed, 29 Aug 2012 10:46:09 +0200

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].

Can we be sure that 0x2fc12fc1 is used for all ZFS
implementations?

[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

Have a nice day,
Berny