[Pkg-xfce-devel] Bug#583325: Bug#583325: thunar: copying progress is misleading because files are not synced to disk

Yves-Alexis Perez corsac at debian.org
Thu May 27 06:07:52 UTC 2010


On mer., 2010-05-26 at 23:06 -0400, John Lindgren wrote:
> Package: thunar
> Version: 1.0.1-4
> Severity: wishlist
> 
> Hi,
> 
> When I'm copying a bunch of files from a fast file system (say, my hard
> disk) to a slower one (say, an MP3 player), the progress bar that is
> shown represents only the progress in reading the files, not writing
> them.  If the files are already loaded into cache memory (say, if I just
> ripped them from a CD), the problem is even worse: the files are "read"
> so quickly that no progress dialog is displayed.  Thunar then locks up
> unmounting the player, while all the files are written to disk, which
> can be on the order of thirty seconds.

No, that's not a read/write problem. The progressbar *is* showing the
write time, which is given originally by the filesystem.
> 
> It seems that the files are merely being written to a kernel write
> buffer; if so, the trivial fix would be to call fsync() before closing
> each file that is written.  I can't think of any reason not to do this.

Because that would slow down everything, imho. What you really want is
to mount your usb keys with the sync option.

Cheers,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20100527/61110718/attachment-0001.pgp>


More information about the Pkg-xfce-devel mailing list