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.
I believe the idea of Project Utopia was to eliminate all those static links in fstab. For instance, on my Sarge test machine with KDE 3.4.1, I have only static links to hard drive partitions and cdrom, and I believe that's because I installed HAL/udev afterwards. All my USB peripherals automount and show up on the desktop like magic without fstab entries. The trick is in the KDE Control Center > Desktop > Behavior. Check everything but mounted hard disk partition.
I have just installed hal and still no luck and KDE 3.4.1 behaviour was long configured to display icons for mounted devices. I thought a reboot might be required but still no luck....
Last edited by dukeinlondon; 08-06-2005 at 12:38 PM.
If you want to have the drive mounted automatically when inserted, remove the 'noauto' option from the options after sda1. It will mount automatically, and you can create a link to /pen on the desktop or wherever.
I've changed the kde behaviour to display unmounted removable drives and surprise ! my usb card reader shows up on the desktop (unmounted) and clicking it mounts the drive.
I still need the fstab entries for that to work.
It's not exactly what I was asking for but it's exactly the behaviour I was after.
I'm not sure about KDE but I think the solution is similar to Gnome's. You already had all required packages (udev, hald, dbus... ) installed, so what you require is an automounter that uses them.
In Gnome the automounter is called "gnome-volume-manager". Most likely KDE has something similar. It uses udev, hald etc. to automount volumes. What IS required, however, is that the user is part of the "plugdev" group. Otherwise automounting does not work. Also, remember to logout and login back again. Gnome volume manager is also capable of creating fstab entries and mountpoints dynamically, if required.
I strongly suggest you to create fstab entries at least for your flash devices; there are lots of mount options which you can use to lengthen their useful lifetime. One of mine looks like this:
dirsync and sync synchronize filetransfers so that amount of required writes is reduced. Noatime disables updating access timestamps for the files. As it is only possible to write to a flash memory (such as usb stick) only a couple of million(?) times, using these options will keep the memory stick working for much longer time than otherwise.
And about the "noauto" switch... see the "man mount":
noauto Can only be mounted explicitly (i.e., the -a option will
not cause the file system to be mounted).
-a Mount all filesystems (of the given types) mentioned in fstab.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.