Automounting in 11/KDE4

Hello,

I have just upgraded from OpenSUSE 10.3 to OpenSUSE 11 w/ KDE4. I am having difficulty finding how to get external drives to automount on connection. Problem description follows. More background after.

USB:

Usb drives are detected fine but I have to go into dolphin and access them for them to be mounted. I would like it to just mount like in 10.3.

NTFS:
Same automount issue as above. I would like to know how to add the “uid=” option so I can have read/write without having to change permissions.

eSATA:
As part of my upgrade I have an AHCI enabled motherboard with eSATA. The eSATA works fine, the drives get detected (at a hardware level), they just don’t automount (or show up in Dolphin). I have to manually mount them from command line.

I have 9 external Drives in various flavours from usb to eSATA, from ext3 to ntfs. I also get alot of “foreigners” attached so specifying each drive in fstab is not an option.

I have done alot of searching of the forums and the web on the problem with no luck. I apologise if there is already a thread in existence.

I did find a thread with a similar problem but the resolution was to modify fstab to permenantly add the drive and there were no eSATA questions. Thread is here:
Auto mount/recognize of USB devices? - openSUSE Forums

Any info would be greatly appreciated. If I find the solution I will post it here.

Thanks.

Automounting of drives is handled by the YaST partitioner.

In KDE3 if you create a Link to device (right click on the desktop), clicking on the icon will mount and open the device in one click.

You have to right click to unmount.

I assume this has been implemented in KDE4; if not and you also have KDE3, you can implement it in KDE3 and it will work in KDE4.

Thanks for your reply.

I don’t have kde 3 installed.
I would also like to avoid any clicking to mount the drive. I am happy to right click to unmount.

Essentially I would like to know how to configure it to function like it did with the old automounter.

OnTarget

I solved my usb NTFS user permission problem.
All i had to do was create a link see below.

$su
#cd /sbin
#ln -s mount.ntfs-3g mount.ntfs

Now I just need to get it to mount without having to click on it in dolphin and get eSATA drives to automount.

Any help would be appreciated.

P.S I was just going to edit my former post but there is no edit button.

post the contents of
/etc/fstab

identify which line is the device in question

It’s not in fstab, its an external device.

To give background. I have a computer shop. I get alot of Sata hdd’s in that need data removed.

I have an eSata dock. With AHCI just plug in the hdd and go. I get alot of different drives so hard specifying in fstab is not an option.

USB external drives detect at a hardware level (dmesg report) and also “new device notifier” and “dolphin” see it.
Only problem is I have to click to mount. I would like it to do it by itself. (I use krusader)

The eSata dock however detects at a hardware level (dmesg report) but does not show up in either “new device notifier” or “dolphin”. I have to manually mount them via command line.

I assume that eSata just hasn’t been added to the automount scripts/policies. I just don’t know what to edit to fix this.

I hope that clears up my question. Thank you for your reply.

Have a look at swerdna’s page here:
HowTo Mount NTFS Filesystem Partition Read Write Access in openSUSE 10, 11

Thank you for the link. I didn’t find that one when I was trying to fix the permissions problem. It proved that what I did to fix it was the correct fix which is good.

Unfortunatly it didn’t have any advice on how to get it to mount with out clicking on the drive in dolphin.

If the drive is displayed in Dolphin, then it’s mounted.

If it were kde3 you were using the device would probably auto-mount to the desktop.

Krusader is kinda buggy from my experience

yes and no.

You connect the usb drive and it shows up in both “new device notifier” and dolphin. You have to click on the drive in either for it to mount. Both display a small icon on the drive icon to show you whether its mounted or not.

Only these two programs can see it until you click it. If you go into a console and type “mount” the drive is not shown so it is defiantly not mounted.

Once you click on the icon it shows up in all programs and shows that its mounted via “mount” in a console.

Thank you again for you time on this.

Did you already find a solution for your problem OnTarget? I am trying to hook up SATA Hard Disk via a aSATA QuickPort PRO (eSATA docking station for 2.5"+3.5" Hard Disks), here are the specifications:
SHARKOON Technologies GmbH

No luck so far, Dolhin doesn’t see anything when I turn on the device. Not USB or SATA, there are soem cryptic messages in dmsg but I can’t make sense out of them, YaST2 Partitioner doesn’t see anything either.

Sorry mate,

No solution on the eSATA at this stage. I am getting further than you by the sounds of it.

On my system using a similar docking station the drive shows up in dmesg and in yast, it just doesn’t show up in dolphin for gui mounting I suppose you could call it.

I can mount the drive from command line without a problem.

Does your motherboard have a separate controller for the eSATA. My last board did and there were no drivers for it. I learnt my lesson so was a little more careful building this new system.

Has this automount problem been dealt with in KDE4 yet?
it was a major headache for me (before I eventually gave up on KDE4 and reverted to KDE3) when trying to burn a disc in K3B. Because the external usb drive where I store a number of files is not automounted when system is booted - I’m searching around trying to work out why I can’t locate my drive within K3B.
I always had to close K3B. Mount the drive by selecting it in Dolphin and then restart K3B

Googling the issue - there are many people over various distros asking the question about automount of external drives in KDE 4 but not really any responses as to a workaround or even if it is being looked at by the KDE people.

Isn’t there still any solution for that automount problem ?
It is imho a little bit unhandy, to first mount/unmount with Dolphin. Automounting by clicking on it at the Desktop-Icons would be much better I think. :\

There is no problem
If you just go to /media it should be there - if it hasn’t appeared in Places

It is there in Dolphin but it is not mounted so is not visible in other applications that might need to access the drive. You have to first mount the drive by selecting itfrom within dolphin for it to be mounted.

It’s all there for me in the likes of k3b.
My external USB and I just plugged a Pen Drive in too. It was fine.

So this then answers my question. It must have been fixed in 4.1 because this was not the behaviour in 4.0.x which was released with Opensuse 11

I’m using KDE 4.1.3. and the problem still exists! :frowning:
Everytime I have to mount the drives with dolphin first to access the files of the media.And before I can eject the disk (DVD,CD-Rom), I first have to unmount it with dolphin. :\

following your post I thought I better check this out myself . . so I popped in a Opensuse 11 KDE 4.1 live CD - and yes, you are correct. External USB drive must first be mounted from within Dolphin before the drive become accessible in other applications.
This is very frustrating - I would have thought a basic issue such as this would have been dealt with by now. In KDE 3.5.x it is as simple as right clicking on the device icon and going to the mount tab then selecting auto mount. Why can’t they put this kind of option into KDE 4 somewhere?