How or where can we get this RYO sample?
I searched by RYO at osronline.com and no documents were found.
–
Fernando Roberto da Silva
DriverEntry Kernel Development
http://www.driverentry.com.br
De: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] Em nome de OSR LIST
Enviada em: ter?a-feira, 2 de outubro de 2007 08:06
Para: Windows File Systems Devs Interest List
Assunto: Re: [ntfsd] Wrote a File Copy Function for all who are intrested.
The RYO sample referenced above is a good model for you to follow, and would improve your code quite a bit, however in this particular instance rolling your own IRP’s probably would not be your best option.
Using IoCreateFileSpecifyDeviceObjectHint is allowing you to avoid re-entry on your creates already, which you have implemented.
With that function in use, for your outlined method - ZwRead/Write should be sufficient combined with the above create function. Rolling your own IRP’s is generally something that looks easier than it is to get right for a beginner. Even with that said, in your case I doubt that would even be necessary.
Regarding file attributes, file size, copy lengths, etc., the above would be a good example for you to look at. It would also improve on your error handling.
On 10/2/07, xxxxx@gmail.com wrote:
Look at the RYO model that OSR provides about how to copy a file by building and sending IRP’s to the FS.
—
NTFSD is sponsored by OSR
For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars
You are currently subscribed to ntfsd as: xxxxx@gmail.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
— NTFSD is sponsored by OSR For our schedule debugging and file system seminars (including our new fs mini-filter seminar) visit: http://www.osr.com/seminars You are currently subscribed to ntfsd as: xxxxx@opencs.com.br To unsubscribe send a blank email to xxxxx@lists.osr.com
It’s the Roll Your Own example from the '97 issue of the NTInsider. Browse
the older NTInsider articles, I believe RYO is the first one under 1997
issue.
On 10/2/07, Fernando Roberto wrote:
>
> How or where can we get this RYO sample?
>
> I searched by RYO at osronline.com and no documents were found.
>
>
>
> –
>
> Fernando Roberto da Silva
>
> DriverEntry Kernel Development
>
> http://www.driverentry.com.br
>
>
> ------------------------------
>
> De: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *Em nome de *OSR LIST
> Enviada em: ter?a-feira, 2 de outubro de 2007 08:06
> Para: Windows File Systems Devs Interest List
> Assunto: Re: [ntfsd] Wrote a File Copy Function for all who are
> intrested.
>
>
>
> The RYO sample referenced above is a good model for you to follow, and
> would improve your code quite a bit, however in this particular instance
> rolling your own IRP’s probably would not be your best option.
>
> Using IoCreateFileSpecifyDeviceObjectHint is allowing you to avoid
> re-entry on your creates already, which you have implemented.
>
> With that function in use, for your outlined method - ZwRead/Write should
> be sufficient combined with the above create function. Rolling your own
> IRP’s is generally something that looks easier than it is to get right for a
> beginner. Even with that said, in your case I doubt that would even be
> necessary.
>
> Regarding file attributes, file size, copy lengths, etc., the above would
> be a good example for you to look at. It would also improve on your error
> handling.
>
>
> On 10/2/07, xxxxx@gmail.com wrote:
>
> Look at the RYO model that OSR provides about how to copy a file by
> building and sending IRP’s to the FS.
>
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> — NTFSD is sponsored by OSR For our schedule debugging and file system
> seminars (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars You are currently subscribed to ntfsd as:
> xxxxx@opencs.com.br To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
http://www.osronline.com/article.cfm?id=87 - RYO
On 10/2/07, OSR LIST wrote:
>
> It’s the Roll Your Own example from the '97 issue of the NTInsider. Browse
> the older NTInsider articles, I believe RYO is the first one under 1997
> issue.
>
>
> On 10/2/07, Fernando Roberto wrote:
> >
> > How or where can we get this RYO sample?
> >
> > I searched by RYO at osronline.com and no documents were found.
> >
> >
> >
> > –
> >
> > Fernando Roberto da Silva
> >
> > DriverEntry Kernel Development
> >
> > http://www.driverentry.com.br
> >
> >
> > ------------------------------
> >
> > De: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]
> > *Em nome de OSR LIST
> > Enviada em: ter?a-feira, 2 de outubro de 2007 08:06
> > Para: Windows File Systems Devs Interest List
> > Assunto: Re: [ntfsd] Wrote a File Copy Function for all who are
> > intrested.
> >
> >
> >
> > The RYO sample referenced above is a good model for you to follow, and
> > would improve your code quite a bit, however in this particular instance
> > rolling your own IRP’s probably would not be your best option.
> >
> > Using IoCreateFileSpecifyDeviceObjectHint is allowing you to avoid
> > re-entry on your creates already, which you have implemented.
> >
> > With that function in use, for your outlined method - ZwRead/Write
> > should be sufficient combined with the above create function. Rolling your
> > own IRP’s is generally something that looks easier than it is to get right
> > for a beginner. Even with that said, in your case I doubt that would even be
> > necessary.
> >
> > Regarding file attributes, file size, copy lengths, etc., the above
> > would be a good example for you to look at. It would also improve on your
> > error handling.
> >
> >
> > On 10/2/07, * xxxxx@gmail.com wrote:
> >
> > Look at the RYO model that OSR provides about how to copy a file by
> > building and sending IRP’s to the FS.
> >
> >
> > —
> > NTFSD is sponsored by OSR
> >
> > For our schedule debugging and file system seminars
> > (including our new fs mini-filter seminar) visit:
> > http://www.osr.com/seminars
> >
> > You are currently subscribed to ntfsd as: xxxxx@gmail.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> > — NTFSD is sponsored by OSR For our schedule debugging and file system
> > seminars (including our new fs mini-filter seminar) visit:
> > http://www.osr.com/seminars You are currently subscribed to ntfsd as:
> > xxxxx@opencs.com.br To unsubscribe send a blank email to
> > xxxxx@lists.osr.com
> >
> > —
> > NTFSD is sponsored by OSR
> >
> > For our schedule debugging and file system seminars
> > (including our new fs mini-filter seminar) visit:
> > http://www.osr.com/seminars
> >
> > You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
> > ‘’
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
>