From unknown Fri Jun 20 20:12:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12301: tail -F & ZFS Resent-From: Raimonds Miltins Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 29 Aug 2012 06:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12301 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 12301@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.134622341129509 (code B ref -1); Wed, 29 Aug 2012 06:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Aug 2012 06:56:51 +0000 Received: from localhost ([127.0.0.1]:55344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6cCm-0007fr-Oo for submit@debbugs.gnu.org; Wed, 29 Aug 2012 02:56:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48939) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6aVU-0005CU-25 for submit@debbugs.gnu.org; Wed, 29 Aug 2012 01:08:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6aUO-0000ZM-14 for submit@debbugs.gnu.org; Wed, 29 Aug 2012 01:06:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:35654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6aUN-0000ZH-Tm for submit@debbugs.gnu.org; Wed, 29 Aug 2012 01:06:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6aUN-000311-68 for bug-coreutils@gnu.org; Wed, 29 Aug 2012 01:06:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6aUL-0000Z2-UG for bug-coreutils@gnu.org; Wed, 29 Aug 2012 01:06:51 -0400 Received: from vh2.pro-9.com ([193.105.166.28]:32886 helo=mail.pro-9.lv) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6aUL-0000Yg-J4 for bug-coreutils@gnu.org; Wed, 29 Aug 2012 01:06:49 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.pro-9.lv (Postfix) with ESMTP id DBAD52A940C for ; Wed, 29 Aug 2012 08:00:29 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pro-9.com; h=mime-version :content-type:date:from:to:subject:message-id :content-transfer-encoding; s=s1; bh=6PdAPQmEV4DfClPCAp6CG0Rer9Q =; b=Ce4VI3or62Q8IPoWwcwpQlx8Bs/gmbPCeyCKWlktXQwmXquvmmimHsXs4BX HhtyVjBN5RgkfRlKYpks0imdfYT7rlfdYTs6DmHvzjiNSV9A6Q1Lyo6r4UR1jZQB XUJ6B DomainKey-Signature: a=rsa-sha1; c=nofws; d=pro-9.com; h=mime-version :content-type:date:from:to:subject:message-id :content-transfer-encoding; q=dns; s=s1; b=hB5wRF5oOaOygFH3WKbz2 yJ58Xmc47d0SQIGcbDdF5fXEuM+X8VXvfVH2ujfy8uub01ykdLO8NjCpkX/bl15l deB8Ft+GCzw7TQCwjg8/tNXARTCCwx0zsmhwytLgwAF X-Virus-Spam-Scanned: at mx.pro-9.com Received: from mail.pro-9.lv ([127.0.0.1]) by localhost (mail.pro-9.com [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id u8am2c2dqQ0b for ; Wed, 29 Aug 2012 08:00:29 +0300 (EEST) Received: from webmail.pro-9.com (mailhub [10.1.1.28]) by mail.pro-9.lv (Postfix) with ESMTPA id B9BFA2A940A for ; Wed, 29 Aug 2012 08:00:29 +0300 (EEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Wed, 29 Aug 2012 08:00:29 +0300 From: Raimonds Miltins Message-ID: X-Sender: raimonds@pro-9.com User-Agent: Roundcube Webmail Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Mailman-Approved-At: Wed, 29 Aug 2012 02:56:48 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Hello, I'm using Gentoo linux on ZFS and see following when opened file with=20 tail -F (or -f): tail: unrecognized file system type 0x2fc12fc1 for =E2=80=98/var/log/mes= sages=E2=80=99.=20 please report this to bug-coreutils@gnu.org. reverting to polling Distro: Gentoo Kernel: 3.2.22 Coreutils: 8.16 --=20 Raimonds Milti=C5=86=C5=A1 SIA "PRO-9" phone: +371 26101996 gsm: +371 29427647 From unknown Fri Jun 20 20:12:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Raimonds Miltins Subject: bug#12301: closed (Re: bug#12301: tail -F & ZFS) Message-ID: References: <87oblu5ek7.fsf@rho.meyering.net> X-Gnu-PR-Message: they-closed 12301 X-Gnu-PR-Package: coreutils Reply-To: 12301@debbugs.gnu.org Date: Wed, 29 Aug 2012 07:45:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1346226302-4417-1" This is a multi-part message in MIME format... ------------=_1346226302-4417-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12301: tail -F & ZFS which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12301@debbugs.gnu.org. --=20 12301: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12301 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1346226302-4417-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12301-done) by debbugs.gnu.org; 29 Aug 2012 07:44:12 +0000 Received: from localhost ([127.0.0.1]:55389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6cwd-00018F-IQ for submit@debbugs.gnu.org; Wed, 29 Aug 2012 03:44:12 -0400 Received: from mx.meyering.net ([88.168.87.75]:45595) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6cwa-000186-IV for 12301-done@debbugs.gnu.org; Wed, 29 Aug 2012 03:44:10 -0400 Received: from rho.meyering.net (rho.meyering.net [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id AF00A602A6; Wed, 29 Aug 2012 09:43:04 +0200 (CEST) From: Jim Meyering To: Raimonds Miltins Subject: Re: bug#12301: tail -F & ZFS In-Reply-To: (Raimonds Miltins's message of "Wed, 29 Aug 2012 08:00:29 +0300") References: Date: Wed, 29 Aug 2012 09:43:04 +0200 Message-ID: <87oblu5ek7.fsf@rho.meyering.net> Lines: 76 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 12301-done Cc: 12301-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) 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 > =E2=80=98/var/log/messages=E2=80=99. please report this to > bug-coreutils@gnu.org. reverting to polling > > Distro: Gentoo > Kernel: 3.2.22 > Coreutils: 8.16 Thank you! That also affects the very latest, coreutils-8.19. Here's the patch I've just pushed: >From c9888e0debce29c6a0f7134bbc6d0ffd3f196bc5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 29 Aug 2012 09:32:49 +0200 Subject: [PATCH] tail,stat: improve support for ZFS This change enables tail -f to use inotify and lets stat -f --format=3D%T report the file system type name, "zfs". * src/stat.c (human_fstype): Add a case: zfs, 0x2fc12fc1. * NEWS (Improvements): Mention it. * THANKS.in: Update. Reported by Raimonds Miltins in http://bugs.gnu.org/12301. --- NEWS | 7 +++++++ THANKS.in | 1 + src/stat.c | 2 ++ 3 files changed, 10 insertions(+) diff --git a/NEWS b/NEWS index 798a512..f3874fd 100644 --- a/NEWS +++ b/NEWS @@ -19,6 +19,13 @@ GNU coreutils NEWS -*= - outline -*- than ignoring the -d option and failing with an 'Is a directory' error. [bug introduced in coreutils-8.19, with the addition of --dir (-d)] +** Improvements + + stat and tail work better with ZFS. stat -f --format=3D%T now reports t= he + file system type, "zfs", and tail -f now uses inotify for files on ZFS + file systems, rather than the default (for unknown file system types) + of polling. + * Noteworthy changes in release 8.19 (2012-08-20) [stable] diff --git a/THANKS.in b/THANKS.in index f288174..1580151 100644 --- a/THANKS.in +++ b/THANKS.in @@ -507,6 +507,7 @@ Piotr Kwapulinski kwap@univ.gda.pl Prashant TR tr@eth.net Priit J=C3=B5er=C3=BC=C3=BCt jemm4jemm@yahoo.com Primoz PETERLIN primozz.peterlin@gmail.com +Raimonds Miltins raimonds@pro-9.com Rainer Orth ro@TechFak.Uni-Bielefeld.DE Ralf W. Stephan stephan@tmt.de Ralph Loader loader@maths.ox.ac.uk diff --git a/src/stat.c b/src/stat.c index e56f1ff..f75b7af 100644 --- a/src/stat.c +++ b/src/stat.c @@ -423,6 +423,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "xfs"; case S_MAGIC_XIAFS: /* 0x012FD16D local */ return "xia"; + case S_MAGIC_ZFS: /* 0x2FC12FC1 local */ + return "zfs"; # elif __GNU__ case FSTYPE_UFS: -- 1.7.12.116.g31e0100 ------------=_1346226302-4417-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Aug 2012 06:56:51 +0000 Received: from localhost ([127.0.0.1]:55344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6cCm-0007fr-Oo for submit@debbugs.gnu.org; Wed, 29 Aug 2012 02:56:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48939) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6aVU-0005CU-25 for submit@debbugs.gnu.org; Wed, 29 Aug 2012 01:08:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6aUO-0000ZM-14 for submit@debbugs.gnu.org; Wed, 29 Aug 2012 01:06:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:35654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6aUN-0000ZH-Tm for submit@debbugs.gnu.org; Wed, 29 Aug 2012 01:06:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6aUN-000311-68 for bug-coreutils@gnu.org; Wed, 29 Aug 2012 01:06:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6aUL-0000Z2-UG for bug-coreutils@gnu.org; Wed, 29 Aug 2012 01:06:51 -0400 Received: from vh2.pro-9.com ([193.105.166.28]:32886 helo=mail.pro-9.lv) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6aUL-0000Yg-J4 for bug-coreutils@gnu.org; Wed, 29 Aug 2012 01:06:49 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.pro-9.lv (Postfix) with ESMTP id DBAD52A940C for ; Wed, 29 Aug 2012 08:00:29 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pro-9.com; h=mime-version :content-type:date:from:to:subject:message-id :content-transfer-encoding; s=s1; bh=6PdAPQmEV4DfClPCAp6CG0Rer9Q =; b=Ce4VI3or62Q8IPoWwcwpQlx8Bs/gmbPCeyCKWlktXQwmXquvmmimHsXs4BX HhtyVjBN5RgkfRlKYpks0imdfYT7rlfdYTs6DmHvzjiNSV9A6Q1Lyo6r4UR1jZQB XUJ6B DomainKey-Signature: a=rsa-sha1; c=nofws; d=pro-9.com; h=mime-version :content-type:date:from:to:subject:message-id :content-transfer-encoding; q=dns; s=s1; b=hB5wRF5oOaOygFH3WKbz2 yJ58Xmc47d0SQIGcbDdF5fXEuM+X8VXvfVH2ujfy8uub01ykdLO8NjCpkX/bl15l deB8Ft+GCzw7TQCwjg8/tNXARTCCwx0zsmhwytLgwAF X-Virus-Spam-Scanned: at mx.pro-9.com Received: from mail.pro-9.lv ([127.0.0.1]) by localhost (mail.pro-9.com [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id u8am2c2dqQ0b for ; Wed, 29 Aug 2012 08:00:29 +0300 (EEST) Received: from webmail.pro-9.com (mailhub [10.1.1.28]) by mail.pro-9.lv (Postfix) with ESMTPA id B9BFA2A940A for ; Wed, 29 Aug 2012 08:00:29 +0300 (EEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Wed, 29 Aug 2012 08:00:29 +0300 From: Raimonds Miltins To: Subject: tail -F & ZFS Message-ID: X-Sender: raimonds@pro-9.com User-Agent: Roundcube Webmail Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 29 Aug 2012 02:56:48 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Hello, I'm using Gentoo linux on ZFS and see following when opened file with=20 tail -F (or -f): tail: unrecognized file system type 0x2fc12fc1 for =E2=80=98/var/log/mes= sages=E2=80=99.=20 please report this to bug-coreutils@gnu.org. reverting to polling Distro: Gentoo Kernel: 3.2.22 Coreutils: 8.16 --=20 Raimonds Milti=C5=86=C5=A1 SIA "PRO-9" phone: +371 26101996 gsm: +371 29427647 ------------=_1346226302-4417-1-- From unknown Fri Jun 20 20:12:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12301: tail -F & ZFS Resent-From: Bernhard Voelker Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 29 Aug 2012 08:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12301 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 12301@debbugs.gnu.org, jim@meyering.net Received: via spool by 12301-submit@debbugs.gnu.org id=B12301.13462300409800 (code B ref 12301); Wed, 29 Aug 2012 08:48:02 +0000 Received: (at 12301) by debbugs.gnu.org; 29 Aug 2012 08:47:20 +0000 Received: from localhost ([127.0.0.1]:55443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6dvk-0002Xz-0D for submit@debbugs.gnu.org; Wed, 29 Aug 2012 04:47:20 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:56401) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6dvg-0002Xq-4S for 12301@debbugs.gnu.org; Wed, 29 Aug 2012 04:47:17 -0400 Received: from [192.168.2.108] (p4FF74984.dip.t-dialin.net [79.247.73.132]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0Mam0Q-1TMWs51g2k-00JyNp; Wed, 29 Aug 2012 10:46:11 +0200 Message-ID: <503DD6D1.90607@bernhard-voelker.de> Date: Wed, 29 Aug 2012 10:46:09 +0200 From: Bernhard Voelker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 References: <87oblu5ek7.fsf@rho.meyering.net> In-Reply-To: <87oblu5ek7.fsf@rho.meyering.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:kRTAjVdReAjMI30/0PveusokS0gKhb+vlUb35lF4wf5 4sCSWkDnfPdPFpUigK4aY2A51hDr5MHcx13pGslLoh4b3RNs6v izZYU631t53nJ5HmWFAzcq3blGjYDUPbX4BXTcFoYvZhUWkVlq xYQusRYDjHcIL413oD8W/NzvSal946qaWSulG5/AW7qJop1MyW zq7LtFHL1+eH7JHSRMySOK3mQT0A4Prxqc7cofUl9jNs5mNKoc gOd7C9juf2xfF/kK9fFWWM6HOjJEyLac1LktaAEKxpBJEIZ8oi czKWhpxC79UCn6i1Vz5v0l16roHArnzG75nlfFw/8/pm9DiWOg snY0AnAKkMTOVslXjOoBRQrFdIh1S8XqXr2SUBIZF X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) 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 From unknown Fri Jun 20 20:12:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12301: tail -F & ZFS Resent-From: Jim Meyering Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 29 Aug 2012 09:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12301 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Bernhard Voelker Cc: 12301@debbugs.gnu.org Received: via spool by 12301-submit@debbugs.gnu.org id=B12301.134623160212064 (code B ref 12301); Wed, 29 Aug 2012 09:14:02 +0000 Received: (at 12301) by debbugs.gnu.org; 29 Aug 2012 09:13:22 +0000 Received: from localhost ([127.0.0.1]:55482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6eKv-00038V-4V for submit@debbugs.gnu.org; Wed, 29 Aug 2012 05:13:21 -0400 Received: from mx.meyering.net ([88.168.87.75]:45818) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6eKs-00038N-OJ for 12301@debbugs.gnu.org; Wed, 29 Aug 2012 05:13:20 -0400 Received: from rho.meyering.net (rho.meyering.net [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id 582C5600A4; Wed, 29 Aug 2012 11:12:14 +0200 (CEST) From: Jim Meyering In-Reply-To: <503DD6D1.90607@bernhard-voelker.de> (Bernhard Voelker's message of "Wed, 29 Aug 2012 10:46:09 +0200") References: <87oblu5ek7.fsf@rho.meyering.net> <503DD6D1.90607@bernhard-voelker.de> Date: Wed, 29 Aug 2012 11:12:14 +0200 Message-ID: <87ipc25afl.fsf@rho.meyering.net> Lines: 28 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) 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 From unknown Fri Jun 20 20:12:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12301: tail -F & ZFS Resent-From: Bernhard Voelker Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 29 Aug 2012 09:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12301 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Jim Meyering Cc: 12301@debbugs.gnu.org Received: via spool by 12301-submit@debbugs.gnu.org id=B12301.134623286113876 (code B ref 12301); Wed, 29 Aug 2012 09:35:01 +0000 Received: (at 12301) by debbugs.gnu.org; 29 Aug 2012 09:34:21 +0000 Received: from localhost ([127.0.0.1]:55498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6efF-0003bl-KE for submit@debbugs.gnu.org; Wed, 29 Aug 2012 05:34:21 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:65317) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6efD-0003bc-Om for 12301@debbugs.gnu.org; Wed, 29 Aug 2012 05:34:20 -0400 Received: from [192.168.2.108] (p4FF74984.dip.t-dialin.net [79.247.73.132]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MLCD7-1T6NX13KiX-000Y3K; Wed, 29 Aug 2012 11:33:15 +0200 Message-ID: <503DE1D9.2030902@bernhard-voelker.de> Date: Wed, 29 Aug 2012 11:33:13 +0200 From: Bernhard Voelker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 References: <87oblu5ek7.fsf@rho.meyering.net> <503DD6D1.90607@bernhard-voelker.de> <87ipc25afl.fsf@rho.meyering.net> In-Reply-To: <87ipc25afl.fsf@rho.meyering.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:pCfxD8RJXb1mCJU4PIv3xiP0nKuGjVwQMgdwufXSScw vKera1JnkyPEyR8GW7grRj8ifBFZnWrCJKAUIN2oBFurR/XFsE H8yfmkU2UoVjX/2M+6QzYiaVRYQhTUF+yV89QUpk+oi8MRSXr5 +lA6ty2AJl6Y0srOFu8GhyjvK4KYoU8Z/+wiy0SdQxhHgG3hru srBmgbkLYkb+5BTIeCiGZFeVLrAJ5urQKgHbP2ZkZT+zHVpXzJ chvx3dCWiPNZKerboYxmlpjz0P1RKo9hflU2CX5lEOE7NL7BTF DAXuFSvLXKB8C5aEEhDYa/bdAesEycWa7Hra0Eh/mhFjeEaC+M UV9Y0aed2EY0sEgIXEESg9Opb3bs13D3kKivpfO2I X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) 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, Berny From unknown Fri Jun 20 20:12:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12301: tail -F & ZFS Resent-From: Erik Auerswald Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 29 Aug 2012 14:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12301 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Bernhard Voelker Cc: Jim Meyering , 12301@debbugs.gnu.org Received: via spool by 12301-submit@debbugs.gnu.org id=B12301.134625066210352 (code B ref 12301); Wed, 29 Aug 2012 14:32:01 +0000 Received: (at 12301) by debbugs.gnu.org; 29 Aug 2012 14:31:02 +0000 Received: from localhost ([127.0.0.1]:56015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6jIL-0002gk-VW for submit@debbugs.gnu.org; Wed, 29 Aug 2012 10:31:02 -0400 Received: from mailgw1.uni-kl.de ([131.246.120.220]:35213) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6jII-0002gT-RM for 12301@debbugs.gnu.org; Wed, 29 Aug 2012 10:31:00 -0400 Received: from sushi.unix-ag.uni-kl.de (sushi.unix-ag.uni-kl.de [IPv6:2001:638:208:ef34:0:ff:fe00:65]) by mailgw1.uni-kl.de (8.14.3/8.14.3/Debian-9.4) with ESMTP id q7TETl05020584 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 29 Aug 2012 16:29:47 +0200 Received: from sushi.unix-ag.uni-kl.de (ip6-localhost [IPv6:::1]) by sushi.unix-ag.uni-kl.de (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q7TETlar013244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Aug 2012 16:29:47 +0200 Received: (from auerswal@localhost) by sushi.unix-ag.uni-kl.de (8.14.3/8.14.3/Submit) id q7TETkgV013243; Wed, 29 Aug 2012 16:29:46 +0200 Date: Wed, 29 Aug 2012 16:29:46 +0200 From: Erik Auerswald Message-ID: <20120829142946.GA12777@sushi.unix-ag.uni-kl.de> References: <87oblu5ek7.fsf@rho.meyering.net> <503DD6D1.90607@bernhard-voelker.de> <87ipc25afl.fsf@rho.meyering.net> <503DE1D9.2030902@bernhard-voelker.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <503DE1D9.2030902@bernhard-voelker.de> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -4.4 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.4 (----) 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 going by new names), we'll adapt. > > Ok, that sounds good. Thanks. How can I check this magic number on a Solaris 10 system with ZFS? Neither GNU coreutils nor a C compiler installed. :-( $ uname -a SunOS demchpux 5.10 Generic_138888-08 sun4v sparc SUNW,SPARC-Enterprise-T5120 $ df -n / / : zfs $ df -g / / (/ ): 131072 block size 512 frag size 0 total blocks 82144537 free blocks 82144537 available 82388038 total files 82144537 free files 67174412 filesys id zfs fstype 0x00000004 flag 255 filename length Regards, Erik From unknown Fri Jun 20 20:12:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12301: tail -F & ZFS Resent-From: Jim Meyering Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 29 Aug 2012 15:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12301 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Erik Auerswald Cc: Bernhard Voelker , 12301@debbugs.gnu.org Received: via spool by 12301-submit@debbugs.gnu.org id=B12301.134625326814200 (code B ref 12301); Wed, 29 Aug 2012 15:15:01 +0000 Received: (at 12301) by debbugs.gnu.org; 29 Aug 2012 15:14:28 +0000 Received: from localhost ([127.0.0.1]:56084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6jyN-0003gy-PS for submit@debbugs.gnu.org; Wed, 29 Aug 2012 11:14:28 -0400 Received: from mx.meyering.net ([88.168.87.75]:46764) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6jyL-0003gl-AI; Wed, 29 Aug 2012 11:14:26 -0400 Received: from rho.meyering.net (rho.meyering.net [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id 66D5D60149; Wed, 29 Aug 2012 17:13:19 +0200 (CEST) From: Jim Meyering In-Reply-To: <20120829142946.GA12777@sushi.unix-ag.uni-kl.de> (Erik Auerswald's message of "Wed, 29 Aug 2012 16:29:46 +0200") References: <87oblu5ek7.fsf@rho.meyering.net> <503DD6D1.90607@bernhard-voelker.de> <87ipc25afl.fsf@rho.meyering.net> <503DE1D9.2030902@bernhard-voelker.de> <20120829142946.GA12777@sushi.unix-ag.uni-kl.de> Date: Wed, 29 Aug 2012 17:13:19 +0200 Message-ID: <87zk5d4tps.fsf@rho.meyering.net> Lines: 62 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) 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 the same file >> > system (or ZFS variants going by new names), we'll adapt. >> >> Ok, that sounds good. Thanks. > > How can I check this magic number on a Solaris 10 system with ZFS? > Neither GNU coreutils nor a C compiler installed. :-( > > $ uname -a > SunOS demchpux 5.10 Generic_138888-08 sun4v sparc SUNW,SPARC-Enterprise-T5120 > $ df -n / > / : zfs > $ df -g / > / (/ ): 131072 block size 512 frag size > 0 total blocks 82144537 free blocks 82144537 available 82388038 total files > 82144537 free files 67174412 filesys id > zfs fstype 0x00000004 flag 255 filename length Thanks for your interest. If you have perl of python, you can have them call statvfs, then simply run truss on the script and you'll see what statvfs produces, one field of which should be an "fsid" member: However, your query prompted me to build the latest on a Solaris 10 system and see: sol10$ ./stat --fo=%T -f / zfs sol10$ truss -v statvfs ./stat --fo=%T -f / ... statvfs64("/", 0xFFBFFAA8) = 0 bsize=131072 frsize=512 blocks=117101360 bfree=92845257 bavail=92845257 files=93143101 ffree=92845257 favail=92845257 fsid=0x4010002 basetype=zfs namemax=255 flag=ST_NOTRUNC fstr="" ... 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. (should print the hexadecimal FSID): sol10$ ./stat --fo=%t -f / ? This latter might deserve its own bug, but for now, I've simply reopened the original ZFS-related bug. From unknown Fri Jun 20 20:12:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12301: tail -F & ZFS Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 29 Aug 2012 16:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12301 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Jim Meyering Cc: Erik Auerswald , Bernhard Voelker , 12301@debbugs.gnu.org Received: via spool by 12301-submit@debbugs.gnu.org id=B12301.134625678923245 (code B ref 12301); Wed, 29 Aug 2012 16:14:01 +0000 Received: (at 12301) by debbugs.gnu.org; 29 Aug 2012 16:13:09 +0000 Received: from localhost ([127.0.0.1]:56147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6ktA-00062r-Jz for submit@debbugs.gnu.org; Wed, 29 Aug 2012 12:13:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29287) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6kt8-00062j-GW for 12301@debbugs.gnu.org; Wed, 29 Aug 2012 12:13:07 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7TGBvdB030940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 29 Aug 2012 12:11:58 -0400 Received: from [10.36.116.16] (ovpn-116-16.ams2.redhat.com [10.36.116.16]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q7TGBtZU006718 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 29 Aug 2012 12:11:56 -0400 Message-ID: <503E3F4A.9040401@draigBrady.com> Date: Wed, 29 Aug 2012 17:11:54 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 References: <87oblu5ek7.fsf@rho.meyering.net> <503DD6D1.90607@bernhard-voelker.de> <87ipc25afl.fsf@rho.meyering.net> <503DE1D9.2030902@bernhard-voelker.de> <20120829142946.GA12777@sushi.unix-ag.uni-kl.de> <87zk5d4tps.fsf@rho.meyering.net> In-Reply-To: <87zk5d4tps.fsf@rho.meyering.net> X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=ISO-8859-1 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id q7TGBvdB030940 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) On 08/29/2012 04:13 PM, Jim Meyering wrote: > reopen 12301 > thanks >=20 > 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 the same file >>>> system (or ZFS variants going by new names), we'll adapt. >>> >>> Ok, that sounds good. Thanks. >> >> How can I check this magic number on a Solaris 10 system with ZFS? >> Neither GNU coreutils nor a C compiler installed. :-( >> >> $ uname -a >> SunOS demchpux 5.10 Generic_138888-08 sun4v sparc SUNW,SPARC-Enterpris= e-T5120 >> $ df -n / >> / : zfs >> $ df -g / >> / (/ ): 131072 block size = 512 frag size >> 0 total blocks 82144537 free blocks 82144537 available = 82388038 total files >> 82144537 free files 67174412 filesys id >> zfs fstype 0x00000004 flag 255 filename length >=20 > Thanks for your interest. > If you have perl of python, you can have them call statvfs, > then simply run truss on the script and you'll see what > statvfs produces, one field of which should be an "fsid" member: >=20 > However, your query prompted me to build the latest on > a Solaris 10 system and see: >=20 > sol10$ ./stat --fo=3D%T -f / > zfs > sol10$ truss -v statvfs ./stat --fo=3D%T -f / > ... > statvfs64("/", 0xFFBFFAA8) =3D 0 > bsize=3D131072 frsize=3D512 blocks=3D117101360 bf= ree=3D92845257 > bavail=3D92845257 files=3D93143101 ffree=3D92845257 fav= ail=3D92845257 > fsid=3D0x4010002 basetype=3Dzfs namemax=3D255 > flag=3DST_NOTRUNC > fstr=3D"" > ... >=20 > Hmm... fsid=3D0x4010002. > That is definitely not the same number as what is now recorded in > stat.c, so this deserves more investigation: >=20 > case S_MAGIC_ZFS: /* 0x2FC12FC1 local */ > return "zfs"; >=20 > This also shows there is room for improvement. > (should print the hexadecimal FSID): >=20 > sol10$ ./stat --fo=3D%t -f / > ? >=20 > This latter might deserve its own bug, but for now, > I've simply reopened the original ZFS-related bug. I don't think there is an issue here. fsid is a per file system rather than per file system type. So '?' is correct on Solaris as it doesn't expose the file system type ID (it doesn't have statfs). Also tail will default to the more portable polling method when f_type is not available. cheers, P=E1draig. From unknown Fri Jun 20 20:12:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Raimonds Miltins Subject: bug#12301: closed (Re: bug#12301: tail -F & ZFS) Message-ID: References: <87mx1d4q4w.fsf@rho.meyering.net> X-Gnu-PR-Message: they-closed 12301 X-Gnu-PR-Package: coreutils Reply-To: 12301@debbugs.gnu.org Date: Wed, 29 Aug 2012 16:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1346257922-24908-1" This is a multi-part message in MIME format... ------------=_1346257922-24908-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12301: tail -F & ZFS which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12301@debbugs.gnu.org. --=20 12301: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12301 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1346257922-24908-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12301-done) by debbugs.gnu.org; 29 Aug 2012 16:31:48 +0000 Received: from localhost ([127.0.0.1]:56178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6lBE-0006TL-Ae for submit@debbugs.gnu.org; Wed, 29 Aug 2012 12:31:48 -0400 Received: from mx.meyering.net ([88.168.87.75]:46977) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6lBC-0006TD-3T for 12301-done@debbugs.gnu.org; Wed, 29 Aug 2012 12:31:47 -0400 Received: from rho.meyering.net (rho.meyering.net [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id C80F8600AE; Wed, 29 Aug 2012 18:30:39 +0200 (CEST) From: Jim Meyering To: =?iso-8859-1?Q?P=E1draig?= Brady Subject: Re: bug#12301: tail -F & ZFS In-Reply-To: <503E3F4A.9040401@draigBrady.com> (=?iso-8859-1?Q?=22P=E1drai?= =?iso-8859-1?Q?g?= Brady"'s message of "Wed, 29 Aug 2012 17:11:54 +0100") References: <87oblu5ek7.fsf@rho.meyering.net> <503DD6D1.90607@bernhard-voelker.de> <87ipc25afl.fsf@rho.meyering.net> <503DE1D9.2030902@bernhard-voelker.de> <20120829142946.GA12777@sushi.unix-ag.uni-kl.de> <87zk5d4tps.fsf@rho.meyering.net> <503E3F4A.9040401@draigBrady.com> Date: Wed, 29 Aug 2012 18:30:39 +0200 Message-ID: <87mx1d4q4w.fsf@rho.meyering.net> Lines: 29 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 12301-done Cc: Erik Auerswald , Bernhard Voelker , 12301-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) P=E1draig Brady wrote: ... >> Hmm... fsid=3D0x4010002. >> 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. >> (should print the hexadecimal FSID): >> >> sol10$ ./stat --fo=3D%t -f / >> ? >> >> This latter might deserve its own bug, but for now, >> I've simply reopened the original ZFS-related bug. > > I don't think there is an issue here. > > fsid is a per file system rather than per file system type. > So '?' is correct on Solaris as it doesn't expose the file > system type ID (it doesn't have statfs). > > Also tail will default to the more portable polling > method when f_type is not available. Oh, good. Then this really is "done". Marking as such. Thanks! ------------=_1346257922-24908-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Aug 2012 06:56:51 +0000 Received: from localhost ([127.0.0.1]:55344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6cCm-0007fr-Oo for submit@debbugs.gnu.org; Wed, 29 Aug 2012 02:56:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48939) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6aVU-0005CU-25 for submit@debbugs.gnu.org; Wed, 29 Aug 2012 01:08:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6aUO-0000ZM-14 for submit@debbugs.gnu.org; Wed, 29 Aug 2012 01:06:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:35654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6aUN-0000ZH-Tm for submit@debbugs.gnu.org; Wed, 29 Aug 2012 01:06:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6aUN-000311-68 for bug-coreutils@gnu.org; Wed, 29 Aug 2012 01:06:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6aUL-0000Z2-UG for bug-coreutils@gnu.org; Wed, 29 Aug 2012 01:06:51 -0400 Received: from vh2.pro-9.com ([193.105.166.28]:32886 helo=mail.pro-9.lv) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6aUL-0000Yg-J4 for bug-coreutils@gnu.org; Wed, 29 Aug 2012 01:06:49 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.pro-9.lv (Postfix) with ESMTP id DBAD52A940C for ; Wed, 29 Aug 2012 08:00:29 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pro-9.com; h=mime-version :content-type:date:from:to:subject:message-id :content-transfer-encoding; s=s1; bh=6PdAPQmEV4DfClPCAp6CG0Rer9Q =; b=Ce4VI3or62Q8IPoWwcwpQlx8Bs/gmbPCeyCKWlktXQwmXquvmmimHsXs4BX HhtyVjBN5RgkfRlKYpks0imdfYT7rlfdYTs6DmHvzjiNSV9A6Q1Lyo6r4UR1jZQB XUJ6B DomainKey-Signature: a=rsa-sha1; c=nofws; d=pro-9.com; h=mime-version :content-type:date:from:to:subject:message-id :content-transfer-encoding; q=dns; s=s1; b=hB5wRF5oOaOygFH3WKbz2 yJ58Xmc47d0SQIGcbDdF5fXEuM+X8VXvfVH2ujfy8uub01ykdLO8NjCpkX/bl15l deB8Ft+GCzw7TQCwjg8/tNXARTCCwx0zsmhwytLgwAF X-Virus-Spam-Scanned: at mx.pro-9.com Received: from mail.pro-9.lv ([127.0.0.1]) by localhost (mail.pro-9.com [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id u8am2c2dqQ0b for ; Wed, 29 Aug 2012 08:00:29 +0300 (EEST) Received: from webmail.pro-9.com (mailhub [10.1.1.28]) by mail.pro-9.lv (Postfix) with ESMTPA id B9BFA2A940A for ; Wed, 29 Aug 2012 08:00:29 +0300 (EEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Wed, 29 Aug 2012 08:00:29 +0300 From: Raimonds Miltins To: Subject: tail -F & ZFS Message-ID: X-Sender: raimonds@pro-9.com User-Agent: Roundcube Webmail Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 29 Aug 2012 02:56:48 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Hello, I'm using Gentoo linux on ZFS and see following when opened file with=20 tail -F (or -f): tail: unrecognized file system type 0x2fc12fc1 for =E2=80=98/var/log/mes= sages=E2=80=99.=20 please report this to bug-coreutils@gnu.org. reverting to polling Distro: Gentoo Kernel: 3.2.22 Coreutils: 8.16 --=20 Raimonds Milti=C5=86=C5=A1 SIA "PRO-9" phone: +371 26101996 gsm: +371 29427647 ------------=_1346257922-24908-1-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 30 01:56:30 2012 Received: (at control) by debbugs.gnu.org; 30 Sep 2012 05:56:30 +0000 Received: from localhost ([127.0.0.1]:34011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TICVy-0000ri-By for submit@debbugs.gnu.org; Sun, 30 Sep 2012 01:56:30 -0400 Received: from joseki.proulx.com ([216.17.153.58]:52133) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TICVw-0000rb-FW for control@debbugs.gnu.org; Sun, 30 Sep 2012 01:56:28 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id B86C1211DF for ; Sat, 29 Sep 2012 23:56:08 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 517592DCD1; Sat, 29 Sep 2012 23:56:08 -0600 (MDT) Date: Sat, 29 Sep 2012 23:56:08 -0600 From: Bob Proulx To: control@debbugs.gnu.org Subject: merge bugs Message-ID: <20120930055608.GA1696@hysteria.proulx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) unarchive 12301 forcemerge 12301 12498 thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 15:15:55 2013 Received: (at control) by debbugs.gnu.org; 6 Dec 2013 20:15:55 +0000 Received: from localhost ([127.0.0.1]:34748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp1oY-0004wP-RD for submit@debbugs.gnu.org; Fri, 06 Dec 2013 15:15:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:12594) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp1oW-0004wG-CM for control@debbugs.gnu.org; Fri, 06 Dec 2013 15:15:52 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rB6KFpji032493 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 6 Dec 2013 15:15:51 -0500 Received: from [10.36.116.17] (ovpn-116-17.ams2.redhat.com [10.36.116.17]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id rB6KFnnK025841 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 6 Dec 2013 15:15:51 -0500 Message-ID: <52A23075.9050902@draigBrady.com> Date: Fri, 06 Dec 2013 20:15:49 +0000 From: =?windows-1252?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: Re: bug#16080: Unrecognized file system type 0x2fc12fc1 References: <003901cef2a7$b8d9e130$2a8da390$@btconnect.com> In-Reply-To: <003901cef2a7$b8d9e130$2a8da390$@btconnect.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) unarchive 12301 forcemerge 16080 12301 stop From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 15:36:30 2013 Received: (at control) by debbugs.gnu.org; 6 Dec 2013 20:36:30 +0000 Received: from localhost ([127.0.0.1]:34801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp28U-0006ai-Bg for submit@debbugs.gnu.org; Fri, 06 Dec 2013 15:36:30 -0500 Received: from mx1.redhat.com ([209.132.183.28]:3990) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp28S-0006aY-JV for control@debbugs.gnu.org; Fri, 06 Dec 2013 15:36:28 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rB6KaR6r018053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 6 Dec 2013 15:36:27 -0500 Received: from [10.36.116.17] (ovpn-116-17.ams2.redhat.com [10.36.116.17]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rB6KaNnk004768 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 6 Dec 2013 15:36:25 -0500 Message-ID: <52A23547.4050505@draigBrady.com> Date: Fri, 06 Dec 2013 20:36:23 +0000 From: =?windows-1252?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: bug#16080: Unrecognized file system type 0x2fc12fc1 References: <003901cef2a7$b8d9e130$2a8da390$@btconnect.com> In-Reply-To: <003901cef2a7$b8d9e130$2a8da390$@btconnect.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) close 16080 stop From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 18 05:29:50 2014 Received: (at control) by debbugs.gnu.org; 18 Sep 2014 09:29:50 +0000 Received: from localhost ([127.0.0.1]:43925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUY29-0001vj-Tq for submit@debbugs.gnu.org; Thu, 18 Sep 2014 05:29:50 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:59635) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUY26-0001vX-Lg for control@debbugs.gnu.org; Thu, 18 Sep 2014 05:29:47 -0400 Received: from [10.0.4.15] (gw.camline.com [62.153.148.194]) by mrelayeu.kundenserver.de (node=mreue001) with ESMTP (Nemesis) id 0MK9VV-1XVv4u2OVp-001Qpm; Thu, 18 Sep 2014 11:29:45 +0200 Message-ID: <541AA607.8030406@bernhard-voelker.de> Date: Thu, 18 Sep 2014 11:29:43 +0200 From: Bernhard Voelker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: Re: bug#18492: Unrecognized file system using tail References: <5419F88F.2050305@bernhard-voelker.de> <541A7A89.4060500@bernhard-voelker.de> <541AA28B.8000200@draigBrady.com> <541AA5D1.9040708@bernhard-voelker.de> In-Reply-To: <541AA5D1.9040708@bernhard-voelker.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:DJnQHjsvLVaxGun37gluikE9f+b3lxQ01VpVLSOLpFp oVsMsAxmBt7tqadCM1teZ5iRWh4sNbYvVUmcvMdG4+GBYMfGK/ wmq8Db8P48XZOHKkH6xVgrpqcPs/I4IIwj7ZrV1DKLRXsT/Z56 Jjk3rf83C5Jpc6HfTOr4FzbScH+r8W8awgmV8IUfVVMCFBTth6 WAPAzu1Ro8K5GR+Jvd5F58c5ifq1lPud83O1GGJZXF5w0C7dpO w63L3uRDX/wNRIs2ukQIeA6l/P8UKL/MB5EsQ7exBmepTYJ9u/ ly+hDo3H3/Vdfe5O+4fhFbqvOb0d5PQ4TkoHr3rMpVu8AMeS/g VSEKzS9r1AsDkU03G69TMK5NxjsMUyREmL8g1kwvU X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) unarchive 12301 forcemerge 12301 18492 stop