GNU bug report logs - #11823
tail: unrecognized file system type 0x61756673 for ‘/var/log/messages’. please report this to bug-coreutils@gnu.org. reverting to polling

Previous Next

Package: coreutils;

Reported by: Michael Mol <mikemol <at> gmail.com>

Date: Sat, 30 Jun 2012 06:49:01 UTC

Severity: normal

Merged with 11835, 12798

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11823 in the body.
You can then email your comments to 11823 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#11823; Package coreutils. (Sat, 30 Jun 2012 06:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Mol <mikemol <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sat, 30 Jun 2012 06:49:02 GMT) Full text and rfc822 format available.

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

From: Michael Mol <mikemol <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: tail: unrecognized file system type 0x61756673 for ‘/var/log/messages’. please report this to bug-coreutils <at> gnu.org. reverting to polling
Date: Sat, 30 Jun 2012 00:48:16 -0400
"tail: unrecognized file system type 0x61756673 for
‘/var/log/messages’. please report this to bug-coreutils <at> gnu.org.
reverting to polling"

At the time, mount indicated the filesystem in question was aufs.

The manpage for aufs shows a description of it: "aufs - advanced multi
layered unification filesystem. version 3.3-20120326"

This was on the Gentoo 12.1 liveDVD.

HTH

-- 
:wq




Information forwarded to bug-coreutils <at> gnu.org:
bug#11823; Package coreutils. (Sat, 30 Jun 2012 16:26:02 GMT) Full text and rfc822 format available.

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

From: Jim Meyering <jim <at> meyering.net>
To: Michael Mol <mikemol <at> gmail.com>
Cc: 11823 <at> debbugs.gnu.org
Subject: Re: bug#11823: tail: unrecognized file system type 0x61756673 for
	‘/var/log/messages’. please report
	this to bug-coreutils <at> gnu.org. reverting to polling
Date: Sat, 30 Jun 2012 18:21:25 +0200
Michael Mol wrote:
> "tail: unrecognized file system type 0x61756673 for
> ‘/var/log/messages’. please report this to bug-coreutils <at> gnu.org.
> reverting to polling"
>
> At the time, mount indicated the filesystem in question was aufs.
>
> The manpage for aufs shows a description of it: "aufs - advanced multi
> layered unification filesystem. version 3.3-20120326"
>
> This was on the Gentoo 12.1 liveDVD.

Thank you!
Here's the patch I expect to push soon:

From b0d8d3242998852e1a8a58b3f1b48186ad1063ec Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering <at> redhat.com>
Date: Sat, 30 Jun 2012 18:19:53 +0200
Subject: [PATCH] stat,tail: recognize new file system type: aufs

* src/stat.c (human_fstype) [__linux__]: Add a 'case' for the new
remote file system type: aufs (0x61756673).
* NEWS (New features): Mention stat -f.
(Bug fixes): Mention it for tail -f.
Reported by Michael Mol in http://bugs.gnu.org/11823
---
 NEWS       | 4 ++--
 THANKS.in  | 1 +
 src/stat.c | 5 +++++
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 8c75a32..be98796 100644
--- a/NEWS
+++ b/NEWS
@@ -25,13 +25,13 @@ GNU coreutils NEWS                                    -*- outline -*-
   in all situations on GNU/Linux, by correctly determining the block size.
   [df bug since coreutils-5.0.91, stat bug since the initial implementation]

