Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[autofs]umount on CD-ROM eject
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Red Nalie
Guru
Guru


Joined: 24 Mar 2003
Posts: 484
Location: Den Helder - The Netherlands - Europe - Earth - Milky Way - Universe

PostPosted: Fri Jun 13, 2003 1:49 pm    Post subject: [autofs]umount on CD-ROM eject Reply with quote

I have the following problem, and I can't find a decent solution through search:

autofs works fine, for one small problem:

when I press the eject button on my cd-rom player nothing happens (after I visited the mounted directory)

i.e.: (1)

<insert cdrom>
*autofs mounts*
<eject cdrom>
*autofs spits it out*

i.e.: (2(

<insert cdrom>
*autofs mounts*
<visit /misc/cd/ and scroll around>
*go to /*
<eject cdrom>
*.......nothing happens.......*

The answer must be simple, but nothing works here ._.;
_________________
Many people call me Linux-freak, I just see me as a freak who uses Linux :)

i'm a little n00bie short and stout, here is my nickname here is my SHOUT!!!1 when i get all flamed up hear me SHOUT!!1 ban me forever, kick me out
Back to top
View user's profile Send private message
Red Nalie
Guru
Guru


Joined: 24 Mar 2003
Posts: 484
Location: Den Helder - The Netherlands - Europe - Earth - Milky Way - Universe

PostPosted: Sun Jun 15, 2003 7:33 am    Post subject: Reply with quote

Anyone?
_________________
Many people call me Linux-freak, I just see me as a freak who uses Linux :)

i'm a little n00bie short and stout, here is my nickname here is my SHOUT!!!1 when i get all flamed up hear me SHOUT!!1 ban me forever, kick me out
Back to top
View user's profile Send private message
Qball
Apprentice
Apprentice


Joined: 25 Nov 2002
Posts: 196

PostPosted: Sun Jun 15, 2003 9:05 am    Post subject: Reply with quote

do you have fam running.. (fam keeps poling on the cdrom so it's busy)

try killing fam and trying again..
Back to top
View user's profile Send private message
Red Nalie
Guru
Guru


Joined: 24 Mar 2003
Posts: 484
Location: Den Helder - The Netherlands - Europe - Earth - Milky Way - Universe

PostPosted: Sun Jun 15, 2003 9:54 am    Post subject: Reply with quote

Qball wrote:
do you have fam running.. (fam keeps poling on the cdrom so it's busy)

try killing fam and trying again..


/etc/init.d/fam stop

Gives that FAM hasn't been started yet
_________________
Many people call me Linux-freak, I just see me as a freak who uses Linux :)

i'm a little n00bie short and stout, here is my nickname here is my SHOUT!!!1 when i get all flamed up hear me SHOUT!!1 ban me forever, kick me out
Back to top
View user's profile Send private message
alan.hughes
n00b
n00b


Joined: 23 Mar 2003
Posts: 40

PostPosted: Sun Jun 15, 2003 10:48 am    Post subject: Reply with quote

I'm not completely familiar with autofs (yet - planning on trying it soon), but as I understand it only checks the state of the device at regular intervals. So if you access the CD then there will be an interval before autofs unmounts it again. How long that is depends on how you have configured autofs (I think the default is several minutes). Also autofs will only unmount the file system if there are no processes cd'ed into the file system, and no files from it open.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum