PERFORCE change 187944 for review
Zheng Liu
lz at FreeBSD.org
Wed Jan 19 07:23:57 UTC 2011
http://p4web.freebsd.org/@@187944?ac=10
Change 187944 by lz at 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);
More information about the p4-projects
mailing list