DebianThis forum is for the discussion of Debian 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.
in a few days i'll need to install etch on a quite old p2 with 96 mega ram, and i have choosed to install it with icewm + rox for quite good usability.
I don't yet know how to mount/umount graphically ( without command line ) usb sticks. Or dinamically creating mountpoint on /media when the stick is inserted would be enought.
At least 10 different keys will be used ( and more in the future ), and also a memory card reader for digital cameras, so the fstab solutions won't work ( sda sda1 sda2 sdb sdc sdc1... who knows? ).
Hi,
Fstab solutions should work for usb sticks though; unfortunately I dont't know the solution for digital cameras. This might be repeating something you already know, but I put it here just in case.
For usb-sticks:
Modify /etc/fstab file; add a line or lines like this for each mount point you want to have
-substitute vfat if there some other file system on the stick, like ext2
-name the "usbstick1", "usbstick2" as you like & substitute /dev/sda1, /dev/sdb1 etc according to the names that your machine has for port(s). (I am writing this on my office Windows-computer, and I don't in fact remember exactly how they are named on my computer but I can check that at home)
Then, from the command line, make a directory/ies for the usb stick(s)
# mkdir /media/usbstick1
create symbolic link(s)
# ln -s /dev/sda0 /media/usbstick1
Now there should be a rox directory icon for /media/usbstick1 with a small circle in the corner. When you click the icon, the stick should be mounted and a rox window opens (and the circle turns green). When you close the rox window, it asks you whether you want to unmount the disk or or not. You can also mount/unmount it by pressing right mouse button on the directory icon, and choosing mount/unmount from the menu.
I've put the /media/usbstick1 on the rox panel so it's easily accessible with one click.
More information:
<http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Flash-Memory-HOWTO.html>
Thank you, but situation is different. You have only 1 stick.
For example, there could be an usb key that mount with sda4 if plugged for first ( actually an mp3 player ), sdb4 if plugged for second, another one that mount with sda, another one with sda1, another one ( an sd memory card with the reader ) with sdc1 if plugged for first...
This computer needs to be used by previously windows users, they will say linux is a s**t if i tell them to type dmesg |tail, look, and mount from command line with something like
sudo mount -t vfat -o rw,user,noauto,showexec /dev/sdd1 /media/usb1/
It is ways too complex.
Udev solution, as wrote in the howto, leads to nothing, since i can't have information about every key that will be used.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.