du confusion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



du currently displays the total count of blocks used for the file including 
block(s) for XATTRs.  This means that every file is reported as having a 
block used for the security.selinux XATTR (even though those blocks are 
shared extensively on typical SE Linux systems).

A more useful display on SE Linux systems is to have the --apparent-size 
option of du enabled.  I suggest that we have a default install of Fedora 
alias "du" to "du --apparent-size".

Currently in a default install we have rm aliased to "rm -i" (and similar for 
mv and cp), so it seems that there is a good precedent for this sort of 
thing.

What do you think?

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux