LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-21-2004, 07:28 AM   #1
RedUcer
LQ Newbie
 
Registered: Apr 2004
Location: Belgium
Distribution: Mandrake
Posts: 15

Rep: Reputation: 0
Repairing Automount


Hi, I'm having some trouble with the automount under mandrake 10. Here is the problem. Recently I had to umount an automounted partition (a USB Hard drive) under root, because that drive got stucked. But since, it seems to me automount cannot act on the /mnt/removable directory, so when I plug a disk in again, it creates another mount point wich is /mnt/removable2 and under KDE you have that silly shortcut who points nowhere, and when you try to open it it sends back the following msg : "The data retrieval from devices isn't allowed" (english translation from french). So I decided to give it a try and to clean those dirty mount points and went to root and removed the directory =>
$ rm -R /mnt/removable
But now, those shortcuts are still there, and automount seems to not work at all anymore. It just doesn't do anything when I plug in a USB disk, only when I reboot the computer, but then, the shortcuts (the bad one and the new one) just seem both broken. What can I do to clean all this mess and get my automount working properly the way it did on a clean install ? Tnx for your answers.
 
Old 07-21-2004, 08:07 AM   #2
oot
Member
 
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240

Rep: Reputation: 30
Two suggestions:
1. Remake your /mnt/removable if you haven't already. Be sure the permissions are properly set.
2. Post the contents of your /etc/fstab here if step one doesn't get things working for you.
 
Old 07-21-2004, 09:35 AM   #3
RedUcer
LQ Newbie
 
Registered: Apr 2004
Location: Belgium
Distribution: Mandrake
Posts: 15

Original Poster
Rep: Reputation: 0
well, changing permissions on the /mnt/removable map did the trick. But under my KDE desktop it still says the same msg when I try to open the autogenerated shortcut, maybe the dekstop shortcut autogenerated works a special way ? Is there something behind this ? Nevertheless, here is my fstab file, hope this will help, still I don't see where it is defined to automount (maybe it's not automount that is used in Mandrake 10, I'm not sure) usb drives in here :

/dev/hdb6 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0
/dev/hda1 /mnt/win_c ntfs umask=0,nls=iso8859-15,ro 0 0
/dev/hdb1 /mnt/win_c2 vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/hda2 /mnt/win_d ntfs umask=0,nls=iso8859-15,ro 0 0
/dev/hda3 /mnt/win_e ntfs umask=0,nls=iso8859-15,ro 0 0
none /proc proc defaults 0 0
/dev/hdb5 swap swap defaults 0 0
 
Old 07-21-2004, 09:48 AM   #4
RedUcer
LQ Newbie
 
Registered: Apr 2004
Location: Belgium
Distribution: Mandrake
Posts: 15

Original Poster
Rep: Reputation: 0
Hey, there is something else... when I tried to use a CD-Rom drive, it now does exactly the same thing. I insert a CD, the shortcut appears on my desktop (under KDE) and when I try to open it (by double-clicking on it) it says : "Retrieving data from devices is not supported"... but when I open Konqueror and I type in the url /mnt/cdrom, it works. So my guess it's something wrong with the permissions from the shortcuts, but how can I change those ? Where are they defined ? All suggestions are welcome
 
Old 07-22-2004, 04:07 PM   #5
RedUcer
LQ Newbie
 
Registered: Apr 2004
Location: Belgium
Distribution: Mandrake
Posts: 15

Original Poster
Rep: Reputation: 0
Is there still no solution for this problem ? Or did everyone missed this thread ? Should I uninstall and reinstall KDE ? ... plz ? Anyone ?
 
Old 07-22-2004, 05:35 PM   #6
oot
Member
 
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240

Rep: Reputation: 30
Uhm... I don't use KDE, so I'm sort of wandering out of familiar territory here, but I would guess that, since it wasn't mountable, KDE automatically changed the icon from pointing to /mnt/cdrom to pointing to /dev/hdc, and that your error is because KDE doesn't want to read off a device directly. If you change it to point back to /mnt/cdrom, it might work. Or I could be totally wrong...
 
Old 07-23-2004, 05:00 PM   #7
RedUcer
LQ Newbie
 
Registered: Apr 2004
Location: Belgium
Distribution: Mandrake
Posts: 15

Original Poster
Rep: Reputation: 0
problem here is that those shortcuts are auto generated, but I don't know how, so you cannot inerfear on how they are builded, so it seems to me. Maybe if someone knew how did could hapen and how to reslove this. The application used is KIOExec (its the application name I found whenever the error msg appears, so I put the link to that app, not sure if it's the wrong app, but nevertheless, it's what I founded).
 
  


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
Messed up my fs, repairing it? microsoft/linux Debian 2 04-20-2005 09:32 PM
Repairing KDE 3.3? msie02 Fedora 1 10-17-2004 01:23 AM
repairing GRUB deardron Linux - Software 5 12-29-2003 04:11 PM
Repairing XF86Config martina-cz Linux - Newbie 5 11-08-2003 01:55 PM
Repairing? cjnkns Linux - Hardware 4 03-19-2003 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:31 PM.

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
Open Source Consulting | Domain Registration