View Full Version : AUTOMOUNT in KDE PLEASE
carlos
2005-01-01, 12:50 PM CST
Is it possible to set up the same automount of a USB thumb drive in KDE as it is in GNOME?
I've been toying with it, then I tried GNOME, and shock horror, you just plug your thumb drive in and it shows up on the desktop, you unplug it and it's gone. Way better than (cough, cough) XP.
Only problem is I think GNOME sucks and I always use KDE.
Can the same thing be set up in KDE? I thought I did that with my /etc/fstab entry for this:
/dev/sda1 /mnt/usb vfat pamconsole,noauto,users,rw,umask=0 0 0
but I still have to right click on the desktop icon and select "mount". Also, sometimes it inexplicably decides it's not going to find itself or mount.
Is there a straightforward fix for this.
BTW, I am running FC3 (and it's great, apart from this minor hiccup).
Thanks for any suggestions.
crackers
2005-01-01, 02:26 PM CST
You shouldn't edit the /etc/fstab file any more, especially for "dynamic" filesystems like hot-plug USB devices. HAL and UDEV takes care of that for you. Hmmm - I just tried it and you're correct. Sorry, I don't have an answer for you, but I can mention that my USB stick was recognized - however, it didn't automount...
imdeemvp
2005-01-01, 02:26 PM CST
Try it with auto instead of noauto. I dont use kde so I am not sure if it going to help you. BTW just like kde-look.or now there is gnome-look.org with very nice themes.
carlos
2005-01-01, 03:19 PM CST
Well, i changed the fstab entry to "auto", and it sort of works. That is, when I double click on the desktop icon it comes up (although it did that before). Also, when I unplug the devise now, then right click on the icon, it gives a "mount" option, instead of "unmount" meaning it recognizes the device has been disconnected. When I plug it back in it gives me the "mount" option when I right click.
But, it still will not totally AUTOMOUNT at present.
I guess this is not a big deal but I don't see why we shouldn't be able to do this in KDE.
Crackers, not quite sure what you mean by not editing fstab anymore. Will UDEV or HAL automatically update the fstab entries?
imdeemvp
2005-01-01, 03:23 PM CST
I know it works great in gnome for me. Sorry no much experience with KDE.
Brian1
2005-01-01, 09:35 PM CST
Something is updating my fstab sometimes. It used to be that useless program called kudzu but no longer runs. Piece of junk for me. I belive Hal has something to do with it but have had no time to study. If I have a defined point in my fstab then it does not create it. Example I have a firwire DVD-RW and it created a entry in fstab for it. I then edited fstab and created my own point. Now when I plug it in it does not create the entry since it is defined.
auto does not seem to always work here.
I assume you created your icon by Right Clicking on the Desktop > Then select Create New > Then Device > Hard Disk Device. Now all I have to do is click on the icon and it mounts and opens up. Still does not help as far as automounting.
Look into aoutmount deamon. There is a file under /etc called auto.master that might help. Never used before. If it works give back some input on it.
Also Suse uses something called subfs. Might work here. http://portal.suse.com/sdb/en/2004/05/hmeyer_91_revert_from_subfs.html
Brian1
" Google the Linux way @ http://www.google.com/linux "
crackers
2005-01-02, 01:42 AM CST
Something is updating my fstab sometimes.
That is the HAL daemon. That's part of it's job, to monitor the system looking for changes. That's why I said above that editing the fstab file isn't that good an idea any more - it gets re-written.
One thing you can try: when you plug in your firewire drive (this may also work for a USB drive - not a "stick") is to issue service haldaemon restart (as root). This will cause HAL to restart and re-examine the drives plugged into the system. Kind of a brute-force, but it worked when I moved the Zio "Dazzle" drive (smart card) from the wife's machine to mine.
As for auto - auto does not infer "automount" actually. What it does is signify that the device(s) should automatically be mounted at startup or when a "mount -a" command is issued.
Obviously there are some bugs that need to be worked out with HAL and KDE... :o
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.