Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a tmpfs that remounts on boot and works as I had hoped for. My ram folder is here...


While testing I noticed that when I delete files via the Debian GUI the files get sent to


When deleting files from the ramdrive via the command line it's gone for good which is what I want, but I would like this to happen in the GUI too.

Can someone explain why files deleted via the GUI send files here instead of to the trash.

Does my fstab command that remounts the drive need to specify something extra?

Sorry I think I might not have explained the issue too well...

Deleting anything within the ramdrive (/home/user/ramdrive/*), which is mounted, ends up in /home/user/ramdrive/.Trash-1001/.

After some digging around this morning I think that's normal behaviour when you delete something that is on a mounted goes into a dir/.Trash folder, where dir is the root of the mounted volume.

I was hoping there would be a way around this...the best thing I have found is being able to right click and selecting "delete".

To get this extra option....

System > Preferences > File Management > Behaviour > Check "Include a delete command that bypasses the wastebasket"

I'm still learning the Debian environment so there may be a better way of doing this.

share|improve this question
Don't you think it's easier to wipe the trash folder on logout? Consider what would happen to your ram disk when you delete a 50 GiB file? – Marco Aug 3 '12 at 10:46
up vote 0 down vote accepted

AFAIR, trash directories are created on per volume basis.

However, most GUI file managers support Shift+Del key shortcut for deleting files permanently, bypassing trash.

rm command is not trash-aware (and it shouldn't be).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.