Bug 100669 - don't allow trash on usb-sticks
Summary: don't allow trash on usb-sticks
Status: RESOLVED DUPLICATE of bug 76380
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: trash (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-02 18:54 UTC by Tobias Powalowski
Modified: 2011-11-05 20:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Powalowski 2005-03-02 18:54:51 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.3 
OS:                Linux

if you choose to delete files to trashcan and do a safely remove on the usbstick without cleaning the trashcan then it comes that my usbstick(mp3 player) get stuck and is some kind of frozen.
i think it doesn't like the .TRASH dir on the filesystem, 
because it's a fat partition.
it's aiptek mp3 player.

would it be possible to not allow move to trash on usbsticks?
now i know that i shouldn't use that option anymore but to be on the safe side please remove trash option on removable media.
thanks
Comment 1 David Faure 2005-03-02 22:07:13 UTC

*** This bug has been marked as a duplicate of 99847 ***
Comment 2 Brendan Hide 2008-12-08 18:29:04 UTC
While the symptom is definitely a duplicate, I don't believe that the proposed solution given by the original poster is a duplicate at all. In fact, the proposed solution would probably still be a huge help right now.
Comment 3 David Faure 2008-12-24 20:02:55 UTC
Well, in a way you're right, trashing from usb sticks means moving the file to the home partition which can take quite some time, but why should we disallow that (better trash than delete and then regret it...), and why should this freeze the key afterwards? This sounds like a low-level bug.
Or do you simply mean, it's frozen during the time the move-to-$HOME happens, and then it unmounts ok?
Comment 4 Brendan Hide 2008-12-28 00:33:02 UTC
The problem with moving to the home folder (and the amount of time this takes) is that it would even make more sense to have a separate .Trash folder on the memory stick - an atomic operation.

However, this would complicate things further in that there are more .Trash folders required and if there is a Trash icon on the desktop, where is it all going to point to?

I rarely use my usb memory sticks as an authoritative data store. I use them almost exclusively for data transfer. My camera's memory stick is a different story, though with that I move my photos as soon as I plug it into my desktop.

For my camera's memory stick, moving data to the trash on my desktop's hdd *might* save my data from unintentional deletion. For my usb memory stick, it is just a huge waste of time. If I'm on the go, I don't want to wait for a 3-minute data-move which is completely irrelevant to my requirements.
Comment 5 Brendan Hide 2008-12-28 00:37:28 UTC
err - referring to the data transfer taking time before the stick can be unmounted of course. ;)
Comment 6 Matěj Laitl 2011-11-05 20:24:01 UTC

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