Following a drive as its name changes.

I currently have a filter driver that is hooked to the logical drive
letters (a:, c:, etc.). I’d like to stay hooked to that drive when it is
renamed (from f: to g:, for instance).

Is there some way of finding out what the drive letter is being changed to?
I’m informed that the old device is going away by a FastIO DetachDevice()
call - does the targetDevice contain this information in some field?

Or is there some other way to continue hooking to the drive when its name
changes?

For instance, might it be possible to hook the physical partition, and find
out from it what logical drive letter is assigned to it?

Any help would be greatly appreciated,
Amy


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

You will need to hook the mount operation and dismount operations. This will
allow you to check the vpb->RealDevice and see if it is something you know
about.

Jamey

----- Original Message -----
From: “Amy Woodward”
To: “File Systems Developers”
Sent: Friday, January 12, 2001 1:18 PM
Subject: [ntfsd] Following a drive as its name changes.

>
> I currently have a filter driver that is hooked to the logical drive
> letters (a:, c:, etc.). I’d like to stay hooked to that drive when it
is
> renamed (from f: to g:, for instance).
>
> Is there some way of finding out what the drive letter is being changed
to?
> I’m informed that the old device is going away by a FastIO DetachDevice()
> call - does the targetDevice contain this information in some field?
>
> Or is there some other way to continue hooking to the drive when its name
> changes?
>
> For instance, might it be possible to hook the physical partition, and
find
> out from it what logical drive letter is assigned to it?
>
> Any help would be greatly appreciated,
> Amy
>
> —
> 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