FILE_ATTRIBUTE_DIRECTORY

If I issue IRP_MJ_DIRECTORY_CONTROL/FileBothDirectoryInformation and after
its completion FILE_BOTH_DIR_INFORMATION->FileAttributes contains
FILE_ATTRIBUTE_DIRECTORY flags can I be sure that file is a directory?

-htfv

FILE_STANDARD_INFORMATION.Directory may be more reliable.

-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Thursday, September 26, 2002 7:52 AM
To: File Systems Developers
Subject: [ntfsd] FILE_ATTRIBUTE_DIRECTORY

If I issue IRP_MJ_DIRECTORY_CONTROL/FileBothDirectoryInformation and after
its completion FILE_BOTH_DIR_INFORMATION->FileAttributes contains
FILE_ATTRIBUTE_DIRECTORY flags can I be sure that file is a directory?

-htfv


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

Could you explain?

-htfv

----- Original Message -----
From: “Fuller, Rob”
To: “File Systems Developers”
Sent: Thursday, September 26, 2002 4:49 PM
Subject: [ntfsd] RE: FILE_ATTRIBUTE_DIRECTORY

FILE_STANDARD_INFORMATION.Directory may be more reliable.

-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Thursday, September 26, 2002 7:52 AM
To: File Systems Developers
Subject: [ntfsd] FILE_ATTRIBUTE_DIRECTORY

If I issue IRP_MJ_DIRECTORY_CONTROL/FileBothDirectoryInformation and after
its completion FILE_BOTH_DIR_INFORMATION->FileAttributes contains
FILE_ATTRIBUTE_DIRECTORY flags can I be sure that file is a directory?

-htfv


You are currently subscribed to ntfsd as: xxxxx@inin.com
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%%

I seem to recall, perhaps incorrectly, that FILE_ATTRIBUTE_DIRECTORY may get overloaded to mean more than just directory.

-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Thursday, September 26, 2002 9:04 AM
To: File Systems Developers
Subject: [ntfsd] RE: FILE_ATTRIBUTE_DIRECTORY

Could you explain?

-htfv

----- Original Message -----
From: “Fuller, Rob”
To: “File Systems Developers”
Sent: Thursday, September 26, 2002 4:49 PM
Subject: [ntfsd] RE: FILE_ATTRIBUTE_DIRECTORY

FILE_STANDARD_INFORMATION.Directory may be more reliable.

-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Thursday, September 26, 2002 7:52 AM
To: File Systems Developers
Subject: [ntfsd] FILE_ATTRIBUTE_DIRECTORY

If I issue IRP_MJ_DIRECTORY_CONTROL/FileBothDirectoryInformation and after
its completion FILE_BOTH_DIR_INFORMATION->FileAttributes contains
FILE_ATTRIBUTE_DIRECTORY flags can I be sure that file is a directory?

-htfv


You are currently subscribed to ntfsd as: xxxxx@inin.com
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@inin.com
To unsubscribe send a blank email to %%email.unsub%%

Yes.

----- Original Message -----
From: “Alexey Logachyov”
To: “File Systems Developers”
Sent: Thursday, September 26, 2002 4:52 PM
Subject: [ntfsd] FILE_ATTRIBUTE_DIRECTORY

> If I issue IRP_MJ_DIRECTORY_CONTROL/FileBothDirectoryInformation and
after
> its completion FILE_BOTH_DIR_INFORMATION->FileAttributes contains
> FILE_ATTRIBUTE_DIRECTORY flags can I be sure that file is a
directory?
>
> -htfv
>
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>

What about Rob Fuller’s statement?

“I seem to recall, perhaps incorrectly, that FILE_ATTRIBUTE_DIRECTORY may
get overloaded to mean more than just directory.”

-htfv

----- Original Message -----
From: “Maxim S. Shatskih”
To: “File Systems Developers”
Sent: Friday, September 27, 2002 1:58 AM
Subject: [ntfsd] Re: FILE_ATTRIBUTE_DIRECTORY

> Yes.
>
> ----- Original Message -----
> From: “Alexey Logachyov”
> To: “File Systems Developers”
> Sent: Thursday, September 26, 2002 4:52 PM
> Subject: [ntfsd] FILE_ATTRIBUTE_DIRECTORY
>
>
> > If I issue IRP_MJ_DIRECTORY_CONTROL/FileBothDirectoryInformation and
> after
> > its completion FILE_BOTH_DIR_INFORMATION->FileAttributes contains
> > FILE_ATTRIBUTE_DIRECTORY flags can I be sure that file is a
> directory?
> >
> > -htfv
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> > 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%%
>

In all fairness, I may just be paranoid from having worked around a lot of bugs on this platform over a lot of years. The question is am I paranoid enough?

-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Friday, September 27, 2002 3:51 AM
To: File Systems Developers
Subject: [ntfsd] Re: FILE_ATTRIBUTE_DIRECTORY

What about Rob Fuller’s statement?

“I seem to recall, perhaps incorrectly, that FILE_ATTRIBUTE_DIRECTORY may
get overloaded to mean more than just directory.”

-htfv

----- Original Message -----
From: “Maxim S. Shatskih”
To: “File Systems Developers”
Sent: Friday, September 27, 2002 1:58 AM
Subject: [ntfsd] Re: FILE_ATTRIBUTE_DIRECTORY

> Yes.
>
> ----- Original Message -----
> From: “Alexey Logachyov”
> To: “File Systems Developers”
> Sent: Thursday, September 26, 2002 4:52 PM
> Subject: [ntfsd] FILE_ATTRIBUTE_DIRECTORY
>
>
> > If I issue IRP_MJ_DIRECTORY_CONTROL/FileBothDirectoryInformation and
> after
> > its completion FILE_BOTH_DIR_INFORMATION->FileAttributes contains
> > FILE_ATTRIBUTE_DIRECTORY flags can I be sure that file is a
> directory?
> >
> > -htfv
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> > 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@inin.com
To unsubscribe send a blank email to %%email.unsub%%

Rob is talking about the options where both FILE_DIRECTORY_FILE and
FILE_NONDIRECTORY_FILE are set. These are not ATTRIBUTES, but options set
on create.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Friday, September 27, 2002 4:51 AM
To: File Systems Developers
Subject: [ntfsd] Re: FILE_ATTRIBUTE_DIRECTORY

What about Rob Fuller’s statement?

“I seem to recall, perhaps incorrectly, that FILE_ATTRIBUTE_DIRECTORY may
get overloaded to mean more than just directory.”

-htfv

----- Original Message -----
From: “Maxim S. Shatskih”
To: “File Systems Developers”
Sent: Friday, September 27, 2002 1:58 AM
Subject: [ntfsd] Re: FILE_ATTRIBUTE_DIRECTORY

> Yes.
>
> ----- Original Message -----
> From: “Alexey Logachyov”
> To: “File Systems Developers”
> Sent: Thursday, September 26, 2002 4:52 PM
> Subject: [ntfsd] FILE_ATTRIBUTE_DIRECTORY
>
>
> > If I issue IRP_MJ_DIRECTORY_CONTROL/FileBothDirectoryInformation and
> after
> > its completion FILE_BOTH_DIR_INFORMATION->FileAttributes contains
> > FILE_ATTRIBUTE_DIRECTORY flags can I be sure that file is a
> directory?
> >
> > -htfv
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> > 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@osr.com
To unsubscribe send a blank email to %%email.unsub%%