LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can only mount once in KDE (https://www.linuxquestions.org/questions/slackware-14/can-only-mount-once-in-kde-489330/)

slackware_newbie 10-04-2006 07:03 AM

Can only mount once in KDE
 
I use Slackware 11.0

I can mount media through system:/media in kde but only one time. The second time I want to mount the same media it only hangs and if I cancel it shows the media as it was not mounted.

If I type mount on the console though I can see that the media actually was mounted.

This is my fstab:
/dev/hde6 swap swap defaults 0 0
/dev/hde7 / ext3 defaults 1 1
/dev/hde8 /home ext3 defaults 1 2
/dev/hde1 /fat-c vfat defaults 1 0
/dev/hde5 /fat-d vfat defaults 1 0
/dev/hda /media/dvdrom auto noauto,group,ro 0 0
/dev/hdc /media/dvdram auto noauto,group,noatime 0 0
/dev/sde /media/usbstick auto noauto,group,noatime 0 0
/dev/fd0 /media/floppy auto noauto,group 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

crisostomo_enrico 10-04-2006 07:54 AM

I didn't post this because I wan't sure but I checked it on 3 different machines! The same thing happens to me. I haven't looked at the problem deeper but it looks like a KDE bug...

slackware_newbie 10-04-2006 08:02 AM

Oh no!!!

Now we have waited months for 11.0 and now thera are so trivial bugs? Why has nobody noticed this?

Damn!

Is there any chance that Pat will release a bugfix for this?

crisostomo_enrico 10-04-2006 09:12 AM

Wait... nobody is saying that it's a Slacware bug, IMHO it looks like a KDE bug. We should wait for KDE bug to be fixed and then Pat will kindly distribute it in slackware-current.

Why nobody noticed it? Well, I suppose because some people don't rely on UI to mount a filesystem. I was firstly told by my sister :)

paulwhalley 12-02-2006 10:33 PM

I have been fighting this same problem for several hours now. Can anybody shed some light on this problem?

shenberry 12-02-2006 11:09 PM

your mounting it right even though in startx your cd or dvd rom is in system look at your fstab and check what linux calls your cd or dvd rom.
for this device dev/hda /media/dvdrom
just do /mnt/dvdrom and than cd /dev/dvdrom
how i learned how to do this was mounting my device and than using the midnight console to check how linux read it

In KDE when I load it with a cd already in the drive it mounts at startup with no problems

krussell 12-03-2006 12:11 AM

Hello :-)
I have this problem from Slack 10.2; its a KDE problem and it'll persits until you install dbus and hal.

arubin 12-03-2006 03:42 AM

I am not able to reproduce this problem. Are you using a 2.4 kernel? I have found mounting more reliable under 2.6.

PJBrs 12-04-2006 02:25 AM

I seem to recall that a bug was introduced in kde 3.5.4 or 3.5.5 that prevented the use of the media-kioslave without hal. According to the Slackware 11 changelog:

Code:

+--------------------------+
 Tue Sep 26 05:57:52 CDT 2006
[snip]
kde/kdebase-3.5.4-i486-7.tgz: Patched to fix media:/ URLs in Konqueror without
        requiring HAL. Thanks to everyone involved in reporting this issue and
        seeing that it was addressed:
        http://bugs.kde.org/show_bug.cgi?id=132281
        A big thanks to coolo (Stephan Kulow) for coming up with a patch. :-)

And I think there was a thread here about this bug too. Anyway, checking the original bug report it appears others have encountered the same problem. Let's see if we can get the kde hackers to fix this one :)

cdale77 12-04-2006 09:19 PM

Same problem, slack 11.0, KDE 3.5.4, linux 2.6.19. I've been told you can temp. fix the problem by pointing KDE to the device, not the mount point (i.e. point KDE to /dev/cdrom not /mnt/cdrom).

But does anybody know how to do this?

dunric 12-05-2006 12:35 PM

The bug was already reported but not yet confirmed. Please comment & vote for bug report nr. 131351.
It may be also related to previous bug nr. 132281.
Hope it'll be accepted and fixed soon.

r1w1s1 12-06-2006 01:09 AM

Just use autofs and autofs-config packages, also can mount and umount floppy/cdrom/usb.

http://www.wasare.net/home/pt-br/node/9
http://wasare.net/ftp/packages/slack...oarch-1wsa.tgz

After install start the service.

/etc/rc.d/rc.autofs start

Starting automatically.

echo "/etc/rc.d/rc.autofs start" >> /etc/rc.d/rc.local


Now you can open konqueror and point /mnt/auto

Old_Fogie 12-06-2006 05:08 AM

I tackled this issue by:

in kde at desktop, right click, create new link to device, then chose cdrom, and I keyed in /dev/cdrom. (note i made a symlink from /dev/hdd to my /dev/cdrom also)

now the icon/new shortcut i just made is on my desktop and i double click and it mounts and opens up konqueror for me, then later if i right click on my icon and choose eject, it unmounts and pops the drawer out for me no issues. i can do it all day long if i so desire.

my fstab has the cdrom using the media directory and i did create the appropriate sudo commands.

edit: i also have myself is the cdrom group too.

i've also done this for 'sda1' thru 'sda4' as i have a multi card flash reader device.

i'm using stock kde in slack 11, i dumped the dropline, so I have no hal or fancy udev.

rworkman 12-28-2006 03:23 PM

I think you'll find that this bug most accurately describes the problem.
http://bugs.kde.org/show_bug.cgi?id=136123
Please consider adding some votes (and if anyone else has any pull with the kde guys, see if you can get someone on this).

RW

uglydot 12-28-2006 03:41 PM

I ran into the same problem until I setup autofs.


All times are GMT -5. The time now is 08:36 AM.