mount command absurdly verbose?

Reindl Harald h.reindl at thelounge.net
Tue Nov 22 12:59:39 UTC 2011



Am 22.11.2011 13:53, schrieb Timothy Murphy:
> Does anyone agree with me that the mount command
> (when used simply to get information)
> has become absurdly verbose?
> 
> I only use this command to determine
> what hard disks are mounted.
> Now I have to wade through large tracts of information
> that make no sense to me, to find the few lines about hard disks.
> 
> Is there any way of getting the information one used to get,
> short of saying something like "mount | grep sd"?
> 
> I think this change already took place in Fedora-15.

this MAJOR BUG was introduced with F15 and nobody cares

https://bugzilla.redhat.com/show_bug.cgi?id=709351
https://bugzilla.redhat.com/show_bug.cgi?id=730138

this is absolutely unacceptable and starts to become
funny if you are using sftp with chroots instead of
ftp while you have to make tons auf bind-mounts and
the permission error for "/var/named/chroot" breaks
ANYTHING which is not running as root and calling df
in a cronjob resulting with useless mails to root
_____________________________________________________

[harry at srv-rhsoft:~]$ df
Dateisystem   Typ    Größe Benut  Verf Ben%% Eingehängt auf
/dev/md1      ext4     29G  8,0G   21G  28% /
/dev/md0      ext4    485M   52M  429M  11% /boot
/dev/md2      ext4    3,6T  1,3T  2,3T  36% /mnt/data

[harry at srv-rhsoft:~]$ which df
alias df='df -hT 2> /dev/null | grep -v tmpfs | grep -v rootfs | grep -v /chroot/ | grep -v
/Volumes/dune/www-servers | grep -v /var/cache/yum | grep -v /home | grep -v /tmp'
        /bin/df
        /bin/grep
        /bin/grep
        /bin/grep
        /bin/grep
        /bin/grep
        /bin/grep
        /bin/grep
_____________________________________________________

[harry at srv-rhsoft:~]$ /bin/df -hT
Dateisystem   Typ    Größe Benut  Verf Ben%% Eingehängt auf
rootfs      rootfs     29G  8,0G   21G  28% /
udev      devtmpfs    7,8G  4,0K  7,8G   1% /dev
tmpfs        tmpfs    1,0G     0  1,0G   0% /dev/shm
tmpfs        tmpfs    7,9G  616K  7,9G   1% /run
/dev/md1      ext4     29G  8,0G   21G  28% /
tmpfs        tmpfs    7,9G     0  7,9G   0% /sys/fs/cgroup
tmpfs        tmpfs    7,9G  616K  7,9G   1% /var/run
tmpfs        tmpfs    7,9G  616K  7,9G   1% /var/lock
tmpfs        tmpfs    7,9G     0  7,9G   0% /media
tmpfs        tmpfs    150M     0  150M   0% /var/www/sessiondata
tmpfs        tmpfs    5,0G     0  5,0G   0% /var/tmp
/dev/md0      ext4    485M   52M  429M  11% /boot
/dev/md2      ext4    3,6T  1,3T  2,3T  36% /mnt/data
/dev/md2      ext4    3,6T  1,3T  2,3T  36% /home
/dev/md2      ext4    3,6T  1,3T  2,3T  36% /var/cache/yum
/dev/md2      ext4    3,6T  1,3T  2,3T  36% /tmp
/dev/md2      ext4    3,6T  1,3T  2,3T  36% /Volumes/dune/www-servers
/dev/md2      ext4    3,6T  1,3T  2,3T  36% /Volumes/dune/www-servers/phpincludes
/bin/df: „/var/named/chroot/etc/named“: Keine Berechtigung
/bin/df: „/var/named/chroot/usr/lib64/bind“: Keine Berechtigung
/bin/df: „/var/named/chroot/etc/named.iscdlv.key“: Keine Berechtigung
/bin/df: „/var/named/chroot/etc/named.root.key“: Keine Berechtigung

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20111122/eb443c64/attachment.bin 


More information about the users mailing list