X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SARE_FREE_WEBM_LAPOSTE,TW_RW,TW_WX,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4D3F6A62.1060705@laposte.net> Date: Wed, 26 Jan 2011 01:27:14 +0100 From: Cyrille Lefevre User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: du weird results under samba share Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-me-spamlevel: not-spam X-me-spamrating: 38.000000 X-me-spamcause: OK, (-50)(0000)gggruggvucftvghtrhhoucdtuddrfeduuddrtddvucetggdotefuucfrrhhofhhilhgvmecuoehnohhnvgeqnecuuegrihhlohhuthemuceftddtnecushgvrhhirghluchnuhhmsggvrhculddqhedtmd X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, v2$ uname -a CYGWIN_NT-5.1 PC213736 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin aka Windows XP Professional Ver 5.1 Build 2600 Service Pack 3 samba is : Samba version 2.2.8a based HP CIFS Server A.01.10 aka samba 2.2.8a under HP-UX 11.11 (11iv1) in some words : there is a factor 8 between the reality and du ! v2$ du --version du (GNU coreutils) 7.0 same results w/ : v2$ /tmp/du --version du (GNU coreutils) 8.8 v2$ ll total 3556352 -rwxr--r-- 1 ???????? expl 786432 2011-01-25 20:24 archive.pst -rwxr--r-- 1 ???????? expl 109216768 2011-01-25 20:23 ratp 2006-2007.pst -rwxr--r-- 1 ???????? expl 115834880 2011-01-25 20:23 ratp 2008.pst -rwxr--r-- 1 ???????? expl 90718208 2011-01-25 20:23 ratp 2009.pst -rwxr--r-- 1 ???????? expl 138297344 2011-01-25 20:23 ratp 2010.pst v2$ du -h * 6.0M archive.pst 834M ratp 2006-2007.pst 884M ratp 2008.pst 693M ratp 2009.pst 1.1G ratp 2010.pst v2$ du -sh . 3.4G . v2$ ll | awk '!/total/{x+=y=$5/1024/1024; printf "%3.0f %s\n", y, $(NF-1)" "$NF} END{printf "%3.0f %s\n", x, "total"}' 1 20:24 archive.pst 104 ratp 2006-2007.pst 110 ratp 2008.pst 87 ratp 2009.pst 132 ratp 2010.pst 434 total v2$ /usr/lib/csih/getVolInfo . Device Type : 7 Characteristics : 10 Volume Name : Serial Number : 138548057 Max Filenamelength : 255 Filesystemname : Flags : a FILE_CASE_SENSITIVE_SEARCH : FALSE FILE_CASE_PRESERVED_NAMES : TRUE FILE_UNICODE_ON_DISK : FALSE FILE_PERSISTENT_ACLS : TRUE FILE_FILE_COMPRESSION : FALSE FILE_VOLUME_QUOTAS : FALSE FILE_SUPPORTS_SPARSE_FILES : FALSE FILE_SUPPORTS_REPARSE_POINTS: FALSE FILE_SUPPORTS_REMOTE_STORAGE: FALSE FILE_VOLUME_IS_COMPRESSED : FALSE FILE_SUPPORTS_OBJECT_IDS : FALSE FILE_SUPPORTS_ENCRYPTION : FALSE FILE_NAMED_STREAMS : FALSE FILE_READ_ONLY_VOLUME : FALSE FILE_SEQUENTIAL_WRITE_ONCE : FALSE FILE_SUPPORTS_TRANSACTIONS : FALSE Regards, Cyrille Lefevre -- mailto:Cyrille DOT Lefevre-lists AT laposte DOT 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