Partager via


2.2.1.2.2 File System Attribute Extensions

The list of file system attributes, as specified in [MS-CIFS] section 2.2.8.2.6, has been extended. For completeness, the following table lists all of the available attribute flags and their symbolic constants. Unless otherwise noted, any combination of the following bits is valid. Any bit that is not listed in this section is considered reserved; the sender SHOULD set it to zero, and the receiver MUST ignore it. For more information, see [MS-FSCC] section 2.5.1.

Name & bitmask

Extension

Meaning

FILE_CASE_SENSITIVE_SEARCH

0x00000001

No

File system supports case-sensitive file names.

FILE_CASE_PRESERVED_NAMES

0x00000002

No

File system preserves the case of file names when it stores the name on disk.

FILE_UNICODE_ON_DISK

0x00000004

No

File system supports Unicode in file names.

FILE_PERSISTENT_ACLS

0x00000008

No

File system preserves and enforces access control lists.

FILE_FILE_COMPRESSION

0x00000010

No

File system supports file-based compression. This flag is incompatible with FILE_VOLUME_IS_COMPRESSED. This flag does not affect how data is transferred over the network.

FILE_VOLUME_QUOTAS

0x00000020

Yes

File system supports per-user quotas.

FILE_SUPPORTS_SPARSE_FILES

0x00000040

Yes

File system supports sparse files.

FILE_SUPPORTS_REPARSE_POINTS

0x00000080

Yes

File system supports reparse points.

FILE_SUPPORTS_REMOTE_STORAGE

0x00000100

Yes

File system supports remote storage.

FILE_VOLUME_IS_COMPRESSED

0x00008000

No

Volume is a compressed volume. This flag is incompatible with FILE_FILE_COMPRESSION. This does not affect how data is transferred over the network.

FILE_SUPPORTS_OBJECT_IDS

0x00010000

Yes

File system supports object identifiers.

FILE_SUPPORTS_ENCRYPTION

0x00020000

Yes

File system supports encryption.

FILE_NAMED_STREAMS

0x00040000

Yes

File system supports multiple named data streams for a file.

FILE_READ_ONLY_VOLUME

0x00080000

Yes<7>

Specified volume is read-only.

FILE_SEQUENTIAL_WRITE_ONCE

0x00100000

Yes<8>

Specified volume can be written to one time only.  The write MUST be performed in sequential order.

FILE_SUPPORTS_TRANSACTIONS

0x00200000

Yes<9>

File system supports transaction processing.

FILE_SUPPORTS_HARD_LINKS

0x00400000

Yes<10>

File system supports direct links to other devices and partitions.

FILE_SUPPORTS_EXTENDED_ATTRIBUTES

0x00800000

Yes<11>

File system supports extended attributes (EAs).

FILE_SUPPORTS_OPEN_BY_FILE_ID

0x01000000

Yes<12>

File system supports open by FileID.

FILE_SUPPORTS_USN_JOURNAL

0x02000000

Yes<13>

File system supports update sequence number (USN) journals.

Reserved

0xFE007E00

N/A

These bits fields SHOULD be set to zero when sending and MUST be ignored when the message is received.