Hi
I noticed that file system for \device\floppy0 does not mount till the
floopy drive is not accessed and once mounted, would not detach itself until
reboot. Can some one please tell me what is happening when the floopy is
ejected from the floppy drive. Is the file system for \device\floppy0,
unmounted when the floppy is ejected from the floppy drive
regards
Rohit
This is done via device removal. My suggestion is to read through
FatCommonCreate and FatVerifyVcb for the code that implements this logic
(for floppies, as I recall, it actually sends a probe IOCTL down to the
underlying device in order to poll the change line so it can verify that
it hasn’t changed.) Each file system does this differently (NTFS, for
example, does NOT deal with media removal, although it does - sort of -
deal with device removal.)
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
Looking forward to seeing you at the next OSR File Systems class in
Boston, MA April 18-21, 2006.
Do you have an IFS kit? Then grep the FASTFAT source for “remount”, and
also pay attention to FatVerifyVolume and related paths.
This is too long a story to type here. Reading the proper places of the
source at your own is maybe better.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Rohit”
To: “Windows File Systems Devs Interest List”
Sent: Wednesday, March 22, 2006 8:49 PM
Subject: [ntfsd] unmount \device\floppy0 until reboot
Hi
I noticed that file system for \device\floppy0 does not mount till the
floopy drive is not accessed and once mounted, would not detach itself until
reboot. Can some one please tell me what is happening when the floopy is
ejected from the floppy drive. Is the file system for \device\floppy0,
unmounted when the floppy is ejected from the floppy drive
regards
Rohit
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
>it hasn’t changed.) Each file system does this differently (NTFS, for
example, does NOT deal with media removal, although it does - sort of -
deal with device removal.)
Even modern NTFS? Or is it only about the NT4 NTFS?
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
To the best of my knowledge, NTFS still does not support dynamic media
change processing in any shipping version of Windows (e.g., it doesn’t
handle IRP_MJ_FILE_SYSTEM_CONTROL/IRP_MN_VERIFY_VOLUME.) This is not
the same (of course) as handling (or not handling) device removal.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
Looking forward to seeing you at the next OSR File Systems class in
Boston, MA April 18-21, 2006.
-----Original Message-----
it hasn’t changed.) Each file system does this differently (NTFS, for
example, does NOT deal with media removal, although it does - sort of -
deal with device removal.)
Even modern NTFS? Or is it only about the NT4 NTFS?