Magellan Linux

Contents of /trunk/mkinitrd-magellan/klibc/usr/kinit/fstype/reiser4_fs.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1297 - (show annotations) (download)
Fri May 27 15:12:11 2011 UTC (12 years, 11 months ago) by niro
File MIME type: text/plain
File size: 709 byte(s)
-updated to klibc-1.5.22 with mntproc definitions patch included
1 #ifndef __REISER4_FS_H
2 #define __REISER4_FS_H
3
4 #define SS_MAGIC_SIZE 16
5
6 /* reiser4 filesystem structure
7 *
8 * Master super block structure. It is the same for all reiser4 filesystems,
9 * so, we can declare it here. It contains common for all format fields like
10 * block size etc.
11 */
12 struct reiser4_master_sb {
13 /* Master super block magic. */
14 char ms_magic[SS_MAGIC_SIZE];
15
16 /* Disk format in use. */
17 __u16 ms_format;
18
19 /* Filesyetem block size in use. */
20 __u16 ms_blksize;
21
22 /* Filesyetm uuid in use. */
23 char ms_uuid[SS_MAGIC_SIZE];
24
25 /* Filesystem label in use. */
26 char ms_label[SS_MAGIC_SIZE];
27 } __attribute__ ((packed));
28
29 #define REISER4_SUPER_MAGIC_STRING "ReIsEr4"
30
31 #endif /* __REISER4_FS_H */