Re: [PATCH, RFC] Add new "development flag" to the ext4 filesystem

supersud501
2008-01-31T01:29:24Z

Theodore Tso wrote:

>
> You can manually set the flag using debugfs:
>
> # debugfs -w /dev/hdXX
> debugfs: set_super_value s_flags 4
> debugfs: quit
>
> (Or, if you're lazy, you can also type the shorthand "ssv flags 4" to
> debugfs.)
>
> With e2fsprogs 1.40.5, if the test_fs flag is set, then blkid will
> return a filesystem type ext4dev, such that if your mount is
> configured to use blkid (instead of vol_id), it will automatically use
> ext4dev to mount a filesystem that has (a) a journal (since ext4
> currently requires a journal), and (b) the test_fs flag set.
>
> This makes it easier for people who are testing ext4, since they will
> just be able to do something like:
>
> # mke2fs -j -E test_fs /dev/mapper/lvmset-test
> # mount /dev/mapper/lvmset-test
>
> .. and /dev/mapper/lvmset-test will automatically be mounted using
> ext4.
>
> - Ted

thanks for your quick answer! i think i've learned something more about
ext4 and those flags.