GNU bug report logs - #20578
du counts a multiple times bind-mounted directory just for the first listed directory in a directory lists

Previous Next

Package: coreutils;

Reported by: Toralf Förster <toralf.foerster <at> gmx.de>

Date: Thu, 14 May 2015 18:38:02 UTC

Severity: normal

Tags: notabug

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

Bug is archived. No further changes may be made.

Full log


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

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 20578 <at> debbugs.gnu.org
Subject: Re: bug#20578: du counts a multiple times bind-mounted directory just
 for the first listed directory in a directory lists
Date: Mon, 22 Oct 2018 20:20:19 -0600
tags 20578 notabug
close 20578
stop

(triaging old bugs)

On 14/05/15 08:35 PM, Paul Eggert wrote:
> Toralf Förster wrote:
>> I do bind-mount a directory from the host (~35 GB of downloaded 
>> package files) onto a directory of each of the chroots to save space 
>> and bandwith.
>> A "du -ms" however counts that value just for the first listed 
>> directories
> 
> It sounds like 'du' is doing the right thing.  du is supposed to count 
> disk usage, which means it's not supposed to double-count files.

With no further comments in 3 years, I'm closing this bug.
Discussion can continue by replying to this thread.

-assaf




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

Previous Next


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