Unix Extension & "du"

Samuel Thibault samuel.thibault at ens-lyon.org
Fri Sep 17 07:37:59 GMT 2004


Le jeu 16 sep 2004 à 16:44:45 -0700, Jeremy Allison a tapoté sur son clavier :
> On Fri, Sep 17, 2004 at 12:52:46AM +0200, Samuel Thibault wrote:
> > while the kernel does (and has always been doing since addition to
> > 2.5.40)
> >         fattr->f_blocks = LVAL(p, 8);
> > I.e. takes it as a number of sectors.
> 
> I changed this to number of bytes on disk, not number of sectors, as 
> there is no POSIX agreement on how many bytes per sector.

And is there any implementation that sends a number of blocks ?

Regards,
-- 
Samuel Thibault <samuel.thibault at ens-lyon.org>
X-Favorit-Cartoon: Calvin and Hobbes
 -+- Mail header of Wim van Dorst -+-


More information about the samba-technical mailing list