delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/26/08:27:52

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 26 Jan 2011 14:27:31 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: du weird results under samba share
Message-ID: <20110126132731.GO28470@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4D3F6A62 DOT 1060705 AT laposte DOT net> <20110126110628 DOT GL28470 AT calimero DOT vinschen DOT de> <4D401384 DOT 7090803 AT laposte DOT net>
MIME-Version: 1.0
In-Reply-To: <4D401384.7090803@laposte.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019