Bug 181264 - ntfs, bad file count
Summary: ntfs, bad file count
Status: RESOLVED DUPLICATE of bug 238424
Alias: None
Product: kio
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Other
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-19 06:53 UTC by S CITRIN
Modified: 2012-09-28 18:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S CITRIN 2009-01-19 06:53:31 UTC
Version:           ARCH KDE 4.1.4 (using KDE 4.1.3)
OS:                Other
Installed from:    Unlisted Binary Package

Use Dolphin or Konqueror.  Right click on a directory to which an NTFS-3g volume is mounted and select properties. The total number of files will be improperly displayed. 

For example, using KDE the file and directory count will be:

6126 files in 108 subfolders, 79,305,473,192 bytes.

If you do the same thing in Gnome using Nautilus it will display as:

8670 objects, 71.7 GB.


(I know GNOME is correct because (in GNOME) I copied the entire contents of the ntfs volume to an ext3 volume and the ext3 and ntfs numbers agree only in GNOME...plus I did a diff -r to verify in both GNOME and KDE)

Note..(since I did not have the selection options)...this is on KDE 4.1.4, ArchLinux. 

This may be a duplicate of 110529. We may be looking at the same thing.
Comment 1 David Faure 2009-01-19 16:47:16 UTC
I made a quick test and I get the same subdir and file count on ext3 and ntfs-3g (after copying from one to the other).

The gnome "8670 objects" makes it a bit hard to compare kde and gnome about this; if you made a copy, how about comparing kde-on-ext3 and kde-on-ntfs? From your report I suppose you get a difference (but which way round? Some files or dirs are ignored on ntfs?).
Maybe you can also compare with   
   find -type f | wc -l
?
(and find -type d for dirs, but this one also includes ".", so it's one more than the number of "sub-folders" found by KDE).

I can't see the relation with bug 110529 which is about permissions being copied and creating non-writable dirs (-> error message). Well, your problem could be a permissions problem too, if some dirs don't have +x for the user doing the counting... but then `find` or gnome wouldn't be able to enter them either...

-> please narrow the problem so that we can reproduce it, thanks :)
Comment 2 FiNeX 2010-02-13 14:41:02 UTC
Could this bug be related to bug #162184 ?
Comment 3 Dawit Alemayehu 2012-09-28 18:39:10 UTC

*** This bug has been marked as a duplicate of bug 238424 ***