Date: Wed, 19 Jan 2011 07:23:56 GMT From: Zheng Liu <lz@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 187944 for review Message-ID: <201101190723.p0J7Nuug059466@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@187944?ac=10 Change 187944 by lz@gnehzuil-freebsd on 2011/01/19 07:23:26 Make 'mount -t ext4fs -r' can work well. * Now we can use 'mount -t ext4fs -r /dev/XXX /YYY' to mount an ext4 file system in read-only mode. * Before using this command, You need to do the following steps to compile and install ext4 kernel module: 1. enter sys/modules/ext4fs/ 2. make && make install Then you can use it to mount an ext4 file system. * I don't create a new mount_ext4fs dir in sbin/ because external mount programs needs to get away. Affected files ... .. //depot/projects/soc2010/ext4fs/src/sys/fs/ext4fs/ext4_vfsops.c#3 edit Differences ... ==== //depot/projects/soc2010/ext4fs/src/sys/fs/ext4fs/ext4_vfsops.c#3 (text+ko) ==== @@ -92,7 +92,7 @@ .vfs_vget = ext2_vget, }; -VFS_SET(ext2fs_vfsops, ext2fs, 0); +VFS_SET(ext2fs_vfsops, ext4fs, 0); static int ext2_check_sb_compat(struct ext2fs *es, struct cdev *dev, int ronly);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101190723.p0J7Nuug059466>