This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

du weird results under samba share



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     : <NTFS>
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.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]