-  tail -f no longer tries to use inotify on PanFS file systems
+  tail -f no longer tries to use inotify on AUFS or PanFS file systems
   [you might say this was introduced in coreutils-7.5, along with inotify
    support, but even now, its magic number isn't in the usual place.]

 ** New features

-  stat -f recognizes the new remote file system type, panfs.
+  stat -f recognizes the new remote file system types: aufs, panfs.

 ** Changes in behavior

diff --git a/THANKS.in b/THANKS.in
index 2bdeab5..2873594 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -422,6 +422,7 @@ Michael J. Croghan                  mcroghan <at> usatoday.com
 Michael J. Daniel                   michael.j.daniel <at> comcast.net
 Michael McFarland                   sidlon <at> yahoo.com
 Michael McLagan                     mmclagan <at> invlogic.com
+Michael Mol                         mikemol <at> gmail.com
 Michael Piefel                      piefel <at> informatik.hu-berlin.de
 Michael Steffens                    michael.steffens <at> s.netic.de
 Michael Stutz                       stutz <at> dsl.org
diff --git a/src/stat.c b/src/stat.c
index 94b63f6..e56f1ff 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -249,6 +249,11 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
       return "afs";
     case S_MAGIC_ANON_INODE_FS: /* 0x09041934 local */
       return "anon-inode FS";
+    case S_MAGIC_AUFS: /* 0x61756673 remote */
+      /* FIXME: change syntax or add an optional attribute like "inotify:no".
+         The above is labeled as "remote" so that tail always uses polling,
+         but this isn't really a remote file system type.  */
+      return "aufs";
     case S_MAGIC_AUTOFS: /* 0x0187 local */
       return "autofs";
     case S_MAGIC_BEFS: /* 0x42465331 local */
--
1.7.11.1.104.ge7b44f1




Information forwarded to bug-coreutils <at> gnu.org:
bug#11823; Package coreutils. (Sat, 30 Jun 2012 17:13:02 GMT) Full text and rfc822 format available.

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

From: Jim Meyering <jim <at> meyering.net>
To: Michael Mol <mikemol <at> gmail.com>
Cc: 11823 <at> debbugs.gnu.org
Subject: Re: bug#11823: tail: unrecognized file system type 0x61756673 for
	‘/var/log/messages’. please report
	this to bug-coreutils <at> gnu.org. reverting to polling
Date: Sat, 30 Jun 2012 19:08:26 +0200
Jim Meyering wrote:

> Michael Mol wrote:
>> "tail: unrecognized file system type 0x61756673 for
>> ‘/var/log/messages’. please report this to bug-coreutils <at> gnu.org.
>> reverting to polling"
>>
>> At the time, mount indicated the filesystem in question was aufs.
>>
>> The manpage for aufs shows a description of it: "aufs - advanced multi
>> layered unification filesystem. version 3.3-20120326"
>>
>> This was on the Gentoo 12.1 liveDVD.
>
> Thank you!
> Here's the patch I expect to push soon:
>
> Subject: [PATCH] stat,tail: recognize new file system type: aufs
>
> * src/stat.c (human_fstype) [__linux__]: Add a 'case' for the new
> remote file system type: aufs (0x61756673).
> * NEWS (New features): Mention stat -f.
> (Bug fixes): Mention it for tail -f.
> Reported by Michael Mol in http://bugs.gnu.org/11823

I've pushed that, so it will be part of the upcoming coreutils-8.18.

I've also pushed this, to fix a syntax-check FP introduced
by the preceding doc-"improving" change:

From fdfac0d15920a1930f1e46c00683381ae1f77638 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering <at> redhat.com>
Date: Sat, 30 Jun 2012 18:29:38 +0200
Subject: [PATCH] maint: avoid false-positive syntax-check failure due to
 fail=0 in .texi

* cfg.mk (exclude_file_name_regexp--sc_prohibit_fail_0): Exempt
all .texi files.
---
 cfg.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cfg.mk b/cfg.mk
index de05c4b..36458a4 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -463,7 +463,7 @@ exclude_file_name_regexp--sc_file_system = \
 exclude_file_name_regexp--sc_prohibit_always_true_header_tests = \
   ^m4/stat-prog\.m4$$
 exclude_file_name_regexp--sc_prohibit_fail_0 = \
-  (^scripts/git-hooks/commit-msg|^tests/init\.sh|Makefile\.am|\.mk)$$
+  (^.*/git-hooks/commit-msg|^tests/init\.sh|Makefile\.am|\.mk|.*\.texi)$$
 exclude_file_name_regexp--sc_prohibit_atoi_atof = ^lib/euidaccess-stat\.c$$

 tbi_1 = ^tests/pr/|(^gl/lib/reg.*\.c\.diff|Makefile(\.am)?|\.mk|^man/help2man)$$
--
1.7.11.1.104.ge7b44f1




bug closed, send any further explanations to 11823 <at> debbugs.gnu.org and Michael Mol <mikemol <at> gmail.com> Request was from Jim Meyering <jim <at> meyering.net> to control <at> debbugs.gnu.org. (Sat, 30 Jun 2012 17:15:02 GMT) Full text and rfc822 format available.

Forcibly Merged 11823 11835. Request was from Bob Proulx <bob <at> proulx.com> to control <at> debbugs.gnu.org. (Mon, 02 Jul 2012 04:01:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 30 Jul 2012 11:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Sun, 04 Nov 2012 18:47:01 GMT) Full text and rfc822 format available.

Forcibly Merged 11823 11835 12798. Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Sun, 04 Nov 2012 18:47:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 11823 <at> debbugs.gnu.org and Michael Mol <mikemol <at> gmail.com> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 24 Oct 2018 21:58:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 22 Nov 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 6 days ago.

Previous Next


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