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

microcai microcai at fedoraproject.org
Wed Oct 10 19:25:15 PDT 2012


2012/10/11 Lennart Poettering <lennart at poettering.net>:
> 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.

why not fix df

>
> Lennart
>
> --
> Lennart Poettering - Red Hat, Inc.
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list