MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hmm...my memory stick (usb) uses /dev/sda4, but nevertheless...let's see.
you see your loaded modules (in terminal) like this:
lsmod
and probably you won't see any usb-stuff there. if you wish to see available usb-related modules, (in terminal) do this:
modprobe -l | grep usb
and you should get a list. then load the appropriate modules, I think what you need is usb-storage and perhaps usb-uhci....the list you get is just a list of locations to modules, like
for example. now this module is loaded by using "usb-storage" as the modulename (no quotes)...so no path nor .ko in it well, now load these modules (if you haven't build them into kernel, but have them as modules):
I guess the two first should be enough...if the "usb-storage" isn't enough itself after you've modprobed those, check out what sda's you got in your /dev/ (or did you got any) and then just mount what you need.
Many thanks for your reply, it was sufficient to modprobe
usb-storage and uhci-hcd
May I ask two additional questions ?
- when I log out and log in I have to type again
su .... modprobe... is it possible to have the modules automatically
loaded ?
- is it necessary tu umount the memory stick before log out
(root required to umount) ?
You can definitely load the modules at boot. Hopefully only small adjustments are needed. How does your /etc/modules.conf look like? Does it have a line:
probeall usb-interface usb-uhci
At least mine do, and my usb-stick works like a charm.
nice if it works.. and to your question about the umounting of the stick: unless the stick is umounted, there is a real possibility (danger!) to a _data loss_, that means, if you don't umount it, the files you've saved to it may become unworkable or get missing...so I suggest you _do_ umount it when logging out. BUT - if you don't remove it (if you _do_ leave it in the usb-port), and the machine stays powered on, I guess there is no need to umount it. only if you reboot/turn off your PC/plug the stick out, then it's needed to umount.
and about the root privileges...have a look at /etc/fstab file, it should contain a line for your stick, looking somehow like this:
/dev/sda1 /mnt/memstick auto user,noauto,unhide 0 0
(first is device, then the mountpoint, then the used filesystem (auto -> autodetected), then options and dump/pass). you should have this line, where it is told what device it is, where it is mounted when it's mounted, what fs it uses (auto is good), and options - if you specify "user" in options, a user should be able to both mount AND umount the device! noauto means that it's not automatically mounted at boot....so try that one out. remember to put the mountpoint and device paths to what they are in your machine...if you put them wrong, it's nothing dangerous I think but the stick may not mount correctly unless the fstab -file is being corrected (and possibly a reboot is needed?)
so a line in the fstab, like the one above, and then try mounting/umounting as user, should work? not sure..ther might be some other option too which you must enable to let your users u/mount the devices...but try.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.