Hello,
I’m a newbie in filter drivers so excuse my stupid question( I believe is a
stupid one )
Does “ByteOffset” param in ZwWriteFile must be multiple of
DiskGeometry.BytesPerSector???
I did some modifications in my filter driver and the error comes from this
function.
The offset is OK, in bounds, the handle to file also, the buffer and length
are OK.
Thanks in advance.
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
It only needs to be a multiple of the sector size when you specify
IRP_NOCACHE.
“Florian Popa” wrote in message
news:xxxxx@ntfsd…
> Hello,
>
> I’m a newbie in filter drivers so excuse my stupid question( I believe is
> a
> stupid one )
> Does “ByteOffset” param in ZwWriteFile must be multiple of
> DiskGeometry.BytesPerSector???
>
> I did some modifications in my filter driver and the error comes from this
> function.
> The offset is OK, in bounds, the handle to file also, the buffer and
> length
> are OK.
>
> Thanks in advance.
>
> —
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
>
>
>
Thanks, now it works.
What I observed is that not all IRP have IRP_NOCACHE flag set.
Can anyone explain way and based on what this flag is set?
Thanks,
OSR Rulez
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mark Hahn
Sent: Tuesday, March 15, 2005 9:22 PM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] offset in ZwWriteFile
It only needs to be a multiple of the sector size when you specify
IRP_NOCACHE.
“Florian Popa” wrote in message
news:xxxxx@ntfsd…
> Hello,
>
> I’m a newbie in filter drivers so excuse my stupid question( I believe is
> a
> stupid one )
> Does “ByteOffset” param in ZwWriteFile must be multiple of
> DiskGeometry.BytesPerSector???
>
> I did some modifications in my filter driver and the error comes from this
> function.
> The offset is OK, in bounds, the handle to file also, the buffer and
> length
> are OK.
>
> Thanks in advance.
>
> —
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
>
>
>
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@trustnet.ro
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
—
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
Florian
If the user opened the handle without no intermediate buffering flag and
call one of the [Xx]WriteFile then IO_NOCACHE is not set.
If the user opened the handle with no intermediate buffering flag and call
one of the [Xx]WriteFile then IO_NOCACHE is set.
If the write is a paging write then IO_NOCACHE is set.
Is this not documented in IFS KIT Help?
Cheers
Lyndon
“Florian Popa” wrote in message
news:xxxxx@ntfsd…
>
> Thanks, now it works.
> What I observed is that not all IRP have IRP_NOCACHE flag set.
> Can anyone explain way and based on what this flag is set?
>
> Thanks,
> OSR Rulez
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Mark Hahn
> Sent: Tuesday, March 15, 2005 9:22 PM
> To: Windows File Systems Devs Interest List
> Subject: Re:[ntfsd] offset in ZwWriteFile
>
> It only needs to be a multiple of the sector size when you specify
> IRP_NOCACHE.
>
> “Florian Popa” wrote in message
> news:xxxxx@ntfsd…
>> Hello,
>>
>> I’m a newbie in filter drivers so excuse my stupid question( I believe is
>> a
>> stupid one )
>> Does “ByteOffset” param in ZwWriteFile must be multiple of
>> DiskGeometry.BytesPerSector???
>>
>> I did some modifications in my filter driver and the error comes from
>> this
>> function.
>> The offset is OK, in bounds, the handle to file also, the buffer and
>> length
>> are OK.
>>
>> Thanks in advance.
>>
>> —
>> Outgoing mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
>>
>>
>>
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@trustnet.ro
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
>
>
> —
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
>
>
>
Thanks, now I understand.
I don?t have IFS Kit( don?t think they will by it ) and because of that I
have big problems to understand the entire picture. I know that the kit has
a lot of examples and I suppose some more deep documentation, more then in
the DDK.
I’m learning more from this discussion list that I’m watching for almost a
year.
Thanks again.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Lyndon J Clarke
Sent: Wednesday, March 16, 2005 10:45 AM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] offset in ZwWriteFile
Florian
If the user opened the handle without no intermediate buffering flag and
call one of the [Xx]WriteFile then IO_NOCACHE is not set.
If the user opened the handle with no intermediate buffering flag and call
one of the [Xx]WriteFile then IO_NOCACHE is set.
If the write is a paging write then IO_NOCACHE is set.
Is this not documented in IFS KIT Help?
Cheers
Lyndon
“Florian Popa” wrote in message
news:xxxxx@ntfsd…
>
> Thanks, now it works.
> What I observed is that not all IRP have IRP_NOCACHE flag set.
> Can anyone explain way and based on what this flag is set?
>
> Thanks,
> OSR Rulez
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Mark Hahn
> Sent: Tuesday, March 15, 2005 9:22 PM
> To: Windows File Systems Devs Interest List
> Subject: Re:[ntfsd] offset in ZwWriteFile
>
> It only needs to be a multiple of the sector size when you specify
> IRP_NOCACHE.
>
> “Florian Popa” wrote in message
> news:xxxxx@ntfsd…
>> Hello,
>>
>> I’m a newbie in filter drivers so excuse my stupid question( I believe is
>> a
>> stupid one )
>> Does “ByteOffset” param in ZwWriteFile must be multiple of
>> DiskGeometry.BytesPerSector???
>>
>> I did some modifications in my filter driver and the error comes from
>> this
>> function.
>> The offset is OK, in bounds, the handle to file also, the buffer and
>> length
>> are OK.
>>
>> Thanks in advance.
>>
>> —
>> Outgoing mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
>>
>>
>>
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@trustnet.ro
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
>
>
> —
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
>
>
>
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@trustnet.ro
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
—
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
> Does “ByteOffset” param in ZwWriteFile must be multiple of
DiskGeometry.BytesPerSector???
Only if the file is opened in noncached mode.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
Florian
You really really really need the IFS KIT honest; I would pretty much say
“No IFS KIT? No filter driver!”
Cheers
Lyndon
“Florian Popa” wrote in message
news:xxxxx@ntfsd…
Thanks, now I understand.
I don’t have IFS Kit( don’t think they will by it ) and because of that I
have big problems to understand the entire picture. I know that the kit has
a lot of examples and I suppose some more deep documentation, more then in
the DDK.
I’m learning more from this discussion list that I’m watching for almost a
year.
Thanks again.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Lyndon J Clarke
Sent: Wednesday, March 16, 2005 10:45 AM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] offset in ZwWriteFile
Florian
If the user opened the handle without no intermediate buffering flag and
call one of the [Xx]WriteFile then IO_NOCACHE is not set.
If the user opened the handle with no intermediate buffering flag and call
one of the [Xx]WriteFile then IO_NOCACHE is set.
If the write is a paging write then IO_NOCACHE is set.
Is this not documented in IFS KIT Help?
Cheers
Lyndon
“Florian Popa” wrote in message
news:xxxxx@ntfsd…
>
> Thanks, now it works.
> What I observed is that not all IRP have IRP_NOCACHE flag set.
> Can anyone explain way and based on what this flag is set?
>
> Thanks,
> OSR Rulez
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Mark Hahn
> Sent: Tuesday, March 15, 2005 9:22 PM
> To: Windows File Systems Devs Interest List
> Subject: Re:[ntfsd] offset in ZwWriteFile
>
> It only needs to be a multiple of the sector size when you specify
> IRP_NOCACHE.
>
> “Florian Popa” wrote in message
> news:xxxxx@ntfsd…
>> Hello,
>>
>> I’m a newbie in filter drivers so excuse my stupid question( I believe is
>> a
>> stupid one )
>> Does “ByteOffset” param in ZwWriteFile must be multiple of
>> DiskGeometry.BytesPerSector???
>>
>> I did some modifications in my filter driver and the error comes from
>> this
>> function.
>> The offset is OK, in bounds, the handle to file also, the buffer and
>> length
>> are OK.
>>
>> Thanks in advance.
>>
>> —
>> Outgoing mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
>>
>>
>>
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@trustnet.ro
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
>
>
> —
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
>
>
>
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@trustnet.ro
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
—
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
Thanks for the help!!!
The problem is solved now.
Thanks.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Lyndon J Clarke
Sent: Wednesday, March 16, 2005 6:46 PM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] offset in ZwWriteFile
Florian
You really really really need the IFS KIT honest; I would pretty much say
“No IFS KIT? No filter driver!”
Cheers
Lyndon
“Florian Popa” wrote in message
news:xxxxx@ntfsd…
Thanks, now I understand.
I don?t have IFS Kit( don?t think they will by it ) and because of that I
have big problems to understand the entire picture. I know that the kit has
a lot of examples and I suppose some more deep documentation, more then in
the DDK.
I’m learning more from this discussion list that I’m watching for almost a
year.
Thanks again.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Lyndon J Clarke
Sent: Wednesday, March 16, 2005 10:45 AM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] offset in ZwWriteFile
Florian
If the user opened the handle without no intermediate buffering flag and
call one of the [Xx]WriteFile then IO_NOCACHE is not set.
If the user opened the handle with no intermediate buffering flag and call
one of the [Xx]WriteFile then IO_NOCACHE is set.
If the write is a paging write then IO_NOCACHE is set.
Is this not documented in IFS KIT Help?
Cheers
Lyndon
“Florian Popa” wrote in message
news:xxxxx@ntfsd…
>
> Thanks, now it works.
> What I observed is that not all IRP have IRP_NOCACHE flag set.
> Can anyone explain way and based on what this flag is set?
>
> Thanks,
> OSR Rulez
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Mark Hahn
> Sent: Tuesday, March 15, 2005 9:22 PM
> To: Windows File Systems Devs Interest List
> Subject: Re:[ntfsd] offset in ZwWriteFile
>
> It only needs to be a multiple of the sector size when you specify
> IRP_NOCACHE.
>
> “Florian Popa” wrote in message
> news:xxxxx@ntfsd…
>> Hello,
>>
>> I’m a newbie in filter drivers so excuse my stupid question( I believe is
>> a
>> stupid one )
>> Does “ByteOffset” param in ZwWriteFile must be multiple of
>> DiskGeometry.BytesPerSector???
>>
>> I did some modifications in my filter driver and the error comes from
>> this
>> function.
>> The offset is OK, in bounds, the handle to file also, the buffer and
>> length
>> are OK.
>>
>> Thanks in advance.
>>
>> —
>> Outgoing mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
>>
>>
>>
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@trustnet.ro
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
>
>
> —
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
>
>
>
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@trustnet.ro
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
—
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@trustnet.ro
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
—
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005
As much as I can tell from his post, he is writing a
disk filter driver or a virtual disk driver. Not that
much need for IFS KIT there IMHO.
Razvan
— Lyndon J Clarke
wrote:
> Florian
>
> You really really really need the IFS KIT honest; I
> would pretty much say
> “No IFS KIT? No filter driver!”
>
> Cheers
> Lyndon
>
> “Florian Popa” wrote in
> message
> news:xxxxx@ntfsd…
> Thanks, now I understand.
> I don’t have IFS Kit( don’t think they will by it
> ) and because of that I
> have big problems to understand the entire picture.
> I know that the kit has
> a lot of examples and I suppose some more deep
> documentation, more then in
> the DDK.
> I’m learning more from this discussion list that I’m
> watching for almost a
> year.
> Thanks again.
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf
> Of Lyndon J Clarke
> Sent: Wednesday, March 16, 2005 10:45 AM
> To: Windows File Systems Devs Interest List
> Subject: Re:[ntfsd] offset in ZwWriteFile
>
> Florian
>
> If the user opened the handle without no
> intermediate buffering flag and
> call one of the [Xx]WriteFile then IO_NOCACHE is not
> set.
> If the user opened the handle with no intermediate
> buffering flag and call
> one of the [Xx]WriteFile then IO_NOCACHE is set.
> If the write is a paging write then IO_NOCACHE is
> set.
>
> Is this not documented in IFS KIT Help?
>
> Cheers
> Lyndon
>
> “Florian Popa” wrote in
> message
> news:xxxxx@ntfsd…
> >
> > Thanks, now it works.
> > What I observed is that not all IRP have
> IRP_NOCACHE flag set.
> > Can anyone explain way and based on what this flag
> is set?
> >
> > Thanks,
> > OSR Rulez
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On
> Behalf Of Mark Hahn
> > Sent: Tuesday, March 15, 2005 9:22 PM
> > To: Windows File Systems Devs Interest List
> > Subject: Re:[ntfsd] offset in ZwWriteFile
> >
> > It only needs to be a multiple of the sector size
> when you specify
> > IRP_NOCACHE.
> >
> > “Florian Popa” wrote in
> message
> > news:xxxxx@ntfsd…
> >> Hello,
> >>
> >> I’m a newbie in filter drivers so excuse my
> stupid question( I believe is
> >> a
> >> stupid one )
> >> Does “ByteOffset” param in ZwWriteFile must be
> multiple of
> >> DiskGeometry.BytesPerSector???
> >>
> >> I did some modifications in my filter driver and
> the error comes from
> >> this
> >> function.
> >> The offset is OK, in bounds, the handle to file
> also, the buffer and
> >> length
> >> are OK.
> >>
> >> Thanks in advance.
> >>
> >> —
> >> Outgoing mail is certified Virus Free.
> >> Checked by AVG anti-virus system
> (http://www.grisoft.com).
> >> Version: 6.0.859 / Virus Database: 585 - Release
> Date: 2/14/2005
> >>
> >>
> >>
> >
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> > https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as:
> xxxxx@trustnet.ro
> > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
> >
> > —
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system
> (http://www.grisoft.com).
> > Version: 6.0.859 / Virus Database: 585 - Release
> Date: 2/14/2005
> >
> >
> > —
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system
> (http://www.grisoft.com).
> > Version: 6.0.859 / Virus Database: 585 - Release
> Date: 2/14/2005
> >
> >
> >
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as:
> xxxxx@trustnet.ro
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
> —
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system
> (http://www.grisoft.com).
> Version: 6.0.859 / Virus Database: 585 - Release
> Date: 2/14/2005
>
>
> —
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system
> (http://www.grisoft.com).
> Version: 6.0.859 / Virus Database: 585 - Release
> Date: 2/14/2005
>
>
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
Fair enough
“Razvan Hobeanu” wrote in message
news:xxxxx@ntfsd…
> As much as I can tell from his post, he is writing a
> disk filter driver or a virtual disk driver. Not that
> much need for IFS KIT there IMHO.
>
> Razvan
>
> — Lyndon J Clarke
> wrote:
>
>> Florian
>>
>> You really really really need the IFS KIT honest; I
>> would pretty much say
>> “No IFS KIT? No filter driver!”
>>
>> Cheers
>> Lyndon
>>
>> “Florian Popa” wrote in
>> message
>> news:xxxxx@ntfsd…
>> Thanks, now I understand.
>> I don’t have IFS Kit( don’t think they will by it
>> ) and because of that I
>> have big problems to understand the entire picture.
>> I know that the kit has
>> a lot of examples and I suppose some more deep
>> documentation, more then in
>> the DDK.
>> I’m learning more from this discussion list that I’m
>> watching for almost a
>> year.
>> Thanks again.
>>
>> -----Original Message-----
>> From: xxxxx@lists.osr.com
>> [mailto:xxxxx@lists.osr.com] On Behalf
>> Of Lyndon J Clarke
>> Sent: Wednesday, March 16, 2005 10:45 AM
>> To: Windows File Systems Devs Interest List
>> Subject: Re:[ntfsd] offset in ZwWriteFile
>>
>> Florian
>>
>> If the user opened the handle without no
>> intermediate buffering flag and
>> call one of the [Xx]WriteFile then IO_NOCACHE is not
>> set.
>> If the user opened the handle with no intermediate
>> buffering flag and call
>> one of the [Xx]WriteFile then IO_NOCACHE is set.
>> If the write is a paging write then IO_NOCACHE is
>> set.
>>
>> Is this not documented in IFS KIT Help?
>>
>> Cheers
>> Lyndon
>>
>> “Florian Popa” wrote in
>> message
>> news:xxxxx@ntfsd…
>> >
>> > Thanks, now it works.
>> > What I observed is that not all IRP have
>> IRP_NOCACHE flag set.
>> > Can anyone explain way and based on what this flag
>> is set?
>> >
>> > Thanks,
>> > OSR Rulez
>> > -----Original Message-----
>> > From: xxxxx@lists.osr.com
>> > [mailto:xxxxx@lists.osr.com] On
>> Behalf Of Mark Hahn
>> > Sent: Tuesday, March 15, 2005 9:22 PM
>> > To: Windows File Systems Devs Interest List
>> > Subject: Re:[ntfsd] offset in ZwWriteFile
>> >
>> > It only needs to be a multiple of the sector size
>> when you specify
>> > IRP_NOCACHE.
>> >
>> > “Florian Popa” wrote in
>> message
>> > news:xxxxx@ntfsd…
>> >> Hello,
>> >>
>> >> I’m a newbie in filter drivers so excuse my
>> stupid question( I believe is
>> >> a
>> >> stupid one )
>> >> Does “ByteOffset” param in ZwWriteFile must be
>> multiple of
>> >> DiskGeometry.BytesPerSector???
>> >>
>> >> I did some modifications in my filter driver and
>> the error comes from
>> >> this
>> >> function.
>> >> The offset is OK, in bounds, the handle to file
>> also, the buffer and
>> >> length
>> >> are OK.
>> >>
>> >> Thanks in advance.
>> >>
>> >> —
>> >> Outgoing mail is certified Virus Free.
>> >> Checked by AVG anti-virus system
>> (http://www.grisoft.com).
>> >> Version: 6.0.859 / Virus Database: 585 - Release
>> Date: 2/14/2005
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> > —
>> > Questions? First check the IFS FAQ at
>> > https://www.osronline.com/article.cfm?id=17
>> >
>> > You are currently subscribed to ntfsd as:
>> xxxxx@trustnet.ro
>> > To unsubscribe send a blank email to
>> xxxxx@lists.osr.com
>> >
>> > —
>> > Incoming mail is certified Virus Free.
>> > Checked by AVG anti-virus system
>> (http://www.grisoft.com).
>> > Version: 6.0.859 / Virus Database: 585 - Release
>> Date: 2/14/2005
>> >
>> >
>> > —
>> > Outgoing mail is certified Virus Free.
>> > Checked by AVG anti-virus system
>> (http://www.grisoft.com).
>> > Version: 6.0.859 / Virus Database: 585 - Release
>> Date: 2/14/2005
>> >
>> >
>> >
>>
>>
>>
>> —
>> Questions? First check the IFS FAQ at
>> https://www.osronline.com/article.cfm?id=17
>>
>> You are currently subscribed to ntfsd as:
>> xxxxx@trustnet.ro
>> To unsubscribe send a blank email to
>> xxxxx@lists.osr.com
>>
>> —
>> Incoming mail is certified Virus Free.
>> Checked by AVG anti-virus system
>> (http://www.grisoft.com).
>> Version: 6.0.859 / Virus Database: 585 - Release
>> Date: 2/14/2005
>>
>>
>> —
>> Outgoing mail is certified Virus Free.
>> Checked by AVG anti-virus system
>> (http://www.grisoft.com).
>> Version: 6.0.859 / Virus Database: 585 - Release
>> Date: 2/14/2005
>>
>>
>>
>>
>>
>> —
>> Questions? First check the IFS FAQ at
>> https://www.osronline.com/article.cfm?id=17
>>
>> You are currently subscribed to ntfsd as:
>> xxxxx@yahoo.com
>> To unsubscribe send a blank email to
>> xxxxx@lists.osr.com
>>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
>