[patch] ext4fs read only mode

aditya sarawgi sarawgi.aditya at gmail.com
Sun Aug 22 20:35:53 UTC 2010


On Sun, Aug 22, 2010 at 4:47 PM, gnehzuil <gnehzuil at gmail.com> wrote:
> Hi all,
>
> This patch makes ext2fs can read ext4 filesystem in read-only mode. There
> are two files in attachments. 'ext4fs_ro_makefile.patch' is for Makefile in
> modules/ext2fs/. 'ext4fs_ro_src.patch' is for source code in fs/ext2fs/.
> Please use the following command to mount disk: 'mount -t ext2fs -r /dev/XXX
> /YYY'.
>

Hi,

Since ext2fs and ext4fs are different, are we planning to have a
different module for ext4fs and hence different source directories

> Now you can use it to read data from ext4 filesystem in the following
> features:
>
> + HAS_JOURNAL(*)
> + FILE_TYPE
> + SPARSE_SUPER
> + HUGE_FILE
> + EXTENTS
> + DIR_NLINK
> + UNINIT_BG
> + FLEX_BG(*)
> + EXTRA_ISIZE(*)
> + DIR_INDEX(**)
>
>
> * I don't implement this feature. However you don't need to worry about it
> because it doesn't be used in read-only mode.
>
> ** I have implemented a hash directory index in ext2_lookup() function. But
> there are two functions that I think they seem to be contaminated kernel
> source code. So this patch doesn't include hash directory index.
>
> Please test it.
>
>
> Best regards,
>
> lz
>
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>
>



-- 
Cheers,
Aditya Sarawgi


More information about the freebsd-fs mailing list