Hans de Bruin
On the ext 4 wiki (http://ext4.ext3.wiki.kernel.org/index.php/Ext4_Howto) There is an example how to create an ext4 fs:
$ mke2fs -T ext4 /dev/DEV
(should this not be -t ?) Now if my kernel does not support ext4 or tralila then mke2fs creates an ext2 fs whitout any warning. Isn't this kind of wrong?
Yes, it should be "mke2fs -t ext4/dev/DEV".
I'm not sure what you mean by "tralila".
And if you use mke2fs -t ext4, it should create an ext2 filesystem, as long as you are using a new enough version of e2fsprogs. Whether or not your kernel supports ext4 or not should have nothing to do with it.
mke2fs -t tralilla /dev/DE
creates an ext2 file system but does not report a "error tralilla unknown filesystem". why?
"And if you use mke2fs -t ext4, it should create an ext2 filesystem"
why ext2 why not ext4?
Sorry, I meant, "it should create an ext4 filesystem". Typo on my part...