Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB-Stick: Mounting only works after logging on as root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Supertramp
n00b
n00b


Joined: 07 Oct 2005
Posts: 4

PostPosted: Sun Oct 30, 2005 11:14 am    Post subject: USB-Stick: Mounting only works after logging on as root Reply with quote

Hi there!

I have added this into my /etc/fstab

Code:

/dev/sda1   /media/usb/     auto     noauto,user     0  0


because I noticed that my usb-stick was reckognized as /dev/sda1.

BUT: After plugging the stick into the usb-port I cannot use
Code:
mount /media/usb

The error message is
Code:
special device /dev/sda1 does not exist


I have to login as root, use find /dev/sda1 and so on and after a few tries there is /dev/sda1 in
the fdisk -l

Of course I want the usb-stick to be reckognized and plugged in. Afaik I have activated hotplug
support in my kernel. I did an emerge --search usb and emerged usbd, this sounds nice, but
I have no man usbd and no info usbd so I don't know how to set it up.

Most stuff I find in internet is about FreeBSD or really old kernel versions so could anyone tell
me what to do? :-)

Thanks.
Back to top
View user's profile Send private message
Nil_Spaar
Apprentice
Apprentice


Joined: 10 Jul 2004
Posts: 179
Location: Berlin, Germany

PostPosted: Sun Oct 30, 2005 5:03 pm    Post subject: Reply with quote

Have you waited a little after plugging the usbstick in? Because after recognizing the stick the kernel waits a little before scanning for partitions. If you look at the output of dmesg you'll see this. So try plugging the stick in, wait 10-20 sec (untill dmesg shows some stuff about the found partitions) and then try mounting as user.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum