LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: Benjamin Close <linux@senet.com.au>
To : hawjd001 <hawjd001@lux.levels.unisa.edu.au>
Date: Tue, 4 May 1999 18:02:07 +0930 (CST)
Re: autodetect cd insertion
On Tue, 4 May 1999, hawjd001 wrote:
> is there a way of detecting that a CD has been inserted?
>
> I've noticed that the message "hdc: media changed" sometimes comes up on the console.
>
> ultimately, i'd like a program to be called whenever the media is changed.
>
> Should I be looking at the automouter stuff?
>
Yes, this is what you are after.
automount/fs will mount the cd and then timeout if you don't use it for a
while.
My question is are you changing cd's without unmounting them first?
Cheers,
--
* Benjamin Close
* Benjsc@senet.com.au
* Web Page: http://users.senet.com.au/~benjsc
--
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
Return to the LinuxSA Mailing List Information Page