I want to know if it’s possible to re-direct file I/O requests to another place.
For an instance, when explorer.exe browses on drive E (a CD-Writer drive), my driver builds new IRP(s) and sends requests to drive C (a local hard disk).
I have made it on Win9x and want to do this on 2K/XP.
In fact, this idea is from the CD-Buring function of WinXP. When files are copied to a CD-Writer, Windows puts these files to a ‘cache’ folder (named CD Burning). Then, Windows will ‘often’ prompts user to burn these files to a ‘real’ CD. Before user burns files, these files are visible, accesible when explorer or any other applications visit this CD-ROM drive.
Here, any one has finished this? Could you pls give me any hints? Thanks!
I recently asked some of these same questions on this
list. So if you search you will find more detail.
You have (at least) three tasks:
Manipulate
IRP_MJ_DIRECTORY_CONTROL/IRP_MN_QUERY_DIRECTORY irps
so that the files appear where you want them to
Redirect IRP_MJ_CREATE irps by using STATUS_REPARSE
Fail FastIoQueryOpen requests for files that you are
redirecting
Randy Cook
Lucid Systems Inc.
— Ray Yang wrote: > Hi, > > I want to know if it’s possible to re-direct file > I/O requests to another place. > > For an instance, when explorer.exe browses on drive > E (a CD-Writer drive), my driver builds new IRP(s) > and sends requests to drive C (a local hard disk). > > I have made it on Win9x and want to do this on > 2K/XP. > > In fact, this idea is from the CD-Buring function of > WinXP. When files are copied to a CD-Writer, Windows > puts these files to a ‘cache’ folder (named CD > Burning). Then, Windows will ‘often’ prompts user to > burn these files to a ‘real’ CD. Before user burns > files, these files are visible, accesible when > explorer or any other applications visit this CD-ROM > drive. > > Here, any one has finished this? Could you pls give > me any hints? Thanks! > > Regards, > Ray Yang > xxxxx@ybwork.com > b‹šç.®·§¶\¬¹»®&ÞvÚ’µûjÊÚÜœ¡×«É¨h¡Ê&N‹§²æìr¸›zǧu¦åjy™¨¥¶‰^j÷§µû÷Ï4X¬¶Ê,Ê&
__________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/
Thanks for your idea. I will search for your mail on this list.
Regards,
Ray Yang xxxxx@ybwork.com
----- Original Message -----
From: “Randy Cook” To: “File Systems Developers” Sent: Saturday, November 02, 2002 12:37 AM Subject: [ntfsd] Re: Re-direct file I/O requests to another place
> Ray, > > I recently asked some of these same questions on this > list. So if you search you will find more detail. > > You have (at least) three tasks: > - Manipulate > IRP_MJ_DIRECTORY_CONTROL/IRP_MN_QUERY_DIRECTORY irps > so that the files appear where you want them to > - Redirect IRP_MJ_CREATE irps by using STATUS_REPARSE > - Fail FastIoQueryOpen requests for files that you are > redirecting > > Randy Cook > Lucid Systems Inc. > > — Ray Yang wrote: > > Hi, > > > > I want to know if it’s possible to re-direct file > > I/O requests to another place. > > > > For an instance, when explorer.exe browses on drive > > E (a CD-Writer drive), my driver builds new IRP(s) > > and sends requests to drive C (a local hard disk). > > > > I have made it on Win9x and want to do this on > > 2K/XP. > > > > In fact, this idea is from the CD-Buring function of > > WinXP. When files are copied to a CD-Writer, Windows > > puts these files to a ‘cache’ folder (named CD > > Burning). Then, Windows will ‘often’ prompts user to > > burn these files to a ‘real’ CD. Before user burns > > files, these files are visible, accesible when > > explorer or any other applications visit this CD-ROM > > drive. > > > > Here, any one has finished this? Could you pls give > > me any hints? Thanks! > > > > Regards, > > Ray Yang > > xxxxx@ybwork.com > > > bzǧu??jyT???^j???4X???,??& > > > __________________________________________________ > Do you Yahoo!? > HotJobs - Search new jobs daily now > http://hotjobs.yahoo.com/ > > > — > You are currently subscribed to ntfsd as: xxxxx@ybwork.com > To unsubscribe send a blank email to xxxxx@lists.osr.com >