lkml.org 
[lkml]   [1997]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: CD-ROM support question.
Date
> 	I'm following the question posed a couple of days ago by some
> other one, who asked whether it is possible to have an automounted cd-rom.
>
> I'm aware of at least a good reason to try and implement (I think most
> should be user space, but this is the only place I can find this many
> knoledged people...)

It _is_ possible to detect a media change, but only between
open() operations [ie. pull the disk out in the middle of an
operation, and the kernel would probably complain].

Unlocking the media when it is read-only, and adding support
for volume detection [check_media_change() is called on every open]
should be all that is required.

--
Andrew E. Mileski mailto:aem@netcom.ca

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.049 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site