From unknown Sun Jun 22 04:08:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14020: tail: unrecognized file system type 0x24051905 Resent-From: Joseph Chen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 22 Mar 2013 00:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14020 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 14020@debbugs.gnu.org X-Debbugs-Original-To: "bug-coreutils@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.136391260113157 (code B ref -1); Fri, 22 Mar 2013 00:37:03 +0000 Received: (at submit) by debbugs.gnu.org; 22 Mar 2013 00:36:41 +0000 Received: from localhost ([127.0.0.1]:39571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UIpyI-0003Q2-Pc for submit@debbugs.gnu.org; Thu, 21 Mar 2013 20:36:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47462) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UIR8A-0006VO-4f for submit@debbugs.gnu.org; Wed, 20 Mar 2013 18:05:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIR6M-0003vw-5s for submit@debbugs.gnu.org; Wed, 20 Mar 2013 18:03:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:59763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIR6M-0003vs-3H for submit@debbugs.gnu.org; Wed, 20 Mar 2013 18:03:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIR6H-00065G-Nr for bug-coreutils@gnu.org; Wed, 20 Mar 2013 18:03:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIR6D-0003tM-Bm for bug-coreutils@gnu.org; Wed, 20 Mar 2013 18:03:13 -0400 Received: from service79-us.mimecast.com ([207.211.31.69]:45283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIR6D-0003sw-9E for bug-coreutils@gnu.org; Wed, 20 Mar 2013 18:03:09 -0400 Received: from CIL-VM-CAS-01.gogo.local (63-144-124-37.dia.static.qwest.net [63.144.124.37]) (Using TLS) by service80-us.mimecast.com; Wed, 20 Mar 2013 18:01:54 -0400 Received: from CIL-BL-MBX-01.gogo.local ([10.1.100.81]) by cil-vm-cas-01 ([10.1.100.79]) with mapi id 14.01.0355.002; Wed, 20 Mar 2013 17:02:22 -0500 From: Joseph Chen Thread-Topic: tail: unrecognized file system type 0x24051905 Thread-Index: Ac4ltnZjn5OlEWe0QXCpLrxlEQ8AAg== Date: Wed, 20 Mar 2013 22:01:24 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.100.10] MIME-Version: 1.0 X-MC-Unique: 113032018015408302 Content-Type: multipart/alternative; boundary="_000_FDEEC659CED3484A8127279617BBFA972F32B2A6cilblmbx01_" 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-Mailman-Approved-At: Thu, 21 Mar 2013 20:36:31 -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 (------) --_000_FDEEC659CED3484A8127279617BBFA972F32B2A6cilblmbx01_ Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Not sure if this is an already known issue but I was asked to report this e= rror: tail: unrecognized file system type 0x24051905 for '/var/log/asterisk/messa= ges'. please report this to bug-coreutils@gnu.org. reverting to polling This file that is being tail'ed locates on a UBIFS NAND partition. --Joe --_000_FDEEC659CED3484A8127279617BBFA972F32B2A6cilblmbx01_ Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable
Not sure if this is an already known issue but I was asked to report= this error:

tail: unrecognized file system type 0x24051905 for '/var/log/asterisk/messa= ges'. please report this to bug-coreutils@gnu.org. reverting to polling

This file that is being tail'ed locates on a UBIFS NAND partition.

