1 /* SPDX-License-Identifier: GPL-2.0 */
3 * These structs are used by the system-use-sharing protocol, in which the
4 * Rock Ridge extensions are embedded. It is quite possible that other
5 * extensions are present on the disk, and this is fine as long as they
10 unsigned char magic
[2];
12 } __attribute__ ((packed
));
22 unsigned char len_des
;
23 unsigned char len_src
;
24 unsigned char ext_ver
;
26 } __attribute__ ((packed
));
30 } __attribute__ ((packed
));
48 } __attribute__ ((packed
));
52 struct SL_component link
;
53 } __attribute__ ((packed
));
58 } __attribute__ ((packed
));
69 __u8 time
[7]; /* actually 6 unsigned, 1 signed */
70 } __attribute__ ((packed
));
74 struct stamp times
[0]; /* Variable number of these beasts */
75 } __attribute__ ((packed
));
77 /* Linux-specific extension for transparent decompression */
85 * These are the bits and their meanings for flags in the TF structure.
90 #define TF_ATTRIBUTES 8
92 #define TF_EXPIRATION 32
93 #define TF_EFFECTIVE 64
94 #define TF_LONG_FORM 128
99 unsigned char version
;
116 #define RR_PX 1 /* POSIX attributes */
117 #define RR_PN 2 /* POSIX devices */
118 #define RR_SL 4 /* Symbolic link */
119 #define RR_NM 8 /* Alternate Name */
120 #define RR_CL 16 /* Child link */
121 #define RR_PL 32 /* Parent link */
122 #define RR_RE 64 /* Relocation directory */
123 #define RR_TF 128 /* Timestamps */