From 7fdc86bfe3a31c1d38be8274457d7f63b3e7c44b Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 15 Aug 2007 17:40:09 +0000 Subject: On 6.x this works: % mount | grep home /dev/ad4s1e on /home (ufs, local, noatime, soft-updates) % mount -u -o atime /home % mount | grep home /dev/ad4s1e on /home (ufs, local, soft-updates) Restore this behavior for on 7.x for the following mount options: noatime, noclusterr, noclusterw, noexec, nosuid, nosymfollow In addition, on 7.x, the following are equivalent: mount -u -o atime /home mount -u -o nonoatime /home Ideally, when we introduce new mount options, we should avoid options starting with "no". :) Requested by: jhb Reported by: Karol Kwiat , Scott Hetzel Approved by: re (bmah) Proxy commit for: rodrigc --- sys/gnu/fs/ext2fs/ext2_vfsops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/gnu') diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c index d5ad6f2..ace6823 100644 --- a/sys/gnu/fs/ext2fs/ext2_vfsops.c +++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c @@ -118,8 +118,8 @@ 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", "union", "acls", "exec", - "atime", "union", "suiddir", "multilabel", "symfollow", "clusterr", - "clusterw", "force", NULL }; + "noatime", "union", "suiddir", "multilabel", "nosymfollow", + "noclusterr", "noclusterw", "force", NULL }; /* * VFS Operations. -- cgit v1.1