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 4  
08 Jul 17 14:27
Pavel Swietlanski
xxxxxx@gmail.com
Join Date: 14 Feb 2014
Posts To This List: 14
Instancesetup call

Hi folks Why if Im opening physicadeviceX fltmgr is calling instance setup? Isnt it supposed to be called when minifilter is going to be attached to fsd stack? When there is open do physical device then this is disk level not fsd isnt it like that? Thanks a lot
  Message 2 of 4  
08 Jul 17 14:36
Don Burn
xxxxxx@windrvr.com
Join Date: 23 Feb 2011
Posts To This List: 165
Instancesetup call

You don't say how you are opening the physicadeviceX, but assuming that is a raw disk or partition there is the raw file system attached. Depending on how you coded things the filter manager will be called. -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com xxxxx@lists.osr.com Sent: Saturday, July 08, 2017 2:27 PM To: Windows File Systems Devs Interest List <xxxxx@lists.osr.com> Subject: [ntfsd] Instancesetup call Hi folks Why if Im opening physicadeviceX fltmgr is calling instance setup? Isnt it supposed to be called when minifilter is going to be attached to fsd stack? When there is open do physical device then this is disk level not fsd isnt it like that? Thanks a lot --- NTFSD is sponsored by OSR MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <http://www.osr.com/seminars> To unsubscribe, visit the List Server section of OSR Online at <http://www.osronline.com/page.cfm?name=ListServer>
  Message 3 of 4  
08 Jul 17 17:47
Pavel Swietlanski
xxxxxx@gmail.com
Join Date: 14 Feb 2014
Posts To This List: 14
Instancesetup call

Hi, I'm talking about accessing disk like this: HANDLE disk = CreateFile(L"\\\\.\\PhysicalDrive0", GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL); So I'm using symlink to \device\harddisk0\dr0. 1. Where I can read something about RAW DISK. When it is attached etc? 2. What you mean when you wrote "Depending on how you coded things the filter manager will be called"? I mean I understand I'm always talking about access to disk, but not really tracking operation of it. Are there any other methods to open drive expect direct open of DO to which I could send IOCTL? thank you
  Message 4 of 4  
10 Jul 17 12:24
Slava Imameev
xxxxxx@hotmail.com
Join Date: 13 Sep 2013
Posts To This List: 221
Instancesetup call

<QUOTE> 1. Where I can read something about RAW DISK. When it is attached etc? </QUOTE> Windows source code only. Actually, there is nothing big about RAW. This is a rudimentary file system driver that initializes file objects and pass through IO to the volume or disk class driver. RAW is mounted when a create request is issued to a disk device object or a volume device object without mounted file system driver. When the last file object is closed the RAW is unmounted. <QUOTE> Are there any other methods to open drive expect direct open of DO to which I could send IOCTL? </QUOTE> No, if IOCTL is sent from a user mode application. You need a handle.
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 16:45.


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