bug#12301: tail -F & ZFS

2012-08-29 Thread Jim Meyering
Pádraig Brady wrote: ... >> Hmm... fsid=0x4010002. >> That is definitely not the same number as what is now recorded in >> stat.c, so this deserves more investigation: >> >> case S_MAGIC_ZFS: /* 0x2FC12FC1 local */ >> return "zfs"; >> >> This also shows there is room for improvement. >> (

bug#12301: tail -F & ZFS

2012-08-29 Thread Pádraig Brady
On 08/29/2012 04:13 PM, Jim Meyering wrote: > reopen 12301 > thanks > > Erik Auerswald wrote: >> On Wed, Aug 29, 2012 at 11:33:13AM +0200, Bernhard Voelker wrote: >>> On 08/29/2012 11:12 AM, Jim Meyering wrote: > Can we be sure that 0x2fc12fc1 is used for all ZFS > implementations? >>

bug#12301: tail -F & ZFS

2012-08-29 Thread Jim Meyering
reopen 12301 thanks Erik Auerswald wrote: > On Wed, Aug 29, 2012 at 11:33:13AM +0200, Bernhard Voelker wrote: >> On 08/29/2012 11:12 AM, Jim Meyering wrote: >> >> Can we be sure that 0x2fc12fc1 is used for all ZFS >> >> implementations? >> > >> > If there end up being two or more magic numbers for

bug#12301: tail -F & ZFS

2012-08-29 Thread Erik Auerswald
Hi, On Wed, Aug 29, 2012 at 11:33:13AM +0200, Bernhard Voelker wrote: > On 08/29/2012 11:12 AM, Jim Meyering wrote: > >> 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 go

bug#12301: tail -F & ZFS

2012-08-29 Thread Bernhard Voelker
On 08/29/2012 11:12 AM, Jim Meyering wrote: >> 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. Ok, that sounds good. Thanks. Have a nice day, B

bug#12301: tail -F & ZFS

2012-08-29 Thread Jim Meyering
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 abo

bug#12301: tail -F & ZFS

2012-08-29 Thread Bernhard Voelker
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 t

bug#12301: tail -F & ZFS

2012-08-29 Thread Jim Meyering
Raimonds Miltins wrote: > I'm using Gentoo linux on ZFS and see following when opened file with > tail -F (or -f): > tail: unrecognized file system type 0x2fc12fc1 for > ‘/var/log/messages’. please report this to > bug-coreutils@gnu.org. reverting to polling > > Distro: Gentoo > Kernel: 3.2.22 > Co

bug#12301: tail -F & ZFS

2012-08-29 Thread Raimonds Miltins
Hello, I'm using Gentoo linux on ZFS and see following when opened file with tail -F (or -f): tail: unrecognized file system type 0x2fc12fc1 for ‘/var/log/messages’. please report this to bug-coreutils@gnu.org. reverting to polling Distro: Gentoo Kernel: 3.2.22 Coreutils: 8.16 -- Raimonds M