hello all,
I have a driver that I attach between partmgr.sys and disk.sys. AFAIK,
partmgr is the partition manager driver, so IOCTLs related to
partition information should be handled by it. Also, if I understand
wee bit about drivers in windows, I think, when partmgr gets an IOCTL
regarding say partition formation, it should ideally create an IRP
(read) and send it down to the driver disk.sys with the correct secotr
number to fetch the data. Upon getting the IRP back, it can polutale
the partition_information structure and send it up. Am I correct?
If that is the case, then how come my driver, which is between
partmgr.sys and disk.sy gets the IOCTLs about partition info,
IOCTL_DISK_GET_PARTITION_INFO and IOCTL_DISK_SET_PARTITION_INFO and
scores of others that too look irrelevant.
What am i missing out on???
thanks in advance,
No, partmgr manages the partitions, but much of the control is done by
disk.sys. Basically, assume you are going to have to special case all the
IOCTL_DISK and IOCTL_STORAGE calls including the ones not defined in the DDK
(yes, there are some).
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply
“Developer” wrote in message news:xxxxx@ntfsd…
hello all,
I have a driver that I attach between partmgr.sys and disk.sys. AFAIK,
partmgr is the partition manager driver, so IOCTLs related to
partition information should be handled by it. Also, if I understand
wee bit about drivers in windows, I think, when partmgr gets an IOCTL
regarding say partition formation, it should ideally create an IRP
(read) and send it down to the driver disk.sys with the correct secotr
number to fetch the data. Upon getting the IRP back, it can polutale
the partition_information structure and send it up. Am I correct?
If that is the case, then how come my driver, which is between
partmgr.sys and disk.sy gets the IOCTLs about partition info,
IOCTL_DISK_GET_PARTITION_INFO and IOCTL_DISK_SET_PARTITION_INFO and
scores of others that too look irrelevant.
What am i missing out on???
thanks in advance,
–
- Developer
Holy christ, thats enough to scare the wits outta me!!! But then, it
it that it is not recommended to write a disk level filter sitting
above disk.sys or partmgr.sys, as in that case also there would be the
problem of IOCTL handling!!!
On 8/3/05, Don Burn wrote:
> No, partmgr manages the partitions, but much of the control is done by
> disk.sys. Basically, assume you are going to have to special case all the
> IOCTL_DISK and IOCTL_STORAGE calls including the ones not defined in the DDK
> (yes, there are some).
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
>
> “Developer” wrote in message news:xxxxx@ntfsd…
> hello all,
>
> I have a driver that I attach between partmgr.sys and disk.sys. AFAIK,
> partmgr is the partition manager driver, so IOCTLs related to
> partition information should be handled by it. Also, if I understand
> wee bit about drivers in windows, I think, when partmgr gets an IOCTL
> regarding say partition formation, it should ideally create an IRP
> (read) and send it down to the driver disk.sys with the correct secotr
> number to fetch the data. Upon getting the IRP back, it can polutale
> the partition_information structure and send it up. Am I correct?
>
> If that is the case, then how come my driver, which is between
> partmgr.sys and disk.sy gets the IOCTLs about partition info,
> IOCTL_DISK_GET_PARTITION_INFO and IOCTL_DISK_SET_PARTITION_INFO and
> scores of others that too look irrelevant.
>
> What am i missing out on???
>
> thanks in advance,
> –
>
> - Developer
>
>
>
> —
> Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
- Developer
No. Partition IOCTLs are handled by Disk.sys.
PartMgr’s only task is to register the partition device objects (created by
Disk) to volume managers. Nothing more.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Developer”
To: “Windows File Systems Devs Interest List”
Sent: Wednesday, August 03, 2005 8:21 PM
Subject: [ntfsd] am i missing something?
hello all,
I have a driver that I attach between partmgr.sys and disk.sys. AFAIK,
partmgr is the partition manager driver, so IOCTLs related to
partition information should be handled by it. Also, if I understand
wee bit about drivers in windows, I think, when partmgr gets an IOCTL
regarding say partition formation, it should ideally create an IRP
(read) and send it down to the driver disk.sys with the correct secotr
number to fetch the data. Upon getting the IRP back, it can polutale
the partition_information structure and send it up. Am I correct?
If that is the case, then how come my driver, which is between
partmgr.sys and disk.sy gets the IOCTLs about partition info,
IOCTL_DISK_GET_PARTITION_INFO and IOCTL_DISK_SET_PARTITION_INFO and
scores of others that too look irrelevant.
What am i missing out on???
thanks in advance,
–
- Developer
—
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
is there a site where I can get the details of these drivers of
windows? waht their functions are etc?
On 8/5/05, Maxim S. Shatskih wrote:
> No. Partition IOCTLs are handled by Disk.sys.
>
> PartMgr’s only task is to register the partition device objects (created by
> Disk) to volume managers. Nothing more.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Developer”
> To: “Windows File Systems Devs Interest List”
> Sent: Wednesday, August 03, 2005 8:21 PM
> Subject: [ntfsd] am i missing something?
>
>
> hello all,
>
> I have a driver that I attach between partmgr.sys and disk.sys. AFAIK,
> partmgr is the partition manager driver, so IOCTLs related to
> partition information should be handled by it. Also, if I understand
> wee bit about drivers in windows, I think, when partmgr gets an IOCTL
> regarding say partition formation, it should ideally create an IRP
> (read) and send it down to the driver disk.sys with the correct secotr
> number to fetch the data. Upon getting the IRP back, it can polutale
> the partition_information structure and send it up. Am I correct?
>
> If that is the case, then how come my driver, which is between
> partmgr.sys and disk.sy gets the IOCTLs about partition info,
> IOCTL_DISK_GET_PARTITION_INFO and IOCTL_DISK_SET_PARTITION_INFO and
> scores of others that too look irrelevant.
>
> What am i missing out on???
>
> thanks in advance,
> –
>
> - Developer
>
> —
> 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
>
>
> —
> Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
- Developer
Disk source is in the DDK.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Developer”
To: “Windows File Systems Devs Interest List”
Sent: Friday, August 05, 2005 8:50 AM
Subject: Re: [ntfsd] am i missing something?
is there a site where I can get the details of these drivers of
windows? waht their functions are etc?
On 8/5/05, Maxim S. Shatskih wrote:
> No. Partition IOCTLs are handled by Disk.sys.
>
> PartMgr’s only task is to register the partition device objects (created
by
> Disk) to volume managers. Nothing more.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Developer”
> To: “Windows File Systems Devs Interest List”
> Sent: Wednesday, August 03, 2005 8:21 PM
> Subject: [ntfsd] am i missing something?
>
>
> hello all,
>
> I have a driver that I attach between partmgr.sys and disk.sys. AFAIK,
> partmgr is the partition manager driver, so IOCTLs related to
> partition information should be handled by it. Also, if I understand
> wee bit about drivers in windows, I think, when partmgr gets an IOCTL
> regarding say partition formation, it should ideally create an IRP
> (read) and send it down to the driver disk.sys with the correct secotr
> number to fetch the data. Upon getting the IRP back, it can polutale
> the partition_information structure and send it up. Am I correct?
>
> If that is the case, then how come my driver, which is between
> partmgr.sys and disk.sy gets the IOCTLs about partition info,
> IOCTL_DISK_GET_PARTITION_INFO and IOCTL_DISK_SET_PARTITION_INFO and
> scores of others that too look irrelevant.
>
> What am i missing out on???
>
> thanks in advance,
> –
>
> - Developer
>
> —
> 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
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
- Developer
—
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
yes sir,
but AFAIK the sources of DISK dont tell me abt the functionality of
other drivers in teh stack like partmgr.
On 8/5/05, Maxim S. Shatskih wrote:
> Disk source is in the DDK.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Developer”
> To: “Windows File Systems Devs Interest List”
> Sent: Friday, August 05, 2005 8:50 AM
> Subject: Re: [ntfsd] am i missing something?
>
>
> is there a site where I can get the details of these drivers of
> windows? waht their functions are etc?
>
>
>
> On 8/5/05, Maxim S. Shatskih wrote:
> > No. Partition IOCTLs are handled by Disk.sys.
> >
> > PartMgr’s only task is to register the partition device objects (created
> by
> > Disk) to volume managers. Nothing more.
> >
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > xxxxx@storagecraft.com
> > http://www.storagecraft.com
> >
> > ----- Original Message -----
> > From: “Developer”
> > To: “Windows File Systems Devs Interest List”
> > Sent: Wednesday, August 03, 2005 8:21 PM
> > Subject: [ntfsd] am i missing something?
> >
> >
> > hello all,
> >
> > I have a driver that I attach between partmgr.sys and disk.sys. AFAIK,
> > partmgr is the partition manager driver, so IOCTLs related to
> > partition information should be handled by it. Also, if I understand
> > wee bit about drivers in windows, I think, when partmgr gets an IOCTL
> > regarding say partition formation, it should ideally create an IRP
> > (read) and send it down to the driver disk.sys with the correct secotr
> > number to fetch the data. Upon getting the IRP back, it can polutale
> > the partition_information structure and send it up. Am I correct?
> >
> > If that is the case, then how come my driver, which is between
> > partmgr.sys and disk.sy gets the IOCTLs about partition info,
> > IOCTL_DISK_GET_PARTITION_INFO and IOCTL_DISK_SET_PARTITION_INFO and
> > scores of others that too look irrelevant.
> >
> > What am i missing out on???
> >
> > thanks in advance,
> > –
> >
> > - Developer
> >
> > —
> > 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
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@gmail.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
>
> –
>
> - Developer
>
> —
> 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
>
>
> —
> Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
- Developer
AFAIK - as Luke Skywalker was ‘almost’ told: Trust the source. Look how it
interacts with the partition and mount managers.
“Developer” wrote in message news:xxxxx@ntfsd…
yes sir,
but AFAIK the sources of DISK dont tell me abt the functionality of
other drivers in teh stack like partmgr.
On 8/5/05, Maxim S. Shatskih wrote:
> Disk source is in the DDK.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Developer”
> To: “Windows File Systems Devs Interest List”
> Sent: Friday, August 05, 2005 8:50 AM
> Subject: Re: [ntfsd] am i missing something?
>
>
> is there a site where I can get the details of these drivers of
> windows? waht their functions are etc?
>
>
>
> On 8/5/05, Maxim S. Shatskih wrote:
> > No. Partition IOCTLs are handled by Disk.sys.
> >
> > PartMgr’s only task is to register the partition device objects
> > (created
> by
> > Disk) to volume managers. Nothing more.
> >
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > xxxxx@storagecraft.com
> > http://www.storagecraft.com
> >
> > ----- Original Message -----
> > From: “Developer”
> > To: “Windows File Systems Devs Interest List”
> > Sent: Wednesday, August 03, 2005 8:21 PM
> > Subject: [ntfsd] am i missing something?
> >
> >
> > hello all,
> >
> > I have a driver that I attach between partmgr.sys and disk.sys. AFAIK,
> > partmgr is the partition manager driver, so IOCTLs related to
> > partition information should be handled by it. Also, if I understand
> > wee bit about drivers in windows, I think, when partmgr gets an IOCTL
> > regarding say partition formation, it should ideally create an IRP
> > (read) and send it down to the driver disk.sys with the correct secotr
> > number to fetch the data. Upon getting the IRP back, it can polutale
> > the partition_information structure and send it up. Am I correct?
> >
> > If that is the case, then how come my driver, which is between
> > partmgr.sys and disk.sy gets the IOCTLs about partition info,
> > IOCTL_DISK_GET_PARTITION_INFO and IOCTL_DISK_SET_PARTITION_INFO and
> > scores of others that too look irrelevant.
> >
> > What am i missing out on???
> >
> > thanks in advance,
> > –
> >
> > - Developer
> >
> > —
> > 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
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@gmail.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
>
> –
>
> - Developer
>
> —
> 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
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
- Developer
DISK/ClassPnP (the common part of DISK and CDROM) is a PnP bus driver which
creates a PDO for each partition.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Developer”
To: “Windows File Systems Devs Interest List”
Sent: Friday, August 05, 2005 9:23 AM
Subject: Re: [ntfsd] am i missing something?
yes sir,
but AFAIK the sources of DISK dont tell me abt the functionality of
other drivers in teh stack like partmgr.
On 8/5/05, Maxim S. Shatskih wrote:
> Disk source is in the DDK.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Developer”
> To: “Windows File Systems Devs Interest List”
> Sent: Friday, August 05, 2005 8:50 AM
> Subject: Re: [ntfsd] am i missing something?
>
>
> is there a site where I can get the details of these drivers of
> windows? waht their functions are etc?
>
>
>
> On 8/5/05, Maxim S. Shatskih wrote:
> > No. Partition IOCTLs are handled by Disk.sys.
> >
> > PartMgr’s only task is to register the partition device objects
(created
> by
> > Disk) to volume managers. Nothing more.
> >
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > xxxxx@storagecraft.com
> > http://www.storagecraft.com
> >
> > ----- Original Message -----
> > From: “Developer”
> > To: “Windows File Systems Devs Interest List”
> > Sent: Wednesday, August 03, 2005 8:21 PM
> > Subject: [ntfsd] am i missing something?
> >
> >
> > hello all,
> >
> > I have a driver that I attach between partmgr.sys and disk.sys. AFAIK,
> > partmgr is the partition manager driver, so IOCTLs related to
> > partition information should be handled by it. Also, if I understand
> > wee bit about drivers in windows, I think, when partmgr gets an IOCTL
> > regarding say partition formation, it should ideally create an IRP
> > (read) and send it down to the driver disk.sys with the correct secotr
> > number to fetch the data. Upon getting the IRP back, it can polutale
> > the partition_information structure and send it up. Am I correct?
> >
> > If that is the case, then how come my driver, which is between
> > partmgr.sys and disk.sy gets the IOCTLs about partition info,
> > IOCTL_DISK_GET_PARTITION_INFO and IOCTL_DISK_SET_PARTITION_INFO and
> > scores of others that too look irrelevant.
> >
> > What am i missing out on???
> >
> > thanks in advance,
> > –
> >
> > - Developer
> >
> > —
> > 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
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@gmail.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
>
> –
>
> - Developer
>
> —
> 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
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
- Developer
—
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