bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: df and multiple-mounted mountpoints (redux)


From: Christian Jones
Subject: Re: df and multiple-mounted mountpoints (redux)
Date: Thu, 29 Apr 2004 20:10:58 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4

Paul Eggert wrote:

It seems to me that the basic problem is that when there are multiple
filesystems mounted on the same mount point, "df" prefers the first
one listed, but on your host (and I think this is traditional
behavior) it should prefer the last.

Exactly. (In case you're curious, df <file> is the only shell utility I could find mentioned in the single unix standard that reports what filesystem a file is on---so I thought it should get it right ;-). Not only does it report on free space, it slices, dices, and makes Julienne fries!)

Here's a proposed patch to implement this behavior.  Can you please
try this out?

Works exactly as I'd hoped. Thanks for the excellent work (not to mention the rapid turnaround)! Keep up the great work, Paul.
CDJ

--
Christian Jones
address@hidden
http://www.aleph0.com/~chjones




reply via email to

[Prev in Thread] Current Thread [Next in Thread]