Reparse point restrictions for files

Hi,

The MSDN documentation states that if a directory is set as a reparse point,
then it needs to be empty. Are there any similar restrictions on a file.
In other words, if a file exists (and has user data… hence a non-zero
filesize), can a reparse-point set still be allowed on it, so that it will
have both the valid file-data and the reparse-point data associated with it.
If yes, the handle opened by the underlying FSD will depend on the
presence/absence of FILE_OPEN_REPARSE_POINT in the Create Irp?

With HSM, is it possible to have parts of file-data backed-up (via the
reparse point), but a portion of the file-data still associated via the
regular open (on local-disk) (and hence both the reparse-point attribute & a
non-zero file-size).

Thanks,

-Vipul

Yes, a file can have both data and a reparse point.

Yes, what is opened is dependent on the FILE_OPEN_REPARSE_POINT flag and
what reparse point is present.

Which HSM product are you referring to? If you mean the Microsoft one
there may be a small window when both the reparse point is still set and
the data is set in the file. This would not be the normal situation.

Neal Christiansen
Microsoft File System Filter Group

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Vipul
Sent: Tuesday, December 09, 2003 12:19 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Reparse point restrictions for files

Hi,

The MSDN documentation states that if a directory is set as a reparse
point,
then it needs to be empty. Are there any similar restrictions on a
file.
In other words, if a file exists (and has user data… hence a non-zero
filesize), can a reparse-point set still be allowed on it, so that it
will
have both the valid file-data and the reparse-point data associated with
it.
If yes, the handle opened by the underlying FSD will depend on the
presence/absence of FILE_OPEN_REPARSE_POINT in the Create Irp?

With HSM, is it possible to have parts of file-data backed-up (via the
reparse point), but a portion of the file-data still associated via the
regular open (on local-disk) (and hence both the reparse-point attribute
& a
non-zero file-size).

Thanks,

-Vipul


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com