--Joe
--_000_FDEEC659CED3484A8127279617BBFA972F32B2A6cilblmbx01_-- From unknown Sun Jun 22 04:08:37 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: Joseph Chen Subject: bug#14020: closed (Re: bug#14020: tail: unrecognized file system type 0x24051905) Message-ID: References: <514C4D83.6020203@draigBrady.com> X-Gnu-PR-Message: they-closed 14020 X-Gnu-PR-Package: coreutils Reply-To: 14020@debbugs.gnu.org Date: Fri, 22 Mar 2013 12:27:19 +0000 Content-Type: multipart/mixed; boundary="----------=_1363955239-27360-1" This is a multi-part message in MIME format... ------------=_1363955239-27360-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #14020: tail: unrecognized file system type 0x24051905 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 14020@debbugs.gnu.org. --=20 14020: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14020 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1363955239-27360-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 14020-done) by debbugs.gnu.org; 22 Mar 2013 12:26:46 +0000 Received: from localhost ([127.0.0.1]:40381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UJ13V-00076X-97 for submit@debbugs.gnu.org; Fri, 22 Mar 2013 08:26:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41078) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UJ13R-00076P-UV for 14020-done@debbugs.gnu.org; Fri, 22 Mar 2013 08:26:44 -0400 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 r2MCOdOg015138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 22 Mar 2013 08:24:39 -0400 Received: from [10.36.116.96] (ovpn-116-96.ams2.redhat.com [10.36.116.96]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r2MCOaSl008222 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 22 Mar 2013 08:24:38 -0400 Message-ID: <514C4D83.6020203@draigBrady.com> Date: Fri, 22 Mar 2013 12:24:35 +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: Joseph Chen Subject: Re: bug#14020: tail: unrecognized file system type 0x24051905 References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: multipart/mixed; boundary="------------060004050304090904060203" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 14020-done Cc: 14020-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: -6.9 (------) This is a multi-part message in MIME format. --------------060004050304090904060203 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id r2MCOdOg015138 On 03/20/2013 10:01 PM, Joseph Chen wrote: > Not sure if this is an already known issue but I was asked to report th= is error: >=20 > tail: unrecognized file system type 0x24051905 for '/var/log/asterisk/m= essages'. please report this to bug-coreutils@gnu.org. reverting to polli= ng >=20 > This file that is being tail'ed locates on a UBIFS NAND partition. The attached should address this. thanks! P=E1draig. --------------060004050304090904060203 Content-Type: text/x-patch; name="ubifs.patch" Content-Disposition: attachment; filename="ubifs.patch" Content-Transfer-Encoding: 7bit >From ba98da72ad96fdce23c977acc7eb292c1580a7fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Fri, 22 Mar 2013 12:15:04 +0000 Subject: [PATCH] stat,tail: improve support for efivarfs, exofs, f2fs and ubifs * src/stat.c (human_fstype): Add new file system ID definitions. * NEWS: Mention the improvement. Fixes http://bugs.gnu.org/14020 --- NEWS | 7 +++++++ src/stat.c | 8 ++++++++ 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/NEWS b/NEWS index e0cc08a..483669d 100644 --- a/NEWS +++ b/NEWS @@ -18,6 +18,13 @@ GNU coreutils NEWS -*- outline -*- uniq accepts a new option: --group to print all items, while separating unique groups with empty lines. +** Improvements + + stat and tail work better with EFIVARFS, EXOFS, F2FS and UBIFS. + stat -f --format=%T now reports the file system type, and tail -f now uses + inotify for files on those file systems, rather than the default (for unknown + file system types) of issuing a warning and reverting to polling. + ** Build-related factor now builds on aarch64 based systems [bug introduced in coreutils-8.20] diff --git a/src/stat.c b/src/stat.c index a1938a7..8ba958a 100644 --- a/src/stat.c +++ b/src/stat.c @@ -288,14 +288,20 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "devpts"; case S_MAGIC_ECRYPTFS: /* 0xF15F local */ return "ecryptfs"; + case S_MAGIC_EFIVARFS: /* 0xDE5E81E4 local */ + return "efivarfs"; case S_MAGIC_EFS: /* 0x00414A53 local */ return "efs"; + case S_MAGIC_EXOFS: /* 0x5DF5 local */ + return "exofs"; case S_MAGIC_EXT: /* 0x137D local */ return "ext"; case S_MAGIC_EXT2: /* 0xEF53 local */ return "ext2/ext3"; case S_MAGIC_EXT2_OLD: /* 0xEF51 local */ return "ext2"; + case S_MAGIC_F2FS: /* 0xF2F52010 local */ + return "f2fs"; case S_MAGIC_FAT: /* 0x4006 local */ return "fat"; case S_MAGIC_FHGFS: /* 0x19830326 remote */ @@ -405,6 +411,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "sysv4"; case S_MAGIC_TMPFS: /* 0x01021994 local */ return "tmpfs"; + case S_MAGIC_UBIFS: /* 0x24051905 local */ + return "ubifs"; case S_MAGIC_UDF: /* 0x15013346 local */ return "udf"; case S_MAGIC_UFS: /* 0x00011954 local */ -- 1.7.7.6 --------------060004050304090904060203-- ------------=_1363955239-27360-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Mar 2013 00:36:41 +0000 Received: from localhost ([127.0.0.1]:39571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UIpyI-0003Q2-Pc for submit@debbugs.gnu.org; Thu, 21 Mar 2013 20:36:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47462) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UIR8A-0006VO-4f for submit@debbugs.gnu.org; Wed, 20 Mar 2013 18:05:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIR6M-0003vw-5s for submit@debbugs.gnu.org; Wed, 20 Mar 2013 18:03:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:59763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIR6M-0003vs-3H for submit@debbugs.gnu.org; Wed, 20 Mar 2013 18:03:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIR6H-00065G-Nr for bug-coreutils@gnu.org; Wed, 20 Mar 2013 18:03:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIR6D-0003tM-Bm for bug-coreutils@gnu.org; Wed, 20 Mar 2013 18:03:13 -0400 Received: from service79-us.mimecast.com ([207.211.31.69]:45283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIR6D-0003sw-9E for bug-coreutils@gnu.org; Wed, 20 Mar 2013 18:03:09 -0400 Received: from CIL-VM-CAS-01.gogo.local (63-144-124-37.dia.static.qwest.net [63.144.124.37]) (Using TLS) by service80-us.mimecast.com; Wed, 20 Mar 2013 18:01:54 -0400 Received: from CIL-BL-MBX-01.gogo.local ([10.1.100.81]) by cil-vm-cas-01 ([10.1.100.79]) with mapi id 14.01.0355.002; Wed, 20 Mar 2013 17:02:22 -0500 From: Joseph Chen To: "bug-coreutils@gnu.org" Subject: tail: unrecognized file system type 0x24051905 Thread-Topic: tail: unrecognized file system type 0x24051905 Thread-Index: Ac4ltnZjn5OlEWe0QXCpLrxlEQ8AAg== Date: Wed, 20 Mar 2013 22:01:24 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.100.10] MIME-Version: 1.0 X-MC-Unique: 113032018015408302 Content-Type: multipart/alternative; boundary="_000_FDEEC659CED3484A8127279617BBFA972F32B2A6cilblmbx01_" 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, 21 Mar 2013 20:36:31 -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 (------) --_000_FDEEC659CED3484A8127279617BBFA972F32B2A6cilblmbx01_ Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Not sure if this is an already known issue but I was asked to report this e= rror: tail: unrecognized file system type 0x24051905 for '/var/log/asterisk/messa= ges'. please report this to bug-coreutils@gnu.org. reverting to polling This file that is being tail'ed locates on a UBIFS NAND partition. --Joe --_000_FDEEC659CED3484A8127279617BBFA972F32B2A6cilblmbx01_ Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable
Not sure if this is an already known issue but I was asked to report= this error:

tail: unrecognized file system type 0x24051905 for '/var/log/asterisk/messa= ges'. please report this to bug-coreutils@gnu.org. reverting to polling

This file that is being tail'ed locates on a UBIFS NAND partition.

--Joe
--_000_FDEEC659CED3484A8127279617BBFA972F32B2A6cilblmbx01_-- ------------=_1363955239-27360-1--