Bug 11404 - Fails to parse df output for loooong device names
: Fails to parse df output for loooong device names
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/alterator-sysinfo)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2007-04-07 15:20 by
Modified: 2007-04-22 19:22 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-04-07 15:20:26
Скриншот:

mount point  	total  	free  	used  	usage in percents
/ 	1003M 	828M 	125M 	14%
/dev 	5.0M 	5.0M 	84K 	2%
/dev/shm 	248M 	248M 	0 	0%
/boot 	29M 	23M 	4.2M 	16%
				
	1.9G 	67% 	955M 	/usr
				
	11G 	57% 	8.2G 	/var
				
	9.9G 	36% 	19G 	/home
/tmp 	1.0G 	1.0G 	12K 	1%

Команда:

$ df -lh
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5            1003M  125M  828M  14% /
udevfs                5.0M   84K  5.0M   2% /dev
shmfs                 248M     0  248M   0% /dev/shm
/dev/sda1              29M  4.2M   23M  16% /boot
/dev/mapper/storage-usr
                      3.0G  1.9G  955M  67% /usr
/dev/mapper/storage-var
                       20G   11G  8.2G  57% /var
/dev/mapper/storage-home
                       30G  9.9G   19G  36% /home
tmpfs                 1.0G   12K  1.0G   1% /tmp

С другой стороны:

$ df -lhP  
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5            1003M  125M  828M  14% /
udevfs                5.0M   84K  5.0M   2% /dev
shmfs                 248M     0  248M   0% /dev/shm
/dev/sda1              29M  4.2M   23M  16% /boot
/dev/mapper/storage-usr  3.0G  1.9G  955M  67% /usr
/dev/mapper/storage-var   20G   11G  8.2G  57% /var
/dev/mapper/storage-home   30G  9.9G   19G  36% /home
tmpfs                 1.0G   12K  1.0G   1% /tmp
------- Comment #1 From 2007-04-09 10:55:02 -------
добавил -P