GNU bug report logs - #15328
Bug or dubious feature?

Previous Next

Package: coreutils;

Reported by: Linda Walsh <coreutils <at> tlinx.org>

Date: Tue, 10 Sep 2013 20:50: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 15328 <at> debbugs.gnu.org (full text, mbox):

From: Linda Walsh <coreutils <at> tlinx.org>
To: 15328 <at> debbugs.gnu.org
Subject: Re: bug#15328: Bug or dubious feature? (coreutils consistency prob)
Date: Wed, 11 Sep 2013 16:00:04 -0700

Linda Walsh wrote:
> 
> Whatever the problem is, it's not in 'mv'...
----
	But there is a consistency problem in core utils.

Even though /usr/share/fonts and /home/share/fonts are the same directory
with /home/share being mounted with "rbind" on /usr/share,

"mv" cannot move files between the two dirs without copying them.  That
"might" be ok, except that "du -sh /usr/share/fonts /home/share/fonts/"
sees them as 1 directory.

Why does "mv" fail to rename (vs. physical copy) when "du" sees them
as the same directory -- (and only lists the first one if trying to du both):

  Ishtar:/> du -sh /home/share/fonts/. /usr/share/fonts/.
  8.8G    /home/share/fonts/.
  Ishtar:/> du -sh /usr/share/fonts/. /home/share/fonts/.
  8.8G    /usr/share/fonts/.

---

Also, is it intentional to leave out args from the listing of "du" --
I know it doesn't double-count the space (by default), but I would have
thought to see a 2nd entry w/0 space:

  Ishtar:/> du -sh /home/share/fonts/. /usr/share/fonts/.
  8.8G    /home/share/fonts/.
  0       /usr/share/fonts/.





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

Previous Next


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