Re: du confusion

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

 



On Tue, Feb 21, 2006 at 10:06:30AM +1100, Russell Coker wrote:
> 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".

That would be really evil, du is *supposed* to report disk usage not 
file sizes.  It's always been true that disk usage and file size can 
diverge, that's why du and ls are separate tools.

joe

--
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