LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-11-2003, 08:06 PM   #1
infodoc
LQ Newbie
 
Registered: Nov 2003
Location: Chapel Hill, NC
Distribution: Libranet 2.8.1
Posts: 4

Rep: Reputation: 0
Question unable to auto unmount after accessing dir with Konqueror


Haven't seen this addressed in man pages or found anwer in my searches.
I am running Libranet 2.7, kernel 2.4.19. After much trial and error, have autofs working. Here's what I don't understand ...

If I access an automount dir from the console, all works as it is supposed to. However, if I access that same dir from Konqueror, it locks the device and the disk cannot be ejected, even if I am no longer browsing that dir in Konqueror.

For example:
1. At command line I type "ls /automnt/cd". The disk mounts, files display, then it automounts and I can eject. Of course, if I cd into dir of that drive, it won't unmount, which is to be expected, but will when I set dir elsewhere. All is well.

2. In Konqueror I type "/automnt/cd" in the address line (have to type is, since automounted directories don't display until mounted) and then <Enter> to display files. The disk mounts and files display. Fine so far. I then click on any other dir, let's say "/tmp". Those other files display. But, even though I am no longer viewing /automnt/cd, the automounted drive never umounts and disk can't be ejected.

In this situation, here's /etc/mtab (static drives not listed):
automount(pid1152) /automnt autofs rw,fd=5,pgrp=1152,minproto=2,maxproto=4 0 0
/dev/hdc /automnt/cd iso9660 ro,noexec,nodev,sync 0 0

Trying to umount from command line, "umount /automnt/cd" gives an error message of "umount: /automnt/cd: device is busy". But, only program running is Konqueror. Only way (that I have found) to unmount and eject disk is to close Konqueror. As you can expect, this makes Konqueror a pain to use with automounted drives.

here's /etc/auto.master:
/automnt /etc/auto.drives --timeout=3

here's /etc/auto.drives:
floppy -fstype=auto,sync,user,suid :/dev/fd0
cd -fstype=iso9660,ro,sync,user,suid :/dev/hdc
zip -fstype=auto,sync,user,suid :/dev/sda4


I can consistently replicate this behavior. What's up? Expected behavior of automount, my newbieness, need to change Konqueror setting, bug??? Does Konqueror keep a reference to the dir that prevents it from being unmounted? Any help appreciated.


Thanks much in advance for any help.

R
 
Old 11-12-2003, 04:31 PM   #2
camelrider
Member
 
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 251

Rep: Reputation: 32
As I don't use Konq this is just a guess, but can you make Konq clear its cache? That may be where it retains info that keeps /dev/hdc open.
 
Old 11-12-2003, 10:22 PM   #3
infodoc
LQ Newbie
 
Registered: Nov 2003
Location: Chapel Hill, NC
Distribution: Libranet 2.8.1
Posts: 4

Original Poster
Rep: Reputation: 0
camelrider,

Thanks for the idea. Unfortunately, cache may not be the problem. I disabled cache completely in Konqueror settings, and still can't eject the disk. No difference from what I was experiencing before.

Appreciate your confidence.

Thanks for responding!

R
 
  


Reply



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
Konqueror: Icons/file names don't show up for home dir jlangelier Linux - Software 3 12-10-2004 02:54 PM
unable to unmount samba meenaxi Linux - Networking 2 12-03-2004 02:48 AM
Unable to unmount SMB shares reyemarr Linux - General 5 03-29-2004 02:25 AM
mkisofs: unable to sort dir abs Slackware 1 03-15-2004 05:41 PM
auto rename contents of a DIR bkeating Linux - General 1 11-05-2002 06:34 PM

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

All times are GMT -5. The time now is 12:34 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
Open Source Consulting | Domain Registration