[systemd-devel] when will mount / df get fixed?

Lennart Poettering lennart at poettering.net
Wed Oct 10 12:47:59 PDT 2012


On Wed, 10.10.12 12:48, Marti Raudsepp (marti at juffo.org) wrote:

> 
> On Mon, Oct 1, 2012 at 8:22 PM, Jan Engelhardt <jengelh at inai.de> wrote:
> >>and how they should do this after the change that there
> >>is no flag? dispaly a RANDOM line?
> >
> > That is a possibility. Based upon that you are only interested
> > in the device anyway, I conclude the mountpoint is irrelevant.
> 
> I didn't read the whole thread so maybe this has already been proposed, but...
> 1) we want df to show space usage by disk
> 2) we want df to show mount points
> 3) the mapping from disks to mount points is one-to-many
> 
> Why not just collect all the relevant mount points on one line, for
> each disk? This way we don't throw away any information, but prevent
> repeating redundant information that's always the same for each disk.

This comes very close to what I suggested, except that I suggested
ellipsation before listing too many mount points per entry.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list