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.

Upcoming OSR Seminars:

Writing WDF Drivers I: Core Concepts, Nashua, NH 15-19 May, 2017
Writing WDF Drivers II: Advanced Implementation Tech., Nashua, NH 23-26 May, 2017
Kernel Debugging and Crash Analysis, Dulles, VA 26-30 June, 2017
Windows Internals & Software Driver Development, Nashua, NH 24-28 July, 2017


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: 26
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 ...) a= nd 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 -> I= RP_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=E9re kernel les disques rawsystem (ntfs,fat,exfat...) et disk filesyst= em qui sont dans le m=EAme driver. Mon probl=E9me: Quand je monte en premier le disque rawsystem ,et que ensuite je monte le d= isk filesystem, l'irp IRP_MJ_FILE_SYSTEM_CONTROL -> IRP_MN_MOUNT_VOLUME is not called in th= e disk filesystem. Quand je monte en premier le disque filesystem, l'irp IRP_MJ_FILE_SYSTEM_CO= NTROL -> IRP_MN_MOUNT_VOLUME est bien appeler . Quand je monte un disque rawsystem je retourne STATUS_UNRECOGNIZED_VOLUME d= ans IRP_MN_MOUNT_VOLUME. Quand je monte un disque filesystem je monte le disque VCB et je retourne S= TATUS_SUCCESS. Comment je dois faire pour que IRP_MN_MOUNT_VOLUME soit appeler dans tous l= es 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: 26
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 ...) a= nd 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 -> I= RP_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=E9re kernel les disques rawsystem (ntfs,fat,exfat...) et disk filesyst= em qui sont dans le m=EAme driver. Mon probl=E9me: Quand je monte en premier le disque rawsystem ,et que ensuite je monte le d= isk filesystem, l'irp IRP_MJ_FILE_SYSTEM_CONTROL -> IRP_MN_MOUNT_VOLUME is not called in th= e disk filesystem. Quand je monte en premier le disque filesystem, l'irp IRP_MJ_FILE_SYSTEM_CO= NTROL -> IRP_MN_MOUNT_VOLUME est bien appeler . Quand je monte un disque rawsystem je retourne STATUS_UNRECOGNIZED_VOLUME d= ans IRP_MN_MOUNT_VOLUME. Quand je monte un disque filesystem je monte le disque VCB et je retourne S= TATUS_SUCCESS. Comment je dois faire pour que IRP_MN_MOUNT_VOLUME soit appeler dans tous l= es cas dans mes disque filesystem ? Merci beaucoup=20
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 15:38.


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