diff options
author | jhb <jhb@FreeBSD.org> | 2007-08-15 17:40:09 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-08-15 17:40:09 +0000 |
commit | 7fdc86bfe3a31c1d38be8274457d7f63b3e7c44b (patch) | |
tree | 167217e327e9846d087a5fb324dec1ff241929b2 /sys/gnu/fs | |
parent | a33a12f72a17ac67ef4864fd03cfdaf346a22f9e (diff) | |
download | FreeBSD-src-7fdc86bfe3a31c1d38be8274457d7f63b3e7c44b.zip FreeBSD-src-7fdc86bfe3a31c1d38be8274457d7f63b3e7c44b.tar.gz |
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 <karol.kwiat gmail com>, Scott Hetzel <swhetzel gmail com>
Approved by: re (bmah)
Proxy commit for: rodrigc
Diffstat (limited to 'sys/gnu/fs')
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
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. |