On 2012-01-17, Kevin Lo wrote: > Return EOPNOTSUPP since we only support update mounts for NFS export. > > @@ -150,8 +150,12 @@ tmpfs_mount(struct mount *mp) > return (EINVAL); > > if (mp->mnt_flag & MNT_UPDATE) { > + /* > + * Only support update mounts for NFS export. > + */ > if (vfs_flagopt(mp->mnt_optnew, "export", NULL, 0)) > return (0); > + return (EOPNOTSUPP); > }
This doesn't look correct. As long as the option list includes the "export" option, all options are accepted. An example: # mount -u -o ro /mnt mount: tmpfs : Operation not supported # mount -u -o ro,export /mnt # -- Jaakko _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"