GNU bug report logs - #12730
coreutils-8.20: FAIL: tests/du/bind-mount-dir-cycle.sh

Previous Next

Package: coreutils;

Reported by: g.esp <at> free.fr

Date: Thu, 25 Oct 2012 08:46:01 UTC

Severity: normal

Tags: fixed

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

Bug is archived. No further changes may be made.

Full log


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

From: Andrew Warshall <warshall <at> 99main.com>
To: 12730 <at> debbugs.gnu.org
Subject: bug #12730: patch attached
Date: Sun, 4 Nov 2012 11:08:53 -0500
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> If we went that route, we'd change how me_dummy is set so that it
> takes account of your case.  For example, we might add a boolean
> "is_bind_mount" parameter to ME_DUMMY macro, so that when me_type is
> "none" and is_bind_mount is true, ME_DUMMY would evaluate to false,
> rather than to true.  The only tricky part would be robustly
> determining whether "bind" is in mnt->mnt_opts.
> 
> Care to write the patch?

I've attached (an attempt at) the suggested patch. It should work on
Linux/glibc, but should be tested on other platforms.

           -Andrew Warshall
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBAgAGBQJQlpMVAAoJEESPRWh79T7tLTEH/jCBXk2iba986voeEJqj47Gm
ZnuYZG2Jk9m4t+AbLzijLXA3W4g3gfyVAwRj+QjTNr6WXZLZcaZ30fbp6pZh4WMz
0VNeccRc+J5iGub0M9qXWgQuG/5mDCZBqTNh3bZVZPKsFjvasjPYYRvTd6SXSQLa
oASF8NnaLw2J954q30+Gai7rfXVB+d9IhILIuuU87JfNnsxdDpLRrNvCoCwbSC2k
nhMcaRVugAh/9LO3hPcnxOlf2SUhwhYA/t3f4SXh+5nIW/wxFO0h7QN4Ra10/vxX
yzrdcrHgpNftM9Kc6kk/vStJgn94nt4DmQy/7t5o1fvdUCFxWFTGVnrTRHcJUuI=
=X46G
-----END PGP SIGNATURE-----
[coreutils-8.20-bind-mount.patch.gz (application/octet-stream, attachment)]

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

Previous Next


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