From ba8e255297c3fd69d97670b302357602a7b7353e Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Sat, 18 Nov 2006 18:22:11 +0000 Subject: Previously, the mount_ext2fs binary listed the acceptable mount options for ext2fs. Now that we use nmount() directly from the mount binary to access ext2fs filesystems, add the list of acceptable mount options to ext2_ops, so that vfs_filteropts() will accept options like "noatime" for ext2fs. PR: 105483 Noticed by: Dr. Markus Waldeck MFC after: 1 month --- sys/gnu/fs/ext2fs/ext2_vfsops.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/gnu') diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c index c1b58cb23353..4168f911797d 100644 --- a/sys/gnu/fs/ext2fs/ext2_vfsops.c +++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c @@ -119,7 +119,10 @@ static int ext2_check_sb_compat(struct ext2_super_block *es, struct cdev *dev, static int compute_sb_data(struct vnode * devvp, struct ext2_super_block * es, struct ext2_sb_info * fs); -static const char *ext2_opts[] = { "from", "export" }; +static const char *ext2_opts[] = { "from", "export", "union", "acls", "exec", + "atime", "union", "suiddir", "multilabel", "symfollow", "clusterr", + "clusterw" }; + /* * VFS Operations. * -- cgit v1.3