du weird results under samba share

Cyrille Lefevre cyrille.lefevre-lists@laposte.net
Thu Jan 27 03:10:00 GMT 2011


Le 26/01/2011 14:27, Corinna Vinschen a écrit :
>
> On Jan 26 13:28, Cyrille Lefevre wrote:
>>
>> Le 26/01/2011 12:06, Corinna Vinschen a écrit :
>>> What does `ls -s' return?  The return value in st_blocks is always a
>>> multiple of 1K(*), which in turn is computed from the "AllocationSize"
>>> value returned by the NtQueryInformationFile function.  Compare that
>>> with `ls -s' on the HP machine.  I wouldn't be surprised if that's a
>>> bug in that Samba version.
>>
>> same result
>>
>> v2$ ls -ls
>> total 3556352
>>     6144 -rwxr--r-- 1 ???????? expl    786432 2011-01-25 20:24 archive.pst
>>   854016 -rwxr--r-- 1 ???????? expl 109216768 2011-01-25 20:33 ratp
>> 2006-2007.pst
>>   905216 -rwxr--r-- 1 ???????? expl 115834880 2011-01-25 20:33 ratp 2008.pst
>>   709632 -rwxr--r-- 1 ???????? expl  90718208 2011-01-25 20:33 ratp 2009.pst
>> 1081344 -rwxr--r-- 1 ???????? expl 138297344 2011-01-25 20:33 ratp 2010.pst
>
> And on the HP machine?  That really looks like a Samba problem.

looks good (in 512c blocks) :

bl03tea4:/divers/archive/perso/x2000818/outlook # ls -ls
total 888592
1536 -rwxr--r--   1 x2000818   expl        786432 Jan 25 20:24 archive.pst
213344 -rwxr--r--   1 x2000818   users      109216768 Jan 26 14:31 ratp 
2006-2007.pst
226256 -rwxr--r--   1 x2000818   users      115834880 Jan 26 14:31 ratp 
2008.pst
177264 -rwxr--r--   1 x2000818   expl       90718208 Jan 26 14:31 ratp 
2009.pst
270192 -rwxr--r--   1 x2000818   expl       138297344 Jan 26 14:31 ratp 
2010.pst

Regards,

Cyrille Lefevre
-- 
mailto:Cyrille.Lefevre-lists@laposte.net



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list