GNU bug report logs - #49298
[PATCH] df: do not print duplicated entires with NFS and bind mounts

Previous Next

Package: coreutils;

Reported by: Kamil Dudka <kdudka <at> redhat.com>

Date: Wed, 30 Jun 2021 15:54:01 UTC

Severity: normal

Tags: patch

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


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

From: L A Walsh <coreutils <at> tlinx.org>
Cc: Kamil Dudka <kdudka <at> redhat.com>, Coreutils <bug-coreutils <at> gnu.org>
Subject: Re: bug#49298: [PATCH] df: do not print duplicated entires with NFS
 and bind mounts
Date: Thu, 01 Jul 2021 23:23:13 -0700
On 2021/06/30 08:53, Kamil Dudka wrote:
> The proposed patch makes sure that the devlist entry seen the last time
> is used for comparison when eliminating duplicated mount entries.
---
   I'm a bit surprised that the devlists exported for NFS are the same
as for smb.  How is that guaranteed?  But more important, does it work with
other network file systems?  Mostly I'm thinking about mounts of
NTFS from a win server.  I've gotten different results over time, 
specifically,
in regards to whether or not inode numbers are unique.

   Would it be possible for the network file systems to return
different amounts for free+used space depending on the net-interface
being used (I don't know -- I'd hope it wasn't likely, but ....)

   Another way of solving this issue, other than by special casing
SMB+NFS, a switch that prohibits crossing over to another networked
file system, and a different setting that prohibits crossing over to
another device.  I think there is a need for both as well as how initial
args are treated -- as is done with 'find' in all its diversity! ;-)

Patches to reintroduce behaviors that might result in non-deterministic
behaviors are, at least, "worrisome".





This bug report was last modified 3 years and 320 days ago.

Previous Next


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