Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-05-2013, 09:24 AM   #1
LQ Newbie
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
Usb Device to mount

Hi all,

There is something I don't understand about mounting usb devices on my PC

I have a Verbatim usb key (vfat)

fdisk -l says
Disk /dev/sdb: 8000 MB, 8000004096 bytes
255 heads, 63 sectors/track, 972 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x634ad1c9

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               2         972     7799557+   5  Extended
/dev/sdb5               2         972     7799526    b  W95 FAT32
and blkid says
/dev/sdb5: LABEL="VERBATIM" UUID="F8C4-7A68" TYPE="vfat"
I want to mount it by clicking on his name in dolphin

I wrote this in /etc/fstab

LABEL=VERBATIM   /mnt/clef2        vfat        auto,user,rw,uid=1001,gid=100    0   0
knowing that:

-my uid user is 1001
uid=1001(pierre) gid=100(users) groups=100(users),83(plugdev)
-my user belongs to plugdev
-plugdev is in CONSOLE_GROUPS of /etc/login.defs
CONSOLE_GROUPS		floppy:audio:cdrom:video:plugdev
Permissions on mounting directory are
drwxr-xr-x 2 pierre  users 4096 2011-09-16 10:08 clef2
BUT: then I plug it and go in Dolphin, it doesn't appear; I must to do "list all entries" to show "VERBATIM". And if I click on it, I get the following error message

"An error occured accesing to "Verbatim" (My message is in french, of course). Message rešu: org.freedesktop.Hal.Device.Volume.PermissionDenied: Device /dev/sdb5

(Permissions on /dev/sdb* are:
brw-rw---- 1 root   disk        8,  17 2013-09-05 14:38 sdb1
brw-rw---- 1 root   disk        8,  21 2013-09-05 14:38 sdb5
I must thus to do as root "mount -a", (and get "mount: devpts already mounted or /dev/pts busy"), then click on "Verbatim" in Dolphin and all is OK, I have full access to /mnt/clef2

What did I wrong ? Thanks in advance !
Old 09-06-2013, 04:26 AM   #2
Registered: Jul 2012
Distribution: Arch, Debian, and CentOS/RHEL
Posts: 541

Rep: Reputation: 56
Just after plugging in the usb device, what does lsusb say?
Old 09-06-2013, 09:21 AM   #3
LQ Newbie
Registered: Feb 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your question, ilesterg

lsusb says:
Bus 001 Device 007: ID 0aa6:1501 Perception Digital, Ltd Store 'n' Go HD Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 047d:1022 Kensington Orbit Optical
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
However, I found a way to solve my problem which seems to show ther is a bug in usb gestion system.

Have a look:

If I put this in /etc/fstab
/dev/disk/by-label/VERBATIM   /mnt/clef2        vfat        auto,user,rw,uid=1001,gid=100    0   0
VERBATIM is showed in Dolphin, but appears empty (even if I click on it)

If I put this in /etc/fstab
/dev/disk/by-uuid/F8C4-7A68   /mnt/clef2        vfat        auto,user,rw,uid=1001,gid=100    0   0
VERBATIM is not showed and I must do "show all entries", but if I click on it all is Ok: full access ! (my way to solve the problem, for the moment)

Very strange, isn't it ?

Last edited by pjtuloup; 09-06-2013 at 09:23 AM. Reason: typo


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't mount the USB device Talor Linux - Hardware 5 12-20-2011 06:11 AM
trying to mount a usb device into different folders according to its usb port digodox Linux - Kernel 1 06-17-2010 10:41 AM
Cant get usb device to mount. sleekmason Linux - Hardware 3 05-20-2006 11:18 AM
how can I mount this device: da0: <USB 2.0 Storage Device alkad_mzu *BSD 2 11-15-2003 07:15 PM
mount USB Device finger Linux - Hardware 2 07-21-2002 01:20 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:03 PM.

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