Displaying 1 result from an estimated 1 matches for "isovd".
Did you mean:
isord
2006 Sep 13
0
[patch] add iso9660 detection to fstype
...clude "luks_fs.h"
#include "lvm2_sb.h"
+#include "iso9660_sb.h"
/*
* Slightly cleaned up version of jfs_superblock to
@@ -221,6 +222,21 @@
return 0;
}
+static int iso_image(const void *buf, unsigned long long *blocks)
+{
+ const struct iso_volume_descriptor *isovd =
+ (const struct iso_volume_descriptor *)buf;
+ const struct iso_hs_volume_descriptor *isohsvd =
+ (const struct iso_hs_volume_descriptor *)buf;
+
+ if (!memcmp(isovd->id, ISO_MAGIC, ISO_MAGIC_L) ||
+ !memcmp(isohsvd->id, ISO_HS_MAGIC, ISO_HS_MAGIC_L)) {
+ *blocks = 0;
+ return...