Re: config EXT4DEV_FS question

From: Jan Engelhardt
Date: Tue Oct 17 2006 - 14:40:06 EST


Hi,

>> something I have seen during `make oldconfig`, in fs/Kconfig we find:
>>
>> config EXT4DEV_FS
>> ...
>>
>> To compile this file system support as a module, choose M here. The
>> module will be called ext4dev. Be aware, however, that the
>> filesystem of your root partition (the one containing the directory
>> /) cannot be compiled as a module, and so this could be dangerous.
>>
>> Why can't this be compiled as a module when / is ext4? There are a lot
>> of people out there having no filesystem code included in the kernel at
>> all (includes at least SUSE users using the default vendor kernel), but
>> instead have them as modules in their initramfss (what's the proper
>> plural of initramfs?). What is it that makes ext4 different?
>
>That same paragraph is in the help text of both ext2 and ext3. It is a
>bit outdated and should probably be cleaned up in all three.

Then I suggest removing the bogus part, as per following patch.

Signed-off-by: Jan Engelhardt <jengelh@xxxxxx>

Index: linux-2.6.19-rc2/fs/Kconfig
===================================================================
--- linux-2.6.19-rc2.orig/fs/Kconfig
+++ linux-2.6.19-rc2/fs/Kconfig
@@ -12,9 +12,7 @@ config EXT2_FS
Ext2 is a standard Linux file system for hard disks.

To compile this file system support as a module, choose M here: the
- module will be called ext2. Be aware however that the file system
- of your root partition (the one containing the directory /) cannot
- be compiled as a module, and so this could be dangerous.
+ module will be called ext2.

If unsure, say Y.

@@ -98,9 +96,7 @@ config EXT3_FS
(available at <http://sourceforge.net/projects/e2fsprogs/>).

To compile this file system support as a module, choose M here: the
- module will be called ext3. Be aware however that the file system
- of your root partition (the one containing the directory /) cannot
- be compiled as a module, and so this may be dangerous.
+ module will be called ext3.

config EXT3_FS_XATTR
bool "Ext3 extended attributes"
@@ -163,9 +159,7 @@ config EXT4DEV_FS
features will be added to ext4dev gradually.

To compile this file system support as a module, choose M here. The
- module will be called ext4dev. Be aware, however, that the filesystem
- of your root partition (the one containing the directory /) cannot
- be compiled as a module, and so this could be dangerous.
+ module will be called ext4dev.

If unsure, say N.

#<EOF>


-`J'
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/