From unknown Fri Jun 20 07:13:18 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#13172 <13172@debbugs.gnu.org> To: bug#13172 <13172@debbugs.gnu.org> Subject: Status: tail: unrecognized file system type Reply-To: bug#13172 <13172@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:13:18 +0000 retitle 13172 tail: unrecognized file system type reassign 13172 coreutils submitter 13172 coni severity 13172 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 13 11:57:31 2012 Received: (at submit) by debbugs.gnu.org; 13 Dec 2012 16:57:31 +0000 Received: from localhost ([127.0.0.1]:41152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjC6E-0005Lv-Ah for submit@debbugs.gnu.org; Thu, 13 Dec 2012 11:57:31 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58444) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tj901-0007Rb-MG for submit@debbugs.gnu.org; Thu, 13 Dec 2012 08:38:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tj8z4-0006tO-Bf for submit@debbugs.gnu.org; Thu, 13 Dec 2012 08:38:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:45567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj8z4-0006tK-8D for submit@debbugs.gnu.org; Thu, 13 Dec 2012 08:37:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj8yy-0000IG-Fk for bug-coreutils@gnu.org; Thu, 13 Dec 2012 08:37:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tj8yv-0006rv-QW for bug-coreutils@gnu.org; Thu, 13 Dec 2012 08:37:48 -0500 Received: from moh2-ve2.go2.pl ([193.17.41.200]:33668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj8yv-0006qM-JM for bug-coreutils@gnu.org; Thu, 13 Dec 2012 08:37:45 -0500 Received: from moh2-ve2.go2.pl (unknown [10.0.0.200]) by moh2-ve2.go2.pl (Postfix) with ESMTP id 427A8B01F25 for ; Thu, 13 Dec 2012 14:37:37 +0100 (CET) Received: from o2.pl (unknown [10.0.0.120]) by moh2-ve2.go2.pl (Postfix) with SMTP for ; Thu, 13 Dec 2012 14:37:37 +0100 (CET) Subject: =?UTF-8?Q?tail:_unrecognized_file_system_type?= From: =?UTF-8?Q?coni?= To: bug-coreutils@gnu.org Mime-Version: 1.0 Message-ID: <78c7f87f.6a1d0f83.50c9da21.38b10@o2.pl> Date: Thu, 13 Dec 2012 14:37:37 +0100 X-Originator: 212.180.213.114 Content-Type: multipart/alternative; boundary="==o2.pl-WebMail-c38f335.50601465.38b1b==" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 13 Dec 2012 11:57:28 -0500 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: -5.0 (-----) --==o2.pl-WebMail-c38f335.50601465.38b1b== Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi=20i've=20got=20a=20warning=20message=20in=20tail=20command:=20"tail=20= -f=20/vc/log/apache2/access=5Flog"=20-=20report=20to=20bug. =20 tail=20(GNU=20coreutils)=208.20 =20Packaged=20by=20Gentoo=20(8.20=20(p1.0)) =C2=A0 -=20file=20system=20type=20ceph =20 message: =20 tail:=20unrecognized=20file=20system=20type=200x00c36400=20for=20'/vc/log= /apache2/access=5Flog'.=20please=20report=20this=20to=20bug-coreutils@gnu= .org.=20reverting=20to=20polling =C2=A0 =C2=A0 Regards: Conrad. --==o2.pl-WebMail-c38f335.50601465.38b1b== Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi=20i've=20got=20a=20warning=20message=20in=20tail=20command:=20"tail=20= -f=20/vc/log/apache2/access=5Flog"=20-=20report=20to=20bug.=20=20tail=20(GNU=20coreutils)=208.20=20Packaged=20by=20Gentoo=20= (8.20=20(p1.0)) =C2=A0 -=20file=20system=20type=20ceph=20=20message:=20<= br=20/>=20tail:=20unrecognized=20file=20system=20type=200x00c36400=20for=20= '/vc/log/apache2/access=5Flog'.=20please=20report=20this=20to=20bug-coreu= tils@gnu.org.=20reverting=20to=20polling =C2=A0 =C2=A0 Regards: Conrad. --==o2.pl-WebMail-c38f335.50601465.38b1b==-- From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 14 04:19:41 2012 Received: (at 13172) by debbugs.gnu.org; 14 Dec 2012 09:19:41 +0000 Received: from localhost ([127.0.0.1]:41878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjRQg-0003DE-Af for submit@debbugs.gnu.org; Fri, 14 Dec 2012 04:19:41 -0500 Received: from moutng.kundenserver.de ([212.227.17.8]:56794) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjRQb-0003D4-6H for 13172@debbugs.gnu.org; Fri, 14 Dec 2012 04:19:37 -0500 Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0LmAly-1T9YMa3v2w-00Zuv2; Fri, 14 Dec 2012 10:18:35 +0100 Message-ID: <50CAEEEA.7000007@bernhard-voelker.de> Date: Fri, 14 Dec 2012 10:18:34 +0100 From: Bernhard Voelker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: coni Subject: Re: bug#13172: tail: unrecognized file system type References: <78c7f87f.6a1d0f83.50c9da21.38b10@o2.pl> In-Reply-To: <78c7f87f.6a1d0f83.50c9da21.38b10@o2.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:xjGuX7NOdq7Tu3LBpt5OS1qF6aEzP1VPA+CVP+079dz 9FjkIB195jx7B0ncrvbBMZoWHj4P3R6XTG0xKB4Ov+nEAOyjoD zLS7dlCVx0H/ECWi8JsRs/gKlYCXjLDQs/fKmyRq+sJ9IxXkKK 6m7NN5KHcTJxBh1cN7RZq876rIrTyQE4TYPo/nyV3BtzWvj+0h 8dHXQU8nWi78H/RTP7/NzweBm4pk8GWw/jpyuZ7YuV41ofzeUk XkqOffwjwpQaBziMf+wI5nd6xYyYzUQ/iBk6kCH/QBNdwoT1TI 1K2DyMIgk2WZSKPz4mI0BcyyP25NZCIkJ7+xpPcOZ0+A9mQRnW C/3KfwvngehU7+LpgJspVXI6d9/AnflQHsd2oeOKy X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13172 Cc: 13172@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: -1.9 (-) On 12/13/2012 02:37 PM, coni wrote: > Hi i've got a warning message in tail command: > "tail -f /vc/log/apache2/access_log" - report to bug. > > tail (GNU coreutils) 8.20 > Packaged by Gentoo (8.20 (p1.0)) > > - file system type ceph > > message: > > tail: unrecognized file system type 0x00c36400 for '/vc/log/apache2/access_log'. > please report this to bug-coreutils@gnu.org. reverting to polling > > Regards: > Conrad. Thanks for the report. As a distributed network file system, CEPH seems to be a "remote" file system, i.e. not supporting inotify. Conrad, would you mind giving us your full name, so that we can mention it correctly in THANKS.in? Here comes the patch. Have a nice day, Berny >From 5997134899c9abd5efd635a446fb1a3975483a82 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Fri, 14 Dec 2012 10:11:51 +0100 Subject: [PATCH] tail,stat: improve support for the ceph file system Teach tail -f that it must use polling on ceph file systems, and let stat -f --format=%T report the file system type name, "ceph". Website: http://ceph.com/ * src/stat.c (human_fstype): Add a case: ceph, 0x00c36400, remote. * NEWS (Improvements): Mention it. * THANKS.in: Update. Reported by Conrad in http://bugs.gnu.org/13172. --- NEWS | 6 ++++++ THANKS.in | 1 + src/stat.c | 2 ++ 3 files changed, 9 insertions(+), 0 deletions(-) diff --git a/NEWS b/NEWS index e22d3a9..1ee2c17 100644 --- a/NEWS +++ b/NEWS @@ -59,6 +59,12 @@ GNU coreutils NEWS -*- outline -*- nl no longer supports the --page-increment option which was deprecated since coreutils-7.5. Use --line-increment instead. +** Improvements + + stat and tail now know about CEPH. stat -f --format=%T now reports the file + system type, and tail -f uses polling for files on CEPH file systems. + + ** Build-related Perl is now more of a prerequisite. It has long been required in order diff --git a/THANKS.in b/THANKS.in index f0ef9b8..802e52d 100644 --- a/THANKS.in +++ b/THANKS.in @@ -129,6 +129,7 @@ Clark Morgan cmorgan@aracnet.com Clement Wang clem.wang@overture.com Colin Plumb colin@nyx.net Collin Rogowski collin@rogowski.de +Conrad ?? coni@o2.pl Cray-Cyber Project http://www.cray-cyber.org Cristian Cadar cristic@stanford.edu Cyril Bouthors cyril@bouthors.org diff --git a/src/stat.c b/src/stat.c index 51f4b90..6283566 100644 --- a/src/stat.c +++ b/src/stat.c @@ -266,6 +266,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "binfmt_misc"; case S_MAGIC_BTRFS: /* 0x9123683E local */ return "btrfs"; + case S_MAGIC_CEPH: /* 0x00c36400 remote */ + return "ceph"; case S_MAGIC_CGROUP: /* 0x0027E0EB local */ return "cgroupfs"; case S_MAGIC_CIFS: /* 0xFF534D42 remote */ -- 1.7.7 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 14 04:29:32 2012 Received: (at 13172) by debbugs.gnu.org; 14 Dec 2012 09:29:32 +0000 Received: from localhost ([127.0.0.1]:41883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjRaG-0003QQ-AM for submit@debbugs.gnu.org; Fri, 14 Dec 2012 04:29:32 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47547) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjRaD-0003QI-OU for 13172@debbugs.gnu.org; Fri, 14 Dec 2012 04:29:31 -0500 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 qBE9SIrD028772 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 14 Dec 2012 04:28:18 -0500 Received: from [10.36.116.69] (ovpn-116-69.ams2.redhat.com [10.36.116.69]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qBE9SCmo017965 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 14 Dec 2012 04:28:14 -0500 Message-ID: <50CAF12D.9030007@draigBrady.com> Date: Fri, 14 Dec 2012 09:28:13 +0000 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: Bernhard Voelker Subject: Re: bug#13172: tail: unrecognized file system type References: <78c7f87f.6a1d0f83.50c9da21.38b10@o2.pl> <50CAEEEA.7000007@bernhard-voelker.de> In-Reply-To: <50CAEEEA.7000007@bernhard-voelker.de> Content-Type: text/plain; charset=UTF-8; format=flowed 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 qBE9SIrD028772 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 13172 Cc: 13172@debbugs.gnu.org, coni 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: -5.0 (-----) On 12/14/2012 09:18 AM, Bernhard Voelker wrote: > + case S_MAGIC_CEPH: /* 0x00c36400 remote */ > + return "ceph"; s/00c/00C/ for consistency thanks for handling this. P=C3=A1draig. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 14 18:20:32 2012 Received: (at 13172-done) by debbugs.gnu.org; 14 Dec 2012 23:20:32 +0000 Received: from localhost ([127.0.0.1]:43014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjeYO-0008Uy-NN for submit@debbugs.gnu.org; Fri, 14 Dec 2012 18:20:32 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:55402) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjeYJ-0008Un-GX for 13172-done@debbugs.gnu.org; Fri, 14 Dec 2012 18:20:27 -0500 Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0LbxSO-1TKBbg2jjQ-00jfgt; Sat, 15 Dec 2012 00:19:20 +0100 Message-ID: <50CBB3F8.3090402@bernhard-voelker.de> Date: Sat, 15 Dec 2012 00:19:20 +0100 From: Bernhard Voelker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= Subject: Re: bug#13172: tail: unrecognized file system type References: <78c7f87f.6a1d0f83.50c9da21.38b10@o2.pl> <50CAEEEA.7000007@bernhard-voelker.de> <50CAF12D.9030007@draigBrady.com> In-Reply-To: <50CAF12D.9030007@draigBrady.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:rNyPYoj//dEc/dzcAYURAjMPzzUMZcgArZD3bIwHxuu tcP+P1oD6eoKhI1xO4/+v7tUHxoiDMgFNbhpOiCFz5aKpWngke uyOJ6Lf4s7iSw1TDAGbhoplohb3g+wHPKymIGAvz3fwkDnSJ33 pVtR0VAAML3uaBzNMWfPTqr35r6xmYvzeNYmuyRyptceVfTTvn HPs4Mgxkv29A0NV6WJVzmkZCmkbFTmJlQx8epsrQ3M714lGIz+ keIY3H2s19CZ4hO/31VDpwyqPCRSumGewwaGmZGk1XmcTCtd9/ muE2K3ItQd/0gt+Gp59RcgDMmuLdrR+8e6N2iGwqnUIrDli+ab 2CFunsWSa5aIVc9GcHXQTtQrOMtGKYNn2HUR2y2z9 X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13172-done Cc: 13172-done@debbugs.gnu.org, coni 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: -0.0 (/) On 12/14/2012 10:28 AM, Pádraig Brady wrote: > On 12/14/2012 09:18 AM, Bernhard Voelker wrote: >> + case S_MAGIC_CEPH: /* 0x00c36400 remote */ >> + return "ceph"; > > s/00c/00C/ for consistency > > thanks for handling this. > Pádraig. Thanks for the review. Konrad also confirmed that it works offline. Pushed: http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=c321f745 Marking as done. Have a nice day, Berny From unknown Fri Jun 20 07:13:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 12 Jan 2013 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator