FILE_OBJECT->FsContext

Does FILE_OBJECT->FsContext always point to FSRTL_COMMON_FCB_HEADER. If not how can I know when it does not.

-htfv

Ya, VCB, DCB, and FCB all have a FSRTL_COMMON_FCB_HEADER as their first member . Cc manager expects that FsContext points to a FSRTL_COMMON…, and this is respected by all standard disk file systems. However, altough Im sure you know this, File objects can be used to represent other things than file system streams. For those, the above does not hold true.

Ciao, Dan

----- Original Message -----
From: Alexey Logachyov
To: File Systems Developers
Sent: Thursday, August 15, 2002 12:03 PM
Subject: [ntfsd] FILE_OBJECT->FsContext

Does FILE_OBJECT->FsContext always point to FSRTL_COMMON_FCB_HEADER. If not how can I know when it does not.

-htfv


You are currently subscribed to ntfsd as: xxxxx@rdsor.ro
To unsubscribe send a blank email to %%email.unsub%%

For filesystems which allow memory mapped files and use Cache Manager - yes.

Max

----- Original Message -----
From: Alexey Logachyov
To: File Systems Developers
Sent: Thursday, August 15, 2002 1:03 PM
Subject: [ntfsd] FILE_OBJECT->FsContext

Does FILE_OBJECT->FsContext always point to FSRTL_COMMON_FCB_HEADER. If not how can I know when it does not.

-htfv


You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%

But how can I know if FsContext points to FSRTL_COMMON…? How Cc manager
knows that?

-htfv

----- Original Message -----
From: Dan Partelly
To: File Systems Developers
Sent: Thursday, August 15, 2002 3:20 PM
Subject: [ntfsd] Re: FILE_OBJECT->FsContext

Ya, VCB, DCB, and FCB all have a FSRTL_COMMON_FCB_HEADER as their first
member . Cc manager expects that FsContext points to a FSRTL_COMMON…, and
this is respected by all standard disk file systems. However, altough Im
sure you know this, File objects can be used to represent other things than
file system streams. For those, the above does not hold true.

Ciao, Dan

----- Original Message -----
From: Alexey Logachyov
To: File Systems Developers
Sent: Thursday, August 15, 2002 12:03 PM
Subject: [ntfsd] FILE_OBJECT->FsContext

Does FILE_OBJECT->FsContext always point to FSRTL_COMMON_FCB_HEADER. If not
how can I know when it does not.

-htfv


You are currently subscribed to ntfsd as: xxxxx@rdsor.ro
To unsubscribe send a blank email to %%email.unsub%%

You are currently subscribed to ntfsd as: xxxxx@vba.com.by
To unsubscribe send a blank email to %%email.unsub%%

It’s a mandatory requirement for any on disk file system which uses Cc
manager.

----- Original Message -----
From: “Alexey Logachyov”
To: “File Systems Developers”
Sent: Sunday, August 25, 2002 9:00 AM
Subject: [ntfsd] Re: FILE_OBJECT->FsContext

> But how can I know if FsContext points to FSRTL_COMMON…? How Cc manager
> knows that?
>
> -htfv
>
> ----- Original Message -----
> From: Dan Partelly
> To: File Systems Developers
> Sent: Thursday, August 15, 2002 3:20 PM
> Subject: [ntfsd] Re: FILE_OBJECT->FsContext
>
>
> Ya, VCB, DCB, and FCB all have a FSRTL_COMMON_FCB_HEADER as their first
> member . Cc manager expects that FsContext points to a FSRTL_COMMON…,
and
> this is respected by all standard disk file systems. However, altough Im
> sure you know this, File objects can be used to represent other things
than
> file system streams. For those, the above does not hold true.
>
> Ciao, Dan
>
> ----- Original Message -----
> From: Alexey Logachyov
> To: File Systems Developers
> Sent: Thursday, August 15, 2002 12:03 PM
> Subject: [ntfsd] FILE_OBJECT->FsContext
>
>
> Does FILE_OBJECT->FsContext always point to FSRTL_COMMON_FCB_HEADER. If
not
> how can I know when it does not.
>
> -htfv
>
> —
> You are currently subscribed to ntfsd as: xxxxx@rdsor.ro
> To unsubscribe send a blank email to %%email.unsub%%
> —
> You are currently subscribed to ntfsd as: xxxxx@vba.com.by
> To unsubscribe send a blank email to %%email.unsub%%
>
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@rdsor.ro
> To unsubscribe send a blank email to %%email.unsub%%
>