Package: di
Version: 4.34-2
Severity: normal
Hi there.
First of all, thank you for maintaining di. It is so really useful that it
is one of the first things that I install on each and every system that I
use.
I have noticed a problem with di when trying to see the amount of space of
an NFS mounted filesystem. In particular, I want to see the amount of space
of my root (local) system and of my NFS mounted filsystem.
When I issue `di -m /`, I get the expected output:
,----[ di -m / ]
| Filesystem Mount Mebis Used Avail %Used fs
Type
| /dev/sdc1 / 462186.2 237931.0 224239.2 51%
ext4
`----
When I issue `di -m /media/lattes`, I also get the expected output:
,----[ di -m /media/lattes/ ]
| Filesystem Mount Mebis Used Avail %Used fs
Type
| 192.168.1.100:/hom /media/lattes 714450.7 657506.1 56928.5 92%
nfs4
`----
Unfortunately, when I issue `di -m / /media/lattes` to show the space of
both filesystems, I only get one entry back (the local filesystem, excluding
the NFS-mounted filesystem):
,----[ di -m / /media/lattes ]
| Filesystem Mount Mebis Used Avail %Used fs
Type
| /dev/sdc1 / 462186.2 237931.0 224239.2 51%
ext4
`----
Just for the record, GNU coreutil's df doesn't have this bug, but its output
is horrendous:
,----[ df -m / /media/lattes ]
| Filesystem 1M-blocks Used
Available Use% Mounted on
| /dev/disk/by-uuid/c1b72bf3-c292-411d-832a-0b92510b158f 462187 237932
224240 52% /
| 192.168.1.100:/home/rbrito 714451 657507
56929 93% /media/lattes
`----
I would have expected di to show me an output like (this is edited):
,----
| Filesystem Mount Mebis Used Avail %Used fs
Type
| /dev/sdc1 / 462186.2 237931.0 224239.2 51%
ext4
| 192.168.1.100:/hom /media/lattes 714450.7 657506.1 56928.5 92%
nfs4
`----
Thanks once again,
Rogério Brito.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages di depends on:
ii libc6 2.17-97
di recommends no packages.
di suggests no packages.
-- no debconf information
--
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://rb.doesntexist.org/blog : Projects : https://github.com/rbrito/
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]