Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

OSR Seminars


Go Back   OSR Online Lists > ntfsd
Welcome, Guest
You must login to post to this list
  Message 1 of 2  
07 Aug 17 13:20
Sivaller
xxxxxx@gmail.com
Join Date: 13 Jul 2017
Posts To This List: 33
Problem with IRP_MJ_FILE_SYSTEM_CONTROL -> IRP_MN_MOUNT_VOLUME

Hello, I have a big problem, I write kernel rawsystem disks (mount microsoft fat ntfs, fat, exfat ...) and disk filesystem which are in the same driver. My problem: When I first mount the rawsystem disk, and then I mount the disk filesystem, IRP_MJ_FILE_SYSTEM_CONTROL -> IRP_MN_MOUNT_VOLUME is not called in the disk filesystem. When I first mount the filesystem disk, the IRP_MJ_FILE_SYSTEM_CONTROL -> IRP_MN_MOUNT_VOLUME is properly called. In IRP_MN_MOUNT_VOLUME, When I mount a rawsystem disk I return STATUS_UNRECOGNIZED_VOLUME in IRP_MN_MOUNT_VOLUME because it's not a disk filesystem. When I mount a disk filesystem I mount the VCB disk (disk filesystem) disk and I return STATUS_SUCCESS. How do I make for kernel windows call systematically IRP_MN_MOUNT_VOLUME in my filesystem disk? Thank. Message in french : Bonjour, J'ai un gros soucis, Je g?re kernel les disques rawsystem (ntfs,fat,exfat...) et disk filesystem qui sont dans le m?me driver. Mon probl?me: Quand je monte en premier le disque rawsystem ,et que ensuite je monte le disk filesystem, l'irp IRP_MJ_FILE_SYSTEM_CONTROL -> IRP_MN_MOUNT_VOLUME is not called in the disk filesystem. Quand je monte en premier le disque filesystem, l'irp IRP_MJ_FILE_SYSTEM_CONTROL -> IRP_MN_MOUNT_VOLUME est bien appeler . Quand je monte un disque rawsystem je retourne STATUS_UNRECOGNIZED_VOLUME dans IRP_MN_MOUNT_VOLUME. Quand je monte un disque filesystem je monte le disque VCB et je retourne STATUS_SUCCESS. Comment je dois faire pour que IRP_MN_MOUNT_VOLUME soit appeler dans tous les cas dans mes disque filesystem ? Merci beaucoup
  Message 2 of 2  
07 Aug 17 13:20
Sivaller
xxxxxx@gmail.com
Join Date: 13 Jul 2017
Posts To This List: 33
Problem with IRP_MJ_FILE_SYSTEM_CONTROL -> IRP_MN_MOUNT_VOLUME

Hello, I have a big problem, I write kernel rawsystem disks (mount microsoft fat ntfs, fat, exfat ...) and disk filesystem which are in the same driver. My problem: When I first mount the rawsystem disk, and then I mount the disk filesystem, IRP_MJ_FILE_SYSTEM_CONTROL -> IRP_MN_MOUNT_VOLUME is not called in the disk filesystem. When I first mount the filesystem disk, the IRP_MJ_FILE_SYSTEM_CONTROL -> IRP_MN_MOUNT_VOLUME is properly called. In IRP_MN_MOUNT_VOLUME, When I mount a rawsystem disk I return STATUS_UNRECOGNIZED_VOLUME in IRP_MN_MOUNT_VOLUME because it's not a disk filesystem. When I mount a disk filesystem I mount the VCB disk (disk filesystem) disk and I return STATUS_SUCCESS. How do I make for kernel windows call systematically IRP_MN_MOUNT_VOLUME in my filesystem disk? Thank. Message in french : Bonjour, J'ai un gros soucis, Je g?re kernel les disques rawsystem (ntfs,fat,exfat...) et disk filesystem qui sont dans le m?me driver. Mon probl?me: Quand je monte en premier le disque rawsystem ,et que ensuite je monte le disk filesystem, l'irp IRP_MJ_FILE_SYSTEM_CONTROL -> IRP_MN_MOUNT_VOLUME is not called in the disk filesystem. Quand je monte en premier le disque filesystem, l'irp IRP_MJ_FILE_SYSTEM_CONTROL -> IRP_MN_MOUNT_VOLUME est bien appeler . Quand je monte un disque rawsystem je retourne STATUS_UNRECOGNIZED_VOLUME dans IRP_MN_MOUNT_VOLUME. Quand je monte un disque filesystem je monte le disque VCB et je retourne STATUS_SUCCESS. Comment je dois faire pour que IRP_MN_MOUNT_VOLUME soit appeler dans tous les cas dans mes disque filesystem ? Merci beaucoup
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntfsd list to be able to post.

All times are GMT -5. The time now is 17:59.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license