Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

Every time I connect my Pen drive it recognizes as more like a Dongle. The reason that I'm telling that

if I connect it to the PC when I'm on the INTERNET, it will automatically copy all the files which are in the Dongle.

So, I can't recognize which one is the Pen drive when I want to safely remove the device. I'm not sure whether it is the Pen drive or the Dongle..?

Can anyone give me a good advice how to solve this problem?

share|improve this question
Please post (add to your question) the output from lsusb, with and without the 'Pen drive connected. – david6 Sep 16 '12 at 4:26
@david6 I'm not running Ubuntu from USB. I installed Ubuntu to the HDD on my PC. I'm just using the Pen drive to share my files with the office..(just to copy & past). – Eranga Fernando Sep 16 '12 at 5:00
@ErangaFernando We understand that you have installed Ubuntu on your harddrive. Please edit your question to include the output of lsusb as requested. – Mahesh Sep 16 '12 at 9:11
up vote 2 down vote accepted

I suggest you add a volume name (label) to the partition or partitions on the USB pendrive. This way, when you hover over the icon on the launcher it will display the volume name so you know which is the correct device.

You can add or change the volume name using Disk Utility. Select the correct drive in Disk Utility, then click on the unmount button. Next click the 'edit filesystem label' button and change the name to something meaningful to you. You can now mount the device again with the mount button and it will appear in the launcher with the correct label when you hover over it.

Disk Utility

This is Disk Utility with the pendrive selected in the left frame. To the right of this you can unmount the device and then change the label, then remount it again. The pendrive in this example now has the label "white8" and its mount point is /media/white8

white8 device in the launcher

Now when you hover the mouse pointer over the device in the launcher it shows the label name so that you can recognise it.

share|improve this answer
I did it..but there's one thing. There's a hidden file called .Trash-1000 in that Pen drive. Is that some kind of a virus file or something else..? I tried to remove it by formatting the drive. But couldn't, because it sends me an error called" there isn't a file to remove.." So, what is it actually? Why it is hidden always? – Eranga Fernando Sep 20 '12 at 15:46
Anything that starts with '.' is called a dot file, and is a hidden file. They are used by the system for various things but in this case it is the "trash can" or "rubbish bin" or whatever it is called in your part of the world. You should be able to delete it with Nautilus by selecting it (ctrl-h to show hidden files) and then pressing shift-delete. If you have trouble with that then the terminal command "sudo rm /media/ERANGA\ SUBW/.trash-1000" should do it. – fabricator4 Sep 20 '12 at 17:44
"sudo rm /media/ERANGA\ SUBW/.trash-1000" is the command, for clarity. If you still can't do it, please open another question asking for help on deleting hidden files. – fabricator4 Sep 20 '12 at 17:46
got it..thanx.. – Eranga Fernando Sep 23 '12 at 4:49

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.