I know this is a bit complex to work-around, but we could hack Nautilus
to work around this whenever it encounters a VFAT volume.

If I understand correctly, Nautilus uses the statfs call to determine
the free space on the drive, to show it on the bottom of the window.

I would suggest that Nautilus start a new thread to call statfs; since
other programs can read the drive contents correctly, I suppose Nautilus
should be able to do the same. It would work as usually, minus whatever
the statfs call is needed for, until the separate thread finishes the
call.

I know this is complicated and probably not worth it, I just wanted to
have the suggestion.

Otherwise, I strongly advise to revert the patch with data-loss
possibility. The delay after mount is annoying, but it's less than a
minute long and it only happens at mount time, I think it's much less
annoying than loosing files and locking up randomly.

-- 
nautilus hangs on accessing vfat drives - statfs() blocks for a long time
https://bugs.launchpad.net/bugs/133567
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug contact for nautilus in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to