Hi Tony:
This is off topic, but I’ve never seen the answer to this: If a Create
request comes in with Parameters.Create.Options having the
FILE_OPEN_BY_FILE_ID bit set, where will the ID be found? In the
FileObject’s FileName, by chance? Or somewhere else? Fat doesn’t implement
this Create option (though, strangely, they implement querying for internal
information).
One reason I haven’t implemented the FileInternalInformation query in my FSD
is that I don’t know how to find the file id coming back to me in a Create!
Thanks,
Curt
-----Original Message-----
From: Tony Mason [mailto:xxxxx@osr.com]
Sent: Monday, April 30, 2001 10:44 AM
To: File Systems Developers
Subject: [ntfsd] Re: Best Method to get FullPathNameJamey,
In most cases this mechanism will work. However, if the file
is “opened by
ID” and the caller does not have traverse privilege, this
call will fail
when made to the NTFS file system. There is essentially no
way to guarantee
that you can extract the name of an arbitrary file,
unfortunately. Yes,
this technique works MOST of the time, but anyone using this
routine needs
to be prepared for it to fail (this code works if there is a
failure, but
callers must also be able to handle this problem as well!)Regards,
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.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