Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I like the fact that KDE (context: kubuntu 2.6.12-10-386, KDE 3.4.3) is clever enough to automatically detect and mount hardware, but so far I haven't been able to fully take advantage of the feature because I can't figure out where KDE's automatic mount points are. So far, I've read references to a never never land called "media:/" that seems to hold no meaning at the command line. /media/usb also doesn't get me anywhere. I need to refer to the data on my usb drive from within other programs, so I need a tangible path. Can anyone point me in the right direction?
In the meantime I'm manually mounting things to /mnt/usbDriveX/ whenever I plug them in, because the juggled devices are invariably assigned a different /dev/sd?1 every time I plug them in, and my fstab can't keep up.
/media/ should be the mountpoint for your devices under kde's automounter. plug something in and check that folder. on my system, the usb disk is called /media/usbdisk
the media:/ is a protocol handler for kde, it will never work on the command line.
something to check though, im using kde 3.5 and it doesnt seem to actually mount anything unless i access it, i cant recall if this behaviour exists in 3.4.3 too. either way, look in /media, thats where kde keeps such things. if all else fails, check the output of mount, it will list all mountpoints, and tell you exactly where everything is mounted.
I got around this by setting up udev so that a sensible alias always forms in /dev/ when a device is plugged in. This way, and entry in my fstab can always find the right device and mount it on the right /mnt/folder.
I've since set up systems for other people who navigate entirely graphically. The KDE hotplug works flawlessly to make their devices popup on the desktop and in a media:/ folder that konqueror uses.
(Just in case anyone ever reads this thread again...)