GNU bug report logs - #12301
tail -F & ZFS

Previous Next

Package: coreutils;

Reported by: Raimonds Miltins <raimonds <at> pro-9.com>

Date: Wed, 29 Aug 2012 06:57:02 UTC

Severity: normal

Merged with 12498, 16080, 18492

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 12301 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>
Cc: 12301 <at> debbugs.gnu.org
Subject: Re: bug#12301: tail -F & ZFS
Date: Wed, 29 Aug 2012 11:12:14 +0200
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




This bug report was last modified 10 years and 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.