[ros-kernel] Media change support
hartmut.birr at gmx.de
Sun Nov 9 23:00:24 CET 2003
> -----Original Message-----
> From: ros-kernel-bounces at reactos.com
> [mailto:ros-kernel-bounces at reactos.com] On Behalf Of Eric Kohl
> Sent: Sunday, November 09, 2003 4:35 PM
> To: ReactOS Kernel
> Subject: [ros-kernel] Media change support
> Hi all!
> I guess I have found a way to support media changes. Rajeev
> Nagar describes
> the media change support in his boot 'Windows NT File System
> Internals' in a
> very strange way that does not show the whole picture.
> The most important thing is that the first step is missing: An FSD's
> CreateFile routine must issue an IOCTL_XXX_CHECK_VERIFY request to the
> storage device in order to find out whether the medium was
> changed. If that
> request returns STATUS_VERIFY_REQUIRED call IoVerifyVolume.
> In Nagar's book the media change information seems to fall
> from the sky.
> That's why the reader does not find a starting point for his/her
I think this is correct. There exist some more informations on
http://www.osr.com/ddk/kmarch/other_5ag7.htm. Some time ago I've made a
little change in my local sources which enables basic media change
support for cdfs. At that time I didn't know anything about
IOCTL_CDROM_CHECK_VERIFY. I've implemented the IOCTL_CDROM_CHECK_VERIFY
request by reading the volume serial number in CreateFile. See the
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2791 bytes
Desc: not available
Url : http://reactos.geldorp.nl:8080/pipermail/ros-kernel/attachments/20031109/1f106ed0/cdfs.obj
More information about the Ros-kernel