Mysterious "usb" directories in /media dir - USB devices Don't Mount Like Before
Linux MintThis forum is for the discussion of Linux Mint.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
1. The Megadisk is the Windows label for that external USB drive. It's correct. So far it has always automatically mounted correctly.
2. The isodisk dir, I created, it is OK.
3. None of the other directories were created by me. Nor did I link the usb to usb0.
4. I have no idea what to even search for since "Mysterious USB directories" didn't yield anything worthwhile.
5. Prior to whatever went wrong, my 4GB flash drive would automatically mount correctly as it's Windows label name (vol name).
Now it always mounts under the linked usb->usb0 dir. Any ideas what I might search on, or what this is called? Thanks.
LinuxMint 10 Gnome amd64, on a Medion laptop, x2 amd, 4GB ram, shared 128MB nVidia 6150 graphics. All updates have been applied through Synaptic. I also had a shutdown issue that was solved by issuing apt-get update; apt-get upgrade at the prompt. I don't recall when that started. Virtualbox 4.0.4.r70112 64-bit is installed. That seems to be working about as well as any other Virtualbox I've installed. Does Virtualbox do something to create those dirs?
This really sounds like there is some issue with the automounting fuction of mint (assumeing thats what distro this is). Something you can check is how many parttions are listed on the device. You can do this by doing a fdisk -l /dev/sdx where as x is the correct device.
To exvor: Thanks for replying. fdisk -l just shows 1 partition correctly as it always has been.
Something else I've found: I cannot right click the icon and unmount/eject/safely remove. Regardless of which of those options are listed when I right click, it won't allow me to do it. It complains "/media/usb0 is not in fstab and you are not root." Well there's not much in fstab, but here it is:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda5 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda10 during installation
UUID=e...6 /home ext4 defaults 0 2
/dev/sda6 /tmp ext4 defaults 0 2
# /usr was on /dev/sda8 during installation
UUID=0...0 /usr ext4 defaults 0 2
/dev/sda7 /var ext4 defaults 0 2
# swap was on /dev/sda9 during installation
UUID=0...1 none swap sw 0 0
I partitioned the disk at install time with (if I remember correctly)
In the folder browsing window (not Konqueor or Dolphin), it lists the correct volume name for my USB flash drive, yet doesn't show that it's mounted. But it does show that the usb0 is mounted. Furthermore, when I right click on the volume name, select "Eject" or "Safely remove", it says, "Unable to eject volname, One or more partitions are busy on /dev/sdb" Strangely enough the "Mount" option is listed on the context menu even though it is mounted at /media/usb0.
Disk Utility in the LM10 menu (is this gnome-disk-utility?) also reports only 1 partition. In the Disk Util, I was able to select "Unmount" and that worked, but selecting "Safely remove" gave the same "unable umount..busy" error. Also, I can umount -f and it will unmount.
First of all, is is OK to create directories in /media? I seem to remember reading on the Solaris forum that you shouldn't do that. Secondly, does this sound like my installation of linux has been into the catnip and is totally stoned? (sorry, I couldn't resist).
Well, I finally found what the mysterious usb0-9 directories are. Before I had the problem, I was fishing for USB info about my system, and used Synaptics to install other USB utilities. One of which was usbmount. This program created those directories. So I have removed it, and we'll see what happens. I hope everything USB-wise works correctly. I'll try to remember and post again here, but if everything works correctly, I'll probably forget I had the problem.