Displaying 4 results from an estimated 4 matches for "squashfs_image".
2007 Aug 15
0
[git patch] fstype support + minor stuff
...r/kinit/fstype/fstype.c
+++ b/usr/kinit/fstype/fstype.c
@@ -31,6 +31,7 @@
 #include "lvm2_sb.h"
 #include "iso9660_sb.h"
 #include "squashfs_fs.h"
+#include "gfs2_fs.h"
 
 /*
  * Slightly cleaned up version of jfs_superblock to
@@ -297,6 +298,20 @@ static int squashfs_image(const void *buf, unsigned long long *blocks)
 	return 0;
 }
 
+static int gfs2_image(const void *buf, unsigned long long *bytes)
+{
+	const struct gfs2_sb *sb =
+		(const struct gfs2_sb *)buf;
+
+	if (__be32_to_cpu(sb->sb_header.mh_magic) == GFS2_MAGIC
+		&& (__be32_to_cpu(sb->sb_fs_f...
2008 Oct 11
1
[PATCH] fstype: Fix ext4/ext4dev probing
...t)
+		return 0;
+	return 1;
+}
+
 static int ext3_image(const void *buf, unsigned long long *bytes)
 {
 	const struct ext3_super_block *sb =
@@ -370,7 +485,8 @@ static struct imagetype images[] = {
 	{0, "romfs", romfs_image},
 	{0, "xfs", xfs_image},
 	{0, "squashfs", squashfs_image},
-	{1, "ext4dev", ext4_image},
+	{1, "ext4dev", ext4dev_image},
+	{1, "ext4", ext4_image},
 	{1, "ext3", ext3_image},
 	{1, "ext2", ext2_image},
 	{1, "minix", minix_image},
-- 
1.5.6.1.205.ge2c7.dirty
2019 Oct 07
0
[klibc:master] fstype: Drop obsolete support for "ext4dev"
...t)
-		return 0;
-	return 1;
-}
-
 static int ext3_image(const void *buf, unsigned long long *bytes)
 {
 	const struct ext3_super_block *sb =
@@ -496,7 +383,6 @@ static struct imagetype images[] = {
 	{0, "romfs", romfs_image},
 	{0, "xfs", xfs_image},
 	{0, "squashfs", squashfs_image},
-	{1, "ext4dev", ext4dev_image},
 	{1, "ext4", ext4_image},
 	{1, "ext3", ext3_image},
 	{1, "ext2", ext2_image},
2007 Dec 10
1
[git patch] m-i-t support, ipconfig fix
hello hpa,
please pull latest
git pull git://git.debian.org/~maks/klibc.git maks
forgot to ask to keep git port open for our boxes at university,
thus moved my tree over too the alioth box.
for the changes
maximilian attems (4):
      [klibc] klibc/socketcalls/.gitignore addition
      [klibc] elf.h add support for st_info field
      [klibc] remove local insmod.c copy
      [klibc] ipconfig