Nautilus Properties incorrectly totals sizes of hardlinked files

Bug #18783 reported by Morgan Collett
14
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Medium
nautilus (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs
Hardy
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

I have a baz revision library, and wanted to know how much disk space it is
taking up. I right-clicked on the directory using nautilus and went to
properties. It came up with a total filesize of 40.2 GB. 'du -s' on the other
hand reported about 4 GB. Lots of files in the revision library are hardlinked
together - hence nautilus is naively adding the file sizes together instead of
noting which files occupy the same space.

http://bugzilla.gnome.org/show_bug.cgi?id=313668: http://bugzilla.gnome.org/show_bug.cgi?id=313668

Revision history for this message
Morgan Collett (morgan-ubuntu) wrote :

In hoary by the way...

Revision history for this message
Morgan Collett (morgan-ubuntu) wrote :

Created an attachment (id=2939)
Screenshot of nautilus properties vs du output

Here you can see the difference between nautilus's reported filesize vs du.

Revision history for this message
Ante Karamatić (ivoks) wrote :

I can confirm this.

Revision history for this message
Sebastien Bacher (seb128) wrote :

I've forwarded your issue upstream: http://bugzilla.gnome.org/show_bug.cgi?id=313668

Simon Law (sfllaw)
Changed in nautilus:
status: Unconfirmed → Confirmed
Changed in nautilus:
status: Unconfirmed → Confirmed
Changed in nautilus:
status: Confirmed → Triaged
Changed in nautilus:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has been fixed in the upstream svn

Changed in nautilus:
status: Triaged → Fix Committed
Changed in nautilus:
assignee: seb128 → desktop-bugs
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here

Changed in nautilus:
status: Confirmed → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Confirming that the new version in -proposed now reports the correct size of a directory which has hardlinks in it.

Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in Intrepid in 2.23.

Changed in nautilus:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in nautilus:
status: Fix Committed → Fix Released
Changed in nautilus:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.