LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 02-28-2006, 09:45 PM   #1
krus
LQ Newbie
 
Registered: Sep 2005
Distribution: kubuntu
Posts: 15

Rep: Reputation: 0
where does KDE mount my USB drives?


Hello all,

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.

Thanks for any and all help!
 
Old 03-01-2006, 04:51 AM   #2
zidane_tribal
Member
 
Registered: Apr 2005
Location: chained to my console.
Distribution: LFS 6.1
Posts: 143

Rep: Reputation: 18
/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.

im off for coffee, i need to wake up.
 
Old 03-01-2006, 11:49 AM   #3
krus
LQ Newbie
 
Registered: Sep 2005
Distribution: kubuntu
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for answering.

My /media/ folder always has the following contents:

$ ll /media
total 8
lrwxrwxrwx 1 root root 6 2005-09-01 05:07 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2005-09-01 05:07 cdrom0
lrwxrwxrwx 1 root root 4 2005-09-01 05:07 usb -> usb0
drwxr-xr-x 2 root root 4096 2005-09-01 05:07 usb0
$ ll /media/usb
usb/ usb0/
$ ll /media/usb0/
total 0

and the directory usb0 is always empty, even when I'm accessing the mounted drives from the desktop. This doesn't seem to be the place.
 
Old 03-01-2006, 08:21 PM   #4
petespin27
Member
 
Registered: Aug 2005
Location: Lansing, IL
Distribution: Opensuse 11
Posts: 140

Rep: Reputation: 15
I'm using kde 3.5 on pclinuxos. When I plug in a usb drive, it creates a folder /mnt/removable, even though Konqueror shows media:/sda (or sda1). /mnt/removable is the real mount point, though.

Check and see if kubuntu does anything similar.
 
Old 03-03-2006, 01:05 PM   #5
krus
LQ Newbie
 
Registered: Sep 2005
Distribution: kubuntu
Posts: 15

Original Poster
Rep: Reputation: 0
Nope... unfortunately no new folders are created in /mnt/ or /media/ (or anywhere else as far as I can tell. Thanks for the suggestion, though.
 
Old 09-15-2006, 06:49 PM   #6
krus
LQ Newbie
 
Registered: Sep 2005
Distribution: kubuntu
Posts: 15

Original Poster
Rep: Reputation: 0
by the way

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...)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB device automatic discovery and mount in KDE / Debian pinknick Linux - Hardware 0 01-18-2006 02:45 PM
How Mount USB Drives!! lonecrow Linux - Hardware 9 10-22-2005 08:52 PM
udev, USB Flash Drives, and usb-mount talkingwires Debian 13 11-07-2004 12:15 PM
Give user permission to mount/use cdrom drives or usb drives zwyrbla Linux - Newbie 2 08-23-2004 04:30 PM
using autofs to auto mount my usb drives DesertWolf0132 Slackware 8 07-30-2004 10:27 AM


All times are GMT -5. The time now is 07:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration