STATUS_REPARSE offset value

When a create returns STATUS_REPARSE. The value Reserved in the
REPARSE_DATA_BUFFER is the offset from the end of the FILE_OBJECT file name
string of where the mount resides in the path.

QUESTION: Is this value always relative to the string in the FILE_OBJECT
string or can it be relative to the FILE_OBJECT-.RelatedFileObject string
concatenated with the FILE_OBJECT file name string. I.E can the byte offset
from the end be more then the length of the string in FILE_OBJECT and
therefore into the string in the related file object.

Thanks,

Ken

The value will always be relative to the string in the fileObejct (aka,
reparseBuffer->Reserved < FileObject->FileName.Length).

  • Apurva

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ken Galipeau
Sent: Wednesday, October 26, 2005 8:34 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] STATUS_REPARSE offset value

When a create returns STATUS_REPARSE. The value Reserved in the
REPARSE_DATA_BUFFER is the offset from the end of the FILE_OBJECT file
name string of where the mount resides in the path.

QUESTION: Is this value always relative to the string in the FILE_OBJECT
string or can it be relative to the FILE_OBJECT-.RelatedFileObject
string concatenated with the FILE_OBJECT file name string. I.E can the
byte offset from the end be more then the length of the string in
FILE_OBJECT and therefore into the string in the related file object.

Thanks,

Ken


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

You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Will the FileObject->FileName always be absolute, i.e. start with a slash,

OR may it not have a slash and have to be appended to the path for the
FileObject->RelatedFileObject to get the full path name.

I do understand that regardless the ->Reserved and always less then
FileObject->FileName.Length

Thanks,

Ken


From: Apurva Doshi [mailto:xxxxx@windows.microsoft.com]
Sent: Wednesday, October 26, 2005 8:16 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] STATUS_REPARSE offset value

The value will always be relative to the string in the fileObejct (aka,
reparseBuffer->Reserved < FileObject->FileName.Length).

  • Apurva

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ken Galipeau
Sent: Wednesday, October 26, 2005 8:34 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] STATUS_REPARSE offset value

When a create returns STATUS_REPARSE. The value Reserved in the
REPARSE_DATA_BUFFER is the offset from the end of the FILE_OBJECT file name
string of where the mount resides in the path.

QUESTION: Is this value always relative to the string in the FILE_OBJECT
string or can it be relative to the FILE_OBJECT-.RelatedFileObject string
concatenated with the FILE_OBJECT file name string. I.E can the byte offset
from the end be more then the length of the string in FILE_OBJECT and
therefore into the string in the related file object.

Thanks,

Ken


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

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


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

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

It is either empty - or slash alone - or starts with slash.

Note: a combination of several slashes going one after another should be collapsed to a single slash.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: Ken Galipeau
To: Windows File Systems Devs Interest List
Sent: Thursday, October 27, 2005 8:43 AM
Subject: RE: [ntfsd] STATUS_REPARSE offset value

Will the FileObject->FileName always be absolute, i.e. start with a slash,

OR may it not have a slash and have to be appended to the path for the FileObject->RelatedFileObject to get the full path name.

I do understand that regardless the ->Reserved and always less then FileObject->FileName.Length

Thanks,

Ken


From: Apurva Doshi [mailto:xxxxx@windows.microsoft.com]
Sent: Wednesday, October 26, 2005 8:16 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] STATUS_REPARSE offset value

The value will always be relative to the string in the fileObejct (aka, reparseBuffer->Reserved < FileObject->FileName.Length).

  • Apurva

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Ken Galipeau
Sent: Wednesday, October 26, 2005 8:34 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] STATUS_REPARSE offset value

When a create returns STATUS_REPARSE. The value Reserved in the REPARSE_DATA_BUFFER is the offset from the end of the FILE_OBJECT file name string of where the mount resides in the path.

QUESTION: Is this value always relative to the string in the FILE_OBJECT string or can it be relative to the FILE_OBJECT-.RelatedFileObject string concatenated with the FILE_OBJECT file name string. I.E can the byte offset from the end be more then the length of the string in FILE_OBJECT and therefore into the string in the related file object.

Thanks,

Ken


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

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


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

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


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

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Ken,

It is always relative to the name string in the file object. If you think about it, it can’t be relative to the related file object because any reparse points given in that original path would have been resolved when it was opened.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no Rights


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Ken Galipeau
Sent: Wednesday, October 26, 2005 8:34 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] STATUS_REPARSE offset value

When a create returns STATUS_REPARSE. The ?value Reserved in the REPARSE_DATA_BUFFER is the offset from the end of the FILE_OBJECT file name string of where the mount resides in the path.
QUESTION: Is this value always relative to the string in the FILE_OBJECT string or can it be relative to the FILE_OBJECT-.RelatedFileObject string concatenated with the FILE_OBJECT file name string. I.E can the byte offset from the end be more then the length of the string in FILE_OBJECT and therefore into the string in the related file object.

Thanks,
Ken


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

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com