Bug 11404 - Fails to parse df output for loooong device names
Summary: Fails to parse df output for loooong device names
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: alterator-sysinfo (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: inger@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-07 15:20 MSD by Sir Raorn
Modified: 2007-04-22 19:22 MSD (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sir Raorn 2007-04-07 15:20:26 MSD
Скриншот:

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 inger@altlinux.org 2007-04-09 10:55:02 MSD
добавил -P