View previous topic :: View next topic |
Author |
Message |
Supertramp n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Oct 2005 Posts: 4
|
Posted: Sun Oct 30, 2005 11:14 am Post subject: USB-Stick: Mounting only works after logging on as root |
|
|
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
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 |
|
![](templates/gentoo/images/spacer.gif) |
Nil_Spaar Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Jul 2004 Posts: 179 Location: Berlin, Germany
|
Posted: Sun Oct 30, 2005 5:03 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|