From unknown Sat Aug 16 20:57:26 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#12461 <12461@debbugs.gnu.org> To: bug#12461 <12461@debbugs.gnu.org> Subject: Status: tail: unrecognized file system type 0xbacbacbc Reply-To: bug#12461 <12461@debbugs.gnu.org> Date: Sun, 17 Aug 2025 03:57:26 +0000 retitle 12461 tail: unrecognized file system type 0xbacbacbc reassign 12461 coreutils submitter 12461 Daniel Tschinder severity 12461 normal tag 12461 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 17 11:58:26 2012 Received: (at submit) by debbugs.gnu.org; 17 Sep 2012 15:58:26 +0000 Received: from localhost ([127.0.0.1]:40088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDdiK-0000dF-3P for submit@debbugs.gnu.org; Mon, 17 Sep 2012 11:58:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58238) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDaph-0002mB-3i for submit@debbugs.gnu.org; Mon, 17 Sep 2012 08:53:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDaoP-0001vo-9r for submit@debbugs.gnu.org; Mon, 17 Sep 2012 08:52:34 -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]:41808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDaoP-0001vk-6J for submit@debbugs.gnu.org; Mon, 17 Sep 2012 08:52:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDaoI-00045Z-6c for bug-coreutils@gnu.org; Mon, 17 Sep 2012 08:52:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDaoF-0001tr-On for bug-coreutils@gnu.org; Mon, 17 Sep 2012 08:52:22 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:64481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDaoF-0001tQ-Ej for bug-coreutils@gnu.org; Mon, 17 Sep 2012 08:52:19 -0400 Received: by bkcjc3 with SMTP id jc3so2138826bkc.0 for ; Mon, 17 Sep 2012 05:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=project-a.com; s=google; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version:x-mailer; bh=twHOfm1oNZ/bWpq+bma+8yzHRuK3rd64E71aRM2oecQ=; b=TZsL8SQgfgkuCUic9DLtbzuJDcPsJox3MRSCW+ALzBPi3yDpm4D0DEXMXjCvTNgzb+ a84QlbQnNKupXZT8+/flOpNAzvC4WP1HhU3+hqr5CYUAT4Ht3K2sN8bYUdDXv1Rnf3Xc 0Zkqy/bYs/rqAeUCtAoxnTgij88xOkY5/HIVw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version:x-mailer:x-gm-message-state; bh=twHOfm1oNZ/bWpq+bma+8yzHRuK3rd64E71aRM2oecQ=; b=GdVexouDaZrQhGyOJ4TrXtJWCl7uSOA2snqhouymDBsfoInPgEQroHMBZ3KtcTBatT yey1Z9KmM/x/E4SOpVvIYZrHOEIvUlKHse9Uyp4AVxYEi8uWJur5BqjRmCYMwhqZzLLm lLZZ4BmmXNj3X9P7eN78yexELkghb3XH7+qoWjxTPf/YYM67tYdW2gLcPjZNTI9aHIjt pBXPR5DPCeQBG0YOLvgloE8NLAbxJ2heiIVHywC2nS9nAlh4AkgSrvVVqV3N+1TUYjd+ pxiOk2DQJ6nZIkpKH6asLBhLe6B4pIsH9BCmv5KxLQ6AGNPiuTwRktAHrb74uBbpuurc zJFQ== Received: by 10.204.143.138 with SMTP id v10mr4203871bku.114.1347886337117; Mon, 17 Sep 2012 05:52:17 -0700 (PDT) Received: from [192.168.84.186] (indaol.misterspex.de. [91.102.12.198]) by mx.google.com with ESMTPS id c18sm5389897bkv.8.2012.09.17.05.52.15 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Sep 2012 05:52:16 -0700 (PDT) From: Daniel Tschinder Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: unrecognized file system type 0xbacbacbc Message-Id: <298F5542-EA0F-4A10-BA44-D68FAC6660B6@project-a.com> Date: Mon, 17 Sep 2012 14:52:15 +0200 To: bug-coreutils@gnu.org Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) X-Mailer: Apple Mail (2.1486) X-Gm-Message-State: ALoCoQn7C9rOU0bGDhZvBelFbeMNRL10wxQL3pwynUokRFnCOtZO474K4GKLJg3AtTbyuW7w4RsU 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.2 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 17 Sep 2012 11:58:23 -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.2 (------) Hello, this happens for me when i try to use tail on vmhgfs filesystem (vmwares = shared folder file system) unrecognized file system type 0xbacbacbc for '/data/[.=85..]/sql.log'. = please report this to bug-coreutils@gnu.org. reverting to polling Greets= From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 19 16:09:24 2012 Received: (at 12461) by debbugs.gnu.org; 19 Sep 2012 20:09:24 +0000 Received: from localhost ([127.0.0.1]:44022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEQaH-0000wN-Kx for submit@debbugs.gnu.org; Wed, 19 Sep 2012 16:09:23 -0400 Received: from mx.meyering.net ([88.168.87.75]:35962) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEQaB-0000wA-TX for 12461@debbugs.gnu.org; Wed, 19 Sep 2012 16:09:20 -0400 Received: from rho.meyering.net (rho.meyering.net [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id 94413600BB; Wed, 19 Sep 2012 22:07:47 +0200 (CEST) From: Jim Meyering To: Daniel Tschinder Subject: Re: bug#12461: unrecognized file system type 0xbacbacbc In-Reply-To: <298F5542-EA0F-4A10-BA44-D68FAC6660B6@project-a.com> (Daniel Tschinder's message of "Mon, 17 Sep 2012 14:52:15 +0200") References: <298F5542-EA0F-4A10-BA44-D68FAC6660B6@project-a.com> Date: Wed, 19 Sep 2012 22:07:47 +0200 Message-ID: <87a9wlhj3g.fsf@rho.meyering.net> Lines: 95 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 12461 Cc: 12461@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.5 (--) Daniel Tschinder wrote: > this happens for me when i try to use tail on vmhgfs filesystem > (vmwares shared folder file system) > > unrecognized file system type 0xbacbacbc for > /data/[.=E2=80=A6..]/sql.log'. please report this to > bug-coreutils@gnu.org. reverting to polling Thanks for the report. This is becoming routine and mechanical enough that I've begun to script the patch process ;-) At least this time, the NEWS entry is not mechanically added, since I'm adding to an existing one. I've only read a little about vmhgfs, e.g., http://www.vmware.com/support/ws5/doc/ws_running_shared_folders.html and google showed me only two hits for that magic number, 0xbacbacbc. With that, I'm not sure whether it is safe to tell tail to use inotify for files on a vmhgfs file system. That decides the "local" vs. "remote" part in the patch below. I.e., if running tail -f with the patch below on a file FOO in a shared directory on the host, and a VM appends to FOO, will tail detect that? How about the other way around? I.e., run the tail -f command from the VM and append to FOO from the host? If you can certify that both work, then I can use "local", as in the patch below. If not, then I must use "remote", which will force tail -f to use polling rather than inotify for any file on a VMHGFS file system. Please let us know. Also, please check your name and email address as listed in the log and THANKS.in below. >From bf4fcfe29010512f50b430ef21ba3b5b5059220e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 19 Sep 2012 21:52:05 +0200 Subject: [PATCH] tail,stat: improve support for vmhgfs Inotify-enable tail -f to use on vmhgfs file systems, and let stat -f --format=3D%T report the file system type name, "vmhgfs". * src/stat.c (human_fstype): Add a case: vmhgfs, 0xbacbacbc. * NEWS (Improvements): Mention it. * THANKS.in: Update. Reported by Daniel Tschinder in http://bugs.gnu.org/12461. --- NEWS | 4 ++-- THANKS.in | 1 + src/stat.c | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 59a8510..2268565 100644 --- a/NEWS +++ b/NEWS @@ -49,8 +49,8 @@ GNU coreutils NEWS -*-= outline -*- but only with non-negative whole numbers, an increment of 1, and no format-changing options. - stat and tail work better with ZFS and VZFS. stat -f --format=3D%T now - reports the file system type, and tail -f now uses inotify for files + stat and tail work better with ZFS, VZFS and VMHGFS. stat -f --format= =3D%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. diff --git a/THANKS.in b/THANKS.in index b0061b3..0f06aa0 100644 --- a/THANKS.in +++ b/THANKS.in @@ -139,6 +139,7 @@ Dan Pascu dan@services.iiruc.= ro Daniel Bergstrom noa@melody.se Daniel P. Berrang=C3=A9 berrange@redhat.com Daniel Stavrovski d@stavrovski.net +Daniel Tschinder daniel.tschinder@project-a.com D=C3=A1niel Varga danielv@axelero.hu Danny Levinson danny.levinson@overture.com Darrel Francis d.francis@cheerful.com diff --git a/src/stat.c b/src/stat.c index a9fb951..c343b5d 100644 --- a/src/stat.c +++ b/src/stat.c @@ -413,6 +413,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "usbdevfs"; case S_MAGIC_V9FS: /* 0x01021997 local */ return "v9fs"; + case S_MAGIC_VMHGFS: /* 0xBACBACBC local */ + return "vmhgfs"; case S_MAGIC_VXFS: /* 0xA501FCF5 local */ return "vxfs"; case S_MAGIC_VZFS: /* 0x565A4653 local */ -- 1.7.12.1.382.gb0576a6 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 22 19:29:58 2012 Received: (at 12461) by debbugs.gnu.org; 22 Sep 2012 23:29:58 +0000 Received: from localhost ([127.0.0.1]:49823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFZ92-0002XX-Rm for submit@debbugs.gnu.org; Sat, 22 Sep 2012 19:29:58 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:64033) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFZ8y-0002XL-0E for 12461@debbugs.gnu.org; Sat, 22 Sep 2012 19:29:55 -0400 Received: by bkty12 with SMTP id y12so2353167bkt.3 for <12461@debbugs.gnu.org>; Sat, 22 Sep 2012 16:28:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=project-a.com; s=google; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=qE4V+5sZ0dML+b+WitZFvAZh3JnVKXUAMYHImDokjyY=; b=L+Al2qoq0yXcGGQSdd25OD5Icr+fQNTJlEtuj/II487i0OjpzxwhgO875WXYSmAxRD BO7ezpsT+bbNuzsVQrEl38KbJ1jn2+6W9l15+TClBIdf6ZRPWfNabMqfUbC02qyvpx9i szdywf54d1rqX4mQE5mTnoBc/n82qz1twU6a0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=qE4V+5sZ0dML+b+WitZFvAZh3JnVKXUAMYHImDokjyY=; b=kZVsH3iHbsWcdSuQ/O+4LpmsrVgZYRC//TE0NhSicgJrbwX1X9bm1uDYRrlXWE0php L/EtBA+iXg22r17jJUskhL1YeW4UFsEJazObEMzXIPSAU6m80mUJRHo7y+HglxOQvP4k 1JkOgiJEbtNQWWkXhZqK4DBZpnRu8v83wxFlxvJqjAi/GV1mxz+8GPhyqYCpotQPVPKc amvMwg/i/iU8wHAzx8dNLBRsy373acbF8RmDfWjHc7SLTrNNUJg4DaOHMElmdn83D2+I ZSWadaD1Ic0a5PLSUbaRzAXWpAK4l+ivpIGvkvmDgwbj0/Pn8maEX8hT7lE9Yr3P1fCm xO9w== Received: by 10.204.15.199 with SMTP id l7mr3619242bka.51.1348356485720; Sat, 22 Sep 2012 16:28:05 -0700 (PDT) Received: from [192.168.2.107] (p5B16997F.dip.t-dialin.net. [91.22.153.127]) by mx.google.com with ESMTPS id z25sm1830353bkz.15.2012.09.22.16.28.04 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 22 Sep 2012 16:28:05 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Subject: Re: bug#12461: unrecognized file system type 0xbacbacbc From: Daniel Tschinder In-Reply-To: <87a9wlhj3g.fsf@rho.meyering.net> Date: Sun, 23 Sep 2012 01:28:03 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <8630904E-3B31-4461-B919-A2F503557918@project-a.com> References: <298F5542-EA0F-4A10-BA44-D68FAC6660B6@project-a.com> <87a9wlhj3g.fsf@rho.meyering.net> To: Jim Meyering X-Mailer: Apple Mail (2.1498) X-Gm-Message-State: ALoCoQnH0g5pGlOE7xBrZGUsxGDNNJV9eFKr4pZWgG8THYmKNjoosX2CuQu7+E8H5WCkDILBF6UC X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 12461 Cc: 12461@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.6 (--) This patch does not seem to work. I've tested to tail -f inside the vm and append from host. The initial = error message is not shown, but also the file does not refresh. So all = the appended changes to the file from the host, do not show up in the = running tail-session in vm. I did not test the other way round, as vmhgfs is only used inside the vm = and for the host system Mac OS X 10.8 the shared path is normal mac = filesystem. So it seems inotify is not supported :( Am 19.09.2012 um 22:07 schrieb Jim Meyering : > Daniel Tschinder wrote: >> this happens for me when i try to use tail on vmhgfs filesystem >> (vmwares shared folder file system) >>=20 >> unrecognized file system type 0xbacbacbc for >> /data/[.=85..]/sql.log'. please report this to >> bug-coreutils@gnu.org. reverting to polling >=20 > Thanks for the report. >=20 > This is becoming routine and mechanical enough that I've begun to > script the patch process ;-) >=20 > At least this time, the NEWS entry is not mechanically added, > since I'm adding to an existing one. >=20 > I've only read a little about vmhgfs, e.g., > http://www.vmware.com/support/ws5/doc/ws_running_shared_folders.html > and google showed me only two hits for that magic number, 0xbacbacbc. >=20 > With that, I'm not sure whether it is safe to tell tail > to use inotify for files on a vmhgfs file system. That > decides the "local" vs. "remote" part in the patch below. > I.e., if running tail -f with the patch below on a file FOO in a > shared directory on the host, and a VM appends to FOO, will tail > detect that? How about the other way around? I.e., run the tail -f > command from the VM and append to FOO from the host? If you can > certify that both work, then I can use "local", as in the patch > below. If not, then I must use "remote", which will force tail -f > to use polling rather than inotify for any file on a VMHGFS file = system. >=20 > Please let us know. >=20 > Also, please check your name and email address as listed > in the log and THANKS.in below. >=20 > =46rom bf4fcfe29010512f50b430ef21ba3b5b5059220e Mon Sep 17 00:00:00 = 2001 > From: Jim Meyering > Date: Wed, 19 Sep 2012 21:52:05 +0200 > Subject: [PATCH] tail,stat: improve support for vmhgfs >=20 > Inotify-enable tail -f to use on vmhgfs file systems, and let > stat -f --format=3D%T report the file system type name, "vmhgfs". > * src/stat.c (human_fstype): Add a case: vmhgfs, 0xbacbacbc. > * NEWS (Improvements): Mention it. > * THANKS.in: Update. > Reported by Daniel Tschinder in http://bugs.gnu.org/12461. > --- > NEWS | 4 ++-- > THANKS.in | 1 + > src/stat.c | 2 ++ > 3 files changed, 5 insertions(+), 2 deletions(-) >=20 > diff --git a/NEWS b/NEWS > index 59a8510..2268565 100644 > --- a/NEWS > +++ b/NEWS > @@ -49,8 +49,8 @@ GNU coreutils NEWS = -*- outline -*- > but only with non-negative whole numbers, an increment of 1, and no > format-changing options. >=20 > - stat and tail work better with ZFS and VZFS. stat -f --format=3D%T = now > - reports the file system type, and tail -f now uses inotify for = files > + stat and tail work better with ZFS, VZFS and VMHGFS. stat -f = --format=3D%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. >=20 > diff --git a/THANKS.in b/THANKS.in > index b0061b3..0f06aa0 100644 > --- a/THANKS.in > +++ b/THANKS.in > @@ -139,6 +139,7 @@ Dan Pascu = dan@services.iiruc.ro > Daniel Bergstrom noa@melody.se > Daniel P. Berrang=E9 berrange@redhat.com > Daniel Stavrovski d@stavrovski.net > +Daniel Tschinder daniel.tschinder@project-a.com > D=E1niel Varga danielv@axelero.hu > Danny Levinson danny.levinson@overture.com > Darrel Francis d.francis@cheerful.com > diff --git a/src/stat.c b/src/stat.c > index a9fb951..c343b5d 100644 > --- a/src/stat.c > +++ b/src/stat.c > @@ -413,6 +413,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) > return "usbdevfs"; > case S_MAGIC_V9FS: /* 0x01021997 local */ > return "v9fs"; > + case S_MAGIC_VMHGFS: /* 0xBACBACBC local */ > + return "vmhgfs"; > case S_MAGIC_VXFS: /* 0xA501FCF5 local */ > return "vxfs"; > case S_MAGIC_VZFS: /* 0x565A4653 local */ > -- > 1.7.12.1.382.gb0576a6 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 23 03:26:11 2012 Received: (at 12461) by debbugs.gnu.org; 23 Sep 2012 07:26:11 +0000 Received: from localhost ([127.0.0.1]:50136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFgZs-0004mk-5e for submit@debbugs.gnu.org; Sun, 23 Sep 2012 03:26:10 -0400 Received: from mx.meyering.net ([88.168.87.75]:47596) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFgZl-0004mE-Vv for 12461@debbugs.gnu.org; Sun, 23 Sep 2012 03:26:06 -0400 Received: from rho.meyering.net (rho.meyering.net [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id 4452660096; Sun, 23 Sep 2012 09:24:12 +0200 (CEST) From: Jim Meyering To: Daniel Tschinder Subject: Re: bug#12461: unrecognized file system type 0xbacbacbc In-Reply-To: <8630904E-3B31-4461-B919-A2F503557918@project-a.com> (Daniel Tschinder's message of "Sun, 23 Sep 2012 01:28:03 +0200") References: <298F5542-EA0F-4A10-BA44-D68FAC6660B6@project-a.com> <87a9wlhj3g.fsf@rho.meyering.net> <8630904E-3B31-4461-B919-A2F503557918@project-a.com> Date: Sun, 23 Sep 2012 09:24:12 +0200 Message-ID: <87obkx19sz.fsf@rho.meyering.net> Lines: 80 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 12461 Cc: 12461@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.4 (--) Daniel Tschinder wrote: > This patch does not seem to work. > I've tested to tail -f inside the vm and append from host. The initial > error message is not shown, but also the file does not refresh. So all > the appended changes to the file from the host, do not show up in the > running tail-session in vm. > > I did not test the other way round, as vmhgfs is only used inside the > vm and for the host system Mac OS X 10.8 the shared path is normal mac > filesystem. > > So it seems inotify is not supported :( Thanks for checking. I've adjusted the patch, NEWS and log to reflect that and pushed this: >From 2dad87f6415ec68564e934ace33496db1abc68c7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 19 Sep 2012 21:52:05 +0200 Subject: [PATCH] tail,stat: improve support for vmhgfs Teach tail -f that it must use polling on vmhgfs file systems, and let stat -f --format=3D%T report the file system type name, "vmhgfs". * src/stat.c (human_fstype): Add a case: vmhgfs, 0xbacbacbc, remote. * NEWS (Improvements): Mention it. * THANKS.in: Update. Reported by Daniel Tschinder in http://bugs.gnu.org/12461. --- NEWS | 9 +++++---- THANKS.in | 1 + src/stat.c | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 59a8510..9bd5d58 100644 --- a/NEWS +++ b/NEWS @@ -49,10 +49,11 @@ GNU coreutils NEWS -= *- outline -*- but only with non-negative whole numbers, an increment of 1, and no format-changing options. - stat and tail work better with ZFS and VZFS. stat -f --format=3D%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. + stat and tail know about ZFS, VZFS and VMHGFS. stat -f --format=3D%T now + reports the file system type, and tail -f now uses inotify for files on + ZFS and VZFS file systems, rather than the default (for unknown file + system types) of issuing a warning and reverting to polling. tail -f + still uses polling for files on VMHGFS file systems. ** Build-related diff --git a/THANKS.in b/THANKS.in index b0061b3..0f06aa0 100644 --- a/THANKS.in +++ b/THANKS.in @@ -139,6 +139,7 @@ Dan Pascu dan@services.iiruc.= ro Daniel Bergstrom noa@melody.se Daniel P. Berrang=E9 berrange@redhat.com Daniel Stavrovski d@stavrovski.net +Daniel Tschinder daniel.tschinder@project-a.com D=E1niel Varga danielv@axelero.hu Danny Levinson danny.levinson@overture.com Darrel Francis d.francis@cheerful.com diff --git a/src/stat.c b/src/stat.c index a9fb951..51f4b90 100644 --- a/src/stat.c +++ b/src/stat.c @@ -413,6 +413,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "usbdevfs"; case S_MAGIC_V9FS: /* 0x01021997 local */ return "v9fs"; + case S_MAGIC_VMHGFS: /* 0xBACBACBC remote */ + return "vmhgfs"; case S_MAGIC_VXFS: /* 0xA501FCF5 local */ return "vxfs"; case S_MAGIC_VZFS: /* 0x565A4653 local */ -- 1.7.12.1.382.gb0576a6 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 23 05:48:03 2012 Received: (at 12461) by debbugs.gnu.org; 23 Sep 2012 09:48:04 +0000 Received: from localhost ([127.0.0.1]:50308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFinD-0007yC-CH for submit@debbugs.gnu.org; Sun, 23 Sep 2012 05:48:03 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:54630) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFin6-0007xk-Rz for 12461@debbugs.gnu.org; Sun, 23 Sep 2012 05:48:01 -0400 Received: by bkty12 with SMTP id y12so2468958bkt.3 for <12461@debbugs.gnu.org>; Sun, 23 Sep 2012 02:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=project-a.com; s=google; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=F0M+lOgW9837swY4EYjbsH+ou5ZzUGnUqmrt57AFzG0=; b=jUPWM7WX9FporHKcS93Aq+TUkxHETt16YFjfCZ/jb1R8/f9hxtTSZBk7MrZhrQK7gw DXGclf7eTDrs7GTdQrGN9QRcNn56ILcd1caQeyD8yn6Vo0cHdgh2pj2+YtF5wMhf84Fj 0CRbNBdf20zpp9EKUQUoVEF4E+DAB0KlXbOis= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=F0M+lOgW9837swY4EYjbsH+ou5ZzUGnUqmrt57AFzG0=; b=ho/xGHKsdn4bMXNlt3yXAnh5dj08H99gu1WRsEBoUhhZ6CAvt8CTK8CEoD+An/aHF7 IxhSyYxql3/tbduR099BIMTgN1gRiXAKnRvZyRolTo0tcdkusu9tQwdv9c88dFQid27s cDCdm0UXrwe0YfXyljyYKseFNpLYqroSrMaqTyLhXibtGjhpwgTDUM9EQQGVGqL7h/SL WfGYpQPzIDQjM03GAmYm3v8xnttc11WAdjEa+DDQFOdOX+EgfWH3ibTtF/teO4EPpprM iZwo2qaF/PtrgI0ZCnlzdf3WGZ2eH0MmqbgoaFLZ4ZOdrTpaCmysER4DOxW47o/oL8JI qogA== Received: by 10.204.5.148 with SMTP id 20mr943082bkv.28.1348393568256; Sun, 23 Sep 2012 02:46:08 -0700 (PDT) Received: from [192.168.2.107] (p5B16A360.dip.t-dialin.net. [91.22.163.96]) by mx.google.com with ESMTPS id t23sm8372489bks.4.2012.09.23.02.46.07 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 23 Sep 2012 02:46:07 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Subject: Re: bug#12461: unrecognized file system type 0xbacbacbc From: Daniel Tschinder In-Reply-To: <87obkx19sz.fsf@rho.meyering.net> Date: Sun, 23 Sep 2012 11:46:06 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <298F5542-EA0F-4A10-BA44-D68FAC6660B6@project-a.com> <87a9wlhj3g.fsf@rho.meyering.net> <8630904E-3B31-4461-B919-A2F503557918@project-a.com> <87obkx19sz.fsf@rho.meyering.net> To: Jim Meyering X-Mailer: Apple Mail (2.1498) X-Gm-Message-State: ALoCoQmAvQo+qFnQUOccSZ6TN4kZgeTjRxKS7j/EtSKhzcwlyEHlurHyL+fxuYLkTdKU+6Taiw9W X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 12461 Cc: 12461@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.6 (--) Ahh great, that woks. Magical comments :) Thanks for fixing this bug. Am 23.09.2012 um 09:24 schrieb Jim Meyering : > Daniel Tschinder wrote: >> This patch does not seem to work. >> I've tested to tail -f inside the vm and append from host. The = initial >> error message is not shown, but also the file does not refresh. So = all >> the appended changes to the file from the host, do not show up in the >> running tail-session in vm. >>=20 >> I did not test the other way round, as vmhgfs is only used inside the >> vm and for the host system Mac OS X 10.8 the shared path is normal = mac >> filesystem. >>=20 >> So it seems inotify is not supported :( >=20 > Thanks for checking. > I've adjusted the patch, NEWS and log to reflect that and pushed this: >=20 > =46rom 2dad87f6415ec68564e934ace33496db1abc68c7 Mon Sep 17 00:00:00 = 2001 > From: Jim Meyering > Date: Wed, 19 Sep 2012 21:52:05 +0200 > Subject: [PATCH] tail,stat: improve support for vmhgfs >=20 > Teach tail -f that it must use polling on vmhgfs file systems, and > let stat -f --format=3D%T report the file system type name, "vmhgfs". > * src/stat.c (human_fstype): Add a case: vmhgfs, 0xbacbacbc, remote. > * NEWS (Improvements): Mention it. > * THANKS.in: Update. > Reported by Daniel Tschinder in http://bugs.gnu.org/12461. > --- > NEWS | 9 +++++---- > THANKS.in | 1 + > src/stat.c | 2 ++ > 3 files changed, 8 insertions(+), 4 deletions(-) >=20 > diff --git a/NEWS b/NEWS > index 59a8510..9bd5d58 100644 > --- a/NEWS > +++ b/NEWS > @@ -49,10 +49,11 @@ GNU coreutils NEWS = -*- outline -*- > but only with non-negative whole numbers, an increment of 1, and no > format-changing options. >=20 > - stat and tail work better with ZFS and VZFS. stat -f --format=3D%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. > + stat and tail know about ZFS, VZFS and VMHGFS. stat -f --format=3D%T= now > + reports the file system type, and tail -f now uses inotify for = files on > + ZFS and VZFS file systems, rather than the default (for unknown = file > + system types) of issuing a warning and reverting to polling. tail = -f > + still uses polling for files on VMHGFS file systems. >=20 > ** Build-related >=20 > diff --git a/THANKS.in b/THANKS.in > index b0061b3..0f06aa0 100644 > --- a/THANKS.in > +++ b/THANKS.in > @@ -139,6 +139,7 @@ Dan Pascu = dan@services.iiruc.ro > Daniel Bergstrom noa@melody.se > Daniel P. Berrang=E9 berrange@redhat.com > Daniel Stavrovski d@stavrovski.net > +Daniel Tschinder daniel.tschinder@project-a.com > D=E1niel Varga danielv@axelero.hu > Danny Levinson danny.levinson@overture.com > Darrel Francis d.francis@cheerful.com > diff --git a/src/stat.c b/src/stat.c > index a9fb951..51f4b90 100644 > --- a/src/stat.c > +++ b/src/stat.c > @@ -413,6 +413,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) > return "usbdevfs"; > case S_MAGIC_V9FS: /* 0x01021997 local */ > return "v9fs"; > + case S_MAGIC_VMHGFS: /* 0xBACBACBC remote */ > + return "vmhgfs"; > case S_MAGIC_VXFS: /* 0xA501FCF5 local */ > return "vxfs"; > case S_MAGIC_VZFS: /* 0x565A4653 local */ > -- > 1.7.12.1.382.gb0576a6 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 15 13:38:58 2018 Received: (at control) by debbugs.gnu.org; 15 Oct 2018 17:38:58 +0000 Received: from localhost ([127.0.0.1]:51199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gC6pW-000141-BH for submit@debbugs.gnu.org; Mon, 15 Oct 2018 13:38:58 -0400 Received: from mail-it1-f173.google.com ([209.85.166.173]:37939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gC6pU-00013p-Fa for control@debbugs.gnu.org; Mon, 15 Oct 2018 13:38:56 -0400 Received: by mail-it1-f173.google.com with SMTP id i76-v6so28825804ita.3 for ; Mon, 15 Oct 2018 10:38:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=gJ3olGqj1YgpTPLrggzb4JvbBSqXzQTQJQyZK+Z6bAk=; b=En5rWc44UajUrfC/kqj4Gs4CTgGnN3JMqvnPBmNNnXaYACMhVPzvmE2yEi/i7nciBr VkecXTBjokF3b9Sq9KQAP+kjNaTaNv04H3JRfRnqdP0SuwE2HAuTeI3NUuYHx0nAmpOo Xi8ZXybyBuUcZp//DHajaMaGvjuNyLrGrrSNOIy+gDpP8vcfBWvuiCpHFQ76cR5DWAMn 036kI2rgWno6uF+bth+nyofaftGkdgIOBdT56T1Ii+hfnjc7b/G1DnZKoYCXPFxqkRd8 XPka7oB1dN0loAGlm9Ij8ciJVV5gScLygvMK8C2HZtTBF0QvY9+6dT0WvC8bg7YPj9+y elRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=gJ3olGqj1YgpTPLrggzb4JvbBSqXzQTQJQyZK+Z6bAk=; b=iS23Ac90hyYBVSyTKOsmQdcmWidhuor4jHXkNmRmRacKUwBvaHKJRFhVj0peW5bqCZ O1SwVfKMmpu2dgEsoUMbkqozfsDUj9q5/YUo2h9sMHL0BLK20dmUP8LHO7J7R3gQLgL6 FSYcEbSmz/IGUN3Tmjqy2zKIB+x34t4nXRnZGzmjavMsfkB8IHjDjnQq3TTcHNL+gK/5 JkwMmT9nHlbVAVB/QWVojnZJ5+AexAQ8Pw9ai+WikILCAU8dDgd9+SKnxSfUkc7pO8+H CyozxrvxrEDRPN1azvmSIpxrF1puxW5wPFSBQ0KEwLxZfU0QLDFYJVdHzbhyXBRR5BWr /Bng== X-Gm-Message-State: ABuFfoh32OJzADzAynJjBk9Cus6actaTy+WcimYlUz9rkXOluQTH22w5 /ra6sL7w2XznZSXFH//Le15b2N+wa4Y= X-Google-Smtp-Source: ACcGV63KY97mIQS9oMXqDWLQfHrU1z9atPn7e2Kw9vvDi4nWIexYlS21kCzGGAoOuQkt0ZNAXcBeQg== X-Received: by 2002:a02:601c:: with SMTP id i28-v6mr15200280jac.105.1539625130516; Mon, 15 Oct 2018 10:38:50 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id b129-v6sm6308753ioa.75.2018.10.15.10.38.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Oct 2018 10:38:49 -0700 (PDT) To: control@debbugs.gnu.org From: Assaf Gordon Message-ID: Date: Mon, 15 Oct 2018 11:38:47 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 12461 fixed retitle 12461 tail: unrecognized file system type 0xbacbacbc close 12461 [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.166.173 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.166.173 listed in wl.mailspike.net] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 1.0 (+) tags 12461 fixed retitle 12461 tail: unrecognized file system type 0xbacbacbc close 12461 From unknown Sat Aug 16 20:57:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 13 Nov 2018 12:24:10 +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