Displaying 1 result from an estimated 1 matches for "mount_len".
2004 Feb 04
3
[PATCH] Adding ocfs support to blkid
...b/blkid/probe.h
--- a/lib/blkid/probe.h Wed Feb 4 00:21:03 2004
+++ b/lib/blkid/probe.h Wed Feb 4 00:21:03 2004
@@ -209,6 +209,27 @@
__u32 h_blksize;
};
+struct ocfs_volume_header {
+ u_char minor_version[4];
+ u_char major_version[4];
+ u_char signature[128];
+ u_char mount[128];
+ u_char mount_len[2];
+};
+
+struct ocfs_volume_label {
+ u_char disk_lock[48];
+ u_char label[64];
+ u_char label_len[2];
+ u_char vol_id[16];
+ u_char vol_id_len[2];
+};
+
+#define ocfslabellen(o) ((uint)o.label_len[0] + (((uint) o.label_len[1]) << 8))
+#define ocfsmountlen(o) ((uint)o.mount_len[0] + (((u...