Changes by: antona
Update of /cvsroot/linux-ntfs/linux-ntfs/include
In directory usw-pr-cvs1:/tmp/cvs-serv1759
Modified Files:
attrib.h
Log Message:
Clarified the reparse point tag flags.
Index: attrib.h
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/include/attrib.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** attrib.h 2001/03/15 23:12:45 1.15
--- attrib.h 2001/03/22 13:16:32 1.16
***************
*** 1561,1571 ****
* The reparse point tag defines the type of the reparse point. It also
* includes several flags, which further describe the reparse point.
! *
! * Most significant three bits mean:
! * tag owned by Microsoft
! * high latency on accessing file data
! * filename is an alias for another object
*/
typedef enum {
IO_REPARSE_TAG_RESERVED_ZERO = cpu_to_le32(0x00000000),
IO_REPARSE_TAG_RESERVED_ONE = cpu_to_le32(0x00000001),
--- 1561,1584 ----
* The reparse point tag defines the type of the reparse point. It also
* includes several flags, which further describe the reparse point.
! *
! * The reparse point tag is an unsigned 32-bit value divided in three parts:
! *
! * 1. The least significant 16 bits (i.e. bits 0 to 15) specifiy the type of
! * the reparse point.
! * 2. The 13 bits after this (i.e. bits 16 to 28) are reserved for future use.
! * 3. The most significant three bits are flags describing the reparse point.
! * They are defined as follows:
! * bit 29: Name surrogate bit. If set, the filename is an alias for
! * another object in the system.
! * bit 30: High-latecny bit. If set, accessing the first byte of data will
! * be slow. (E.g. the data is stored on a tape drive.)
! * bit 31: Microsoft bit. If set, the tag is owned by Microsoft. User
! * defined tags have to use zero here.
*/
typedef enum {
+ IO_REPARSE_TAG_IS_ALIAS = cpu_to_le32(0x20000000),
+ IO_REPARSE_TAG_IS_HIGH_LATENCY = cpu_to_le32(0x40000000),
+ IO_REPARSE_TAG_IS_MICROSOFT = cpu_to_le32(0x80000000),
+
IO_REPARSE_TAG_RESERVED_ZERO = cpu_to_le32(0x00000000),
IO_REPARSE_TAG_RESERVED_ONE = cpu_to_le32(0x00000001),
***************
*** 1588,1594 ****
/*
* Attribute: Reparse point (0xc0).
- *
- * FIXME: Describe more about reparse points here, including the flags in the
- * reparse_tag.
*/
typedef struct {
--- 1601,1604 ----
|