Date: Mon, 23 Aug 2010 01:43:50 +0530 From: aditya sarawgi <sarawgi.aditya@gmail.com> To: gnehzuil <gnehzuil@gmail.com> Cc: fs@freebsd.org Subject: Re: [patch] ext4fs read only mode Message-ID: <AANLkTi=c0kfB9dO1ck4LbDgyKF-HgmH5Tm43e5wFCyHy@mail.gmail.com> In-Reply-To: <4C71075C.9010802@gmail.com> References: <4C71075C.9010802@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 22, 2010 at 4:47 PM, gnehzuil <gnehzuil@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > > -- Cheers, Aditya Sarawgi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=c0kfB9dO1ck4LbDgyKF-HgmH5Tm43e5wFCyHy>