Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-04-2013, 11:23 AM   #1
Senior Member
Registered: Apr 2006
Posts: 2,018

Rep: Reputation: 76
device is listed with wrong mount point

I have been unable to mount a certain USB device. Eventually, while trying everything to mount it, I saw what's surely the problem: the device is /dev/sdc1 but the system says its mount point is /dev/sdb1, which another USB device is using. Actually, I just tried to open that device and can't open that either. Except in a file manager running as root.

I have no idea how this would have happened, unless perhaps I confused the system by plugging these USB devices into different ports while the computer was on (which I did yesterday)...? Anyway, how do I change the mount point?

Last edited by newbiesforever; 12-04-2013 at 12:18 PM.
Old 12-04-2013, 12:20 PM   #2
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
thats simple, its no different then under MS Windows. the device is NOT flagged by any special means and is just mounted in a willy nilly order so to speak. What ever device goes live first is sdb, then sdc, etc...

Just think about USB Printers in Windows. Its installed, its running, but god help you if you unplug it and plug it back in, you will be prompted to install new hardware and start amassing multiple copies of the same printer and none but the last one will work.

Or you plug your USB drive into Windows, today its drive letter E:/ tomorrow you have an other USB device plugged in, you plug in what was E yesterday, but today its F:/

its all the same.

if you want to get around that, the a few things need to happen.

1. disable the automagical mounting of USB devices
2. create a script combined with labels on the flash drive.
3. mount the specific label to your desired location
4. learn udev rules and customize each device for mounting at specific points into the system

you can also stop using drive letter and use drive mapping:

as each device once formatted is unique.
1 members found this post helpful.
Old 12-04-2013, 12:40 PM   #3
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,800

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
Just to clarify:
The files at /dev/sd* are not mount points they are simply files that connect to hard disk drives (sda, sdb) and partitions on those (sda1, sdb1). The mount point is where you mount that with a command like "mount /dev/sdb1 /media/me/kingston_usb_stick". To access a partition through your file manager you need to mount it somewhere. Where it mounts will probably be down to udev and, if it is, the drive is in my experience mounted in either /media/ or /media/username as a folder named after its label.
1 members found this post helpful.
Old 12-04-2013, 10:28 PM   #4
Registered: Apr 2012
Posts: 45

Rep: Reputation: Disabled

Unplug problematic USB and then Plug it again and after that check output of dmesg command. It will show device name of newly mounted USB.

After that you can see how many partitions this particular USB drive has by running fdisk -l command. Then you can mount any partition of that USB drive.

1 members found this post helpful.
Old 12-07-2013, 08:53 PM   #5
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,645
Blog Entries: 17

Rep: Reputation: 3256Reputation: 3256Reputation: 3256Reputation: 3256Reputation: 3256Reputation: 3256Reputation: 3256Reputation: 3256Reputation: 3256Reputation: 3256Reputation: 3256
Alternatively, you could put it in /etc/fstab using the UUID.

Here's an example from my fstab. You might want to use the "noauto" flag if you don't want it to automount.

UUID=1655a198-15a7-471f-9e99-e3fc9fd92ca0       /media/sdb1     ext3    rw,user,auto    0      1
Here's a good article about using UUID in /etc/fstab; it's the one I used.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mount point by device ID yo8rxp Linux - Hardware 5 01-08-2013 01:09 PM
Mount Point for Tape device shubhamuddu Linux - Newbie 6 07-10-2012 03:46 AM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 05:02 PM
Partition table problem. fdis is lying to me, shows the wrong mount point I believe imtedkaczynski Slackware 6 12-05-2008 10:41 AM
find mount point given device kornelix Programming 2 04-13-2007 09:01 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration