Package: klibc-utils Version: 1.5.7-3 Severity: wishlist Tags: patch Please consider applying the attached patch to add squashfs-lzma support to fstype.
Thanks, Kel. --- diff -Nrup klibc-1.5.7/usr/kinit/fstype/fstype.c klibc-1.5.7.lzma/usr/kinit/fstype/fstype.c --- klibc-1.5.7/usr/kinit/fstype/fstype.c 2007-09-04 18:17:12.000000000 +1000 +++ klibc-1.5.7.lzma/usr/kinit/fstype/fstype.c 2007-12-11 19:28:09.000000000 +1000 @@ -292,7 +292,9 @@ static int squashfs_image(const void *bu (const struct squashfs_super_block *)buf; if (sb->s_magic == SQUASHFS_MAGIC - || sb->s_magic == SQUASHFS_MAGIC_SWAP) { + || sb->s_magic == SQUASHFS_MAGIC_SWAP + || sb->s_magic == SQUASHFS_MAGIC_LZMA + || sb->s_magic == SQUASHFS_MAGIC_LZMA_SWAP) { *blocks = (unsigned long long) sb->bytes_used; return 1; } diff -Nrup klibc-1.5.7/usr/kinit/fstype/squashfs_fs.h klibc-1.5.7.lzma/usr/kinit/fstype/squashfs_fs.h --- klibc-1.5.7/usr/kinit/fstype/squashfs_fs.h 2007-09-04 18:17:12.000000000 +1000 +++ klibc-1.5.7.lzma/usr/kinit/fstype/squashfs_fs.h 2007-12-11 19:26:30.000000000 +1000 @@ -8,6 +8,13 @@ #define SQUASHFS_MAGIC 0x73717368 #define SQUASHFS_MAGIC_SWAP 0x68737173 +/* + * Squashfs + LZMA + */ + +#define SQUASHFS_MAGIC_LZMA 0x71736873 +#define SQUASHFS_MAGIC_LZMA_SWAP 0x73687371 + /* definitions for structures on disk */ struct squashfs_super_block { unsigned int s_magic; --- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]