Displaying 9 results from an estimated 9 matches for "romfs_image".
2004 Oct 16
1
181 and current Linus
...egparm=3 -DREGPARM=3 -march=i386 -Os -g
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -nostdinc
-iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386
-I../include/bits32 -I../include -I../linux/include -I../linux/include2
-W -Wall -c -o fstype.o fstype.c
fstype.c: In function `romfs_image':
fstype.c:99: warning: implicit declaration of function `cpu_to_be32'
fstype.c:99: warning: comparison between signed and unsigned
fstype.c:99: warning: comparison between signed and unsigned
mkdir -p static static.g
ld -o static/fstype ../klibc/crt0.o fstype.o libutils.a
../klibc/libc.a...
2006 Feb 05
1
Add swap support to fstype, second version
...WAP_MAGIC_L)) {
+ *blocks = 0;
+ return 1;
+ }
+ return 0;
+}
+
struct imagetype {
off_t block;
const char name[12];
@@ -189,17 +206,18 @@
};
static struct imagetype images[] = {
- { 0, "gzip", gzip_image },
- { 0, "cramfs", cramfs_image },
- { 0, "romfs", romfs_image },
- { 0, "xfs", xfs_image },
- { 0, "luks", luks_image },
- { 1, "minix", minix_image },
- { 1, "ext3", ext3_image },
- { 1, "ext2", ext2_image },
- { 8, "reiserfs", reiserfs_image },
- { 64, "reiserfs", reiserfs_image },
-...
2008 Oct 11
1
[PATCH] fstype: Fix ext4/ext4dev probing
...uot;ext4"));
+ if ((!test_fs || !ext4dev_present) && ext4_present)
+ 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"...
2006 Feb 05
0
Add LUKS support to fstype, second version
...>magic, LUKS_MAGIC, LUKS_MAGIC_L)) {
+ /* FSSIZE is dictated by the underlying fs, not by LUKS */
+ *blocks = 0;
+ return 1;
+ }
+ return 0;
+}
+
struct imagetype {
off_t block;
const char name[12];
@@ -179,6 +193,7 @@
{ 0, "cramfs", cramfs_image },
{ 0, "romfs", romfs_image },
{ 0, "xfs", xfs_image },
+ { 0, "luks", luks_image },
{ 1, "minix", minix_image },
{ 1, "ext3", ext3_image },
{ 1, "ext2", ext2_image },
Index: klibc/usr/kinit/fstype/luks_fs.h
=========================================================...
2006 Mar 22
0
[patch] Add LVM2 detection to fstype
...VM2_MAGIC_L) &&
+ !memcmp(lsb->type, LVM2_TYPE, LVM2_TYPE_L)) {
+ /* This is just one of possibly many PV's */
+ *blocks = 0;
+ return 1;
+ }
+ }
+
+ return 0;
+}
+
struct imagetype {
off_t block;
const char name[12];
@@ -214,6 +235,8 @@
{ 0, "romfs", romfs_image },
{ 0, "xfs", xfs_image },
{ 0, "luks", luks_image },
+ { 0, "lvm2", lvm2_image },
+ { 1, "lvm2", lvm2_image },
{ 1, "minix", minix_image },
{ 1, "ext3", ext3_image },
{ 1, "ext2", ext2_image },
diff -Nur...
2006 Apr 18
0
[patch] fstype fix ext3 <-> lvm2 detection
...since it's possible
+ * that an old lvm signature is left on the disk if pvremove
+ * is not used before creating the new fs.
*/
static struct imagetype images[] = {
{ 0, "gzip", gzip_image },
@@ -240,14 +245,14 @@ static struct imagetype images[] = {
{ 0, "romfs", romfs_image },
{ 0, "xfs", xfs_image },
{ 0, "luks", luks_image },
- { 0, "lvm2", lvm2_image },
- { 1, "lvm2", lvm2_image },
{ 1, "ext3", ext3_image },
{ 1, "ext2", ext2_image },
{ 1, "minix", minix_image },
{ 8, &q...
2006 Jul 05
0
[PATCH] Do LUKS detection later in fstype
...ible
* that an old lvm signature is left on the disk if pvremove
* is not used before creating the new fs.
+ *
+ * The same goes for LUKS as for LVM.
*/
static struct imagetype images[] = {
{0, "gzip", gzip_image},
{0, "cramfs", cramfs_image},
{0, "romfs", romfs_image},
{0, "xfs", xfs_image},
- {0, "luks", luks_image},
{1, "ext3", ext3_image},
{1, "ext2", ext2_image},
{1, "minix", minix_image},
{8, "reiserfs", reiserfs_image},
{64, "reiserfs", reiserfs_image},
{32, "jfs"...
2019 Oct 07
0
[klibc:master] fstype: Drop obsolete support for "ext4dev"
...uot;ext4"));
- if ((!test_fs || !ext4dev_present) && ext4_present)
- 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 Aug 15
0
[git patch] fstype support + minor stuff
...locks_count)
+ << (10 + __le32_to_cpu(sb->s_log_block_size));
+ return 1;
+ }
+ return 0;
+}
+
static int ext3_image(const void *buf, unsigned long long *bytes)
{
const struct ext3_super_block *sb =
@@ -302,6 +321,7 @@ static struct imagetype images[] = {
{0, "romfs", romfs_image},
{0, "xfs", xfs_image},
{0, "squashfs", squashfs_image},
+ {1, "ext4dev", ext4_image},
{1, "ext3", ext3_image},
{1, "ext2", ext2_image},
{1, "minix", minix_image},
commit bdd1ca2344edd06c873980c7023b8be006abd4f0
Author: maximil...