Displaying 8 results from an estimated 8 matches for "romfs_fs".
2004 Oct 11
1
util/typefs breaks with recent headers
With the recent kernel patch
viro@www.linux.org.uk[torvalds]|include/linux/
romfs_fs.h|20041006145144|23705
aka "romfs endianness annotations" utils/fstype.c no longer links
because
cpu_to_be32 is undefined.
Options:
1) Change the header to be ok for userspace
diff -ur ../linux-2.5/include/linux/romfs_fs.h
linux/include/linux/romfs_fs.h
--- ../linux-2.5/include/lin...
2003 Apr 28
1
[PATCH] Fix the build for utils/fstype.h
...nother post-2.5.68 one. The cramfs header defines u8, so we must quiet
it down.
<b
diff -Nru a/utils/fstype.c b/utils/fstype.c
--- a/utils/fstype.c Mon Apr 28 15:10:56 2003
+++ b/utils/fstype.c Mon Apr 28 15:10:56 2003
@@ -19,7 +19,9 @@
#include <asm/byteorder.h>
#include <linux/romfs_fs.h>
+#define __KERNEL__
#include <linux/cramfs_fs.h>
+#undef __KERNEL__
#include <linux/minix_fs.h>
#include <linux/ext2_fs.h>
#include "ext3_fs.h"
2010 Apr 25
2
[git pull] small fixes, sh4, getruage() README's
...Signed-off-by: maximilian attems <max at stro.at>
diff --git a/usr/kinit/fstype/fstype.c b/usr/kinit/fstype/fstype.c
index 6aa82fc..d57b937 100644
--- a/usr/kinit/fstype/fstype.c
+++ b/usr/kinit/fstype/fstype.c
@@ -23,20 +23,20 @@
#define cpu_to_be32(x) __cpu_to_be32(x) /* Needed by romfs_fs.h */
-#include "romfs_fs.h"
+#include "btrfs.h"
#include "cramfs_fs.h"
-#include "minix_fs.h"
#include "ext2_fs.h"
#include "ext3_fs.h"
-#include "xfs_sb.h"
+#include "gfs2_fs.h"
+#include "iso9660_sb.h"...
2008 Oct 11
1
[PATCH] fstype: Fix ext4/ext4dev probing
...ude <stdio.h>
+#include <ctype.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <endian.h>
#include <netinet/in.h>
+#include <sys/utsname.h>
#include <sys/vfs.h>
#define cpu_to_be32(x) __cpu_to_be32(x) /* Needed by romfs_fs.h */
@@ -110,29 +112,142 @@ static int minix_image(const void *buf, unsigned long long *bytes)
return 0;
}
-static int ext4_image(const void *buf, unsigned long long *bytes)
+/*
+ * Check to see if a filesystem is in /proc/filesystems.
+ * Returns 1 if found, 0 if not
+ */
+static int fs_proc_...
2014 Feb 24
0
[PATCH] fstype: f2fs support
..._u8 extension_list[F2FS_MAX_EXTENSION][8]; /* extension array */
+} __packed;
+
+#endif /* F2FS_FS_H */
diff --git a/usr/kinit/fstype/fstype.c b/usr/kinit/fstype/fstype.c
index c5a1432..34d633a 100644
--- a/usr/kinit/fstype/fstype.c
+++ b/usr/kinit/fstype/fstype.c
@@ -37,6 +37,7 @@
#include "romfs_fs.h"
#include "squashfs_fs.h"
#include "xfs_sb.h"
+#include "f2fs_fs.h"
/*
* Slightly cleaned up version of jfs_superblock to
@@ -472,6 +473,18 @@ static int btrfs_image(const void *buf, unsigned long long *bytes)
return 0;
}
+static int f2fs_image(const...
2010 Jul 07
0
[git pull v2] x86_32, sh4, getrusage()
...Signed-off-by: maximilian attems <max at stro.at>
diff --git a/usr/kinit/fstype/fstype.c b/usr/kinit/fstype/fstype.c
index 6aa82fc..d57b937 100644
--- a/usr/kinit/fstype/fstype.c
+++ b/usr/kinit/fstype/fstype.c
@@ -23,20 +23,20 @@
#define cpu_to_be32(x) __cpu_to_be32(x) /* Needed by romfs_fs.h */
-#include "romfs_fs.h"
+#include "btrfs.h"
#include "cramfs_fs.h"
-#include "minix_fs.h"
#include "ext2_fs.h"
#include "ext3_fs.h"
-#include "xfs_sb.h"
+#include "gfs2_fs.h"
+#include "iso9660_sb.h"...
2006 Feb 05
1
Add swap support to fstype, second version
...uks, minix, ext3, ext2, reiserfs, jfs, swap
*
* MINIX, ext3 and Reiserfs bits are currently untested.
*/
@@ -20,6 +20,7 @@
#include <endian.h>
#include <netinet/in.h>
#include <sys/vfs.h>
+#include <asm/page.h>
#define cpu_to_be32(x) __cpu_to_be32(x) /* Needed by romfs_fs.h */
@@ -49,6 +50,9 @@
#define BLOCK_SIZE 1024
+/* Swap needs the definition of block size */
+#include "swap_fs.h"
+
static int gzip_image(const unsigned char *buf, unsigned long long *bytes)
{
if (buf[0] == 037 && (buf[1] == 0213 || buf[1] == 0236)) {
@@ -182,6 +186,1...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: