redirecting

Hello,
I have some files I want to redirect onto another volume. I am a file
system filter driver. In my create dispatch routine I would like to say
that this file is on volume B and not this volume. I know about
status_reparse, but I don’t know what to change to redirect to another
volume. What are the steps involved? (I.e. change FileName.Buffer to be
new name, etc)

thanks,
rob


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> that this file is on volume B and not this volume. I know about

status_reparse, but I don’t know what to change to redirect to another
volume. What are the steps involved? (I.e. change FileName.Buffer to be
new name, etc)

Yes, and then return STATUS_REPARSE and IO_REPARSE in Information.

Max


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Her is an example scenario:

OnCreate:

  • Filename == \test.dat
  • Delete file name in file object using ExFreePool()
  • Allocate new UNICODE string for the new filename
  • Set filename in file object to new filename unicode string.
    – \text.dat -> \device\harddisk%d\Partition%d\test.dat
  • ioStatus.Status = STATUS_REPARSE
  • ioStatus.Information = IO_REPARSE
  • return STATUS_REPARSE

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rob Green
Sent: Saturday, November 10, 2001 7:23 PM
To: File Systems Developers
Subject: [ntfsd] redirecting

Hello,
I have some files I want to redirect onto another volume. I am
a file system filter driver. In my create dispatch routine I would like
to say that this file is on volume B and not this volume. I know about
status_reparse, but I don’t know what to change to redirect to another
volume. What are the steps involved? (I.e. change FileName.Buffer to
be new name, etc)

thanks,
rob


You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

But the name is something like ‘\Temp\File1’… How do i switch devices?

rob

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Maxim S. Shatskih
Sent: Saturday, November 10, 2001 11:12 PM
To: File Systems Developers
Subject: [ntfsd] Re: redirecting

> that this file is on volume B and not this volume. I know about
> status_reparse, but I don’t know what to change to redirect to another
> volume. What are the steps involved? (I.e. change
FileName.Buffer to be
> new name, etc)

Yes, and then return STATUS_REPARSE and IO_REPARSE in Information.

Max


You are currently subscribed to ntfsd as: xxxxx@cdp.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com