diff options
author | wollman <wollman@FreeBSD.org> | 1995-03-16 20:23:48 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-03-16 20:23:48 +0000 |
commit | 8e37e9f4798af7aceac629635492aaa37a2abdad (patch) | |
tree | 339efa4ef833597457007ee0e04e1f79d39a16c5 /sys/nfs | |
parent | 0c139f325ad73535b37a9f7140d3ae8b2a6370c4 (diff) | |
download | FreeBSD-src-8e37e9f4798af7aceac629635492aaa37a2abdad.zip FreeBSD-src-8e37e9f4798af7aceac629635492aaa37a2abdad.tar.gz |
Add four more filesystem flags:
VFCF_NETWORK (this FS goes over the net)
VFCF_READONLY (read-write mounts do not make any sense)
VFCF_SYNTHETIC (data in this FS is not real)
VFCF_LOOPBACK (this FS aliases something else)
cd9660 is readonly; nullfs, umapfs, and union are loopback; NFS is netowkr;
procfs, kernfs, and fdesc are synthetic.
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c index 9742bd4..562c953 100644 --- a/sys/nfs/nfs_vfsops.c +++ b/sys/nfs/nfs_vfsops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_vfsops.c 8.3 (Berkeley) 1/4/94 - * $Id: nfs_vfsops.c,v 1.10 1995/01/03 07:44:10 jkh Exp $ + * $Id: nfs_vfsops.c,v 1.11 1995/03/16 18:15:40 bde Exp $ */ #include <sys/param.h> @@ -89,7 +89,7 @@ struct vfsops nfs_vfsops = { nfs_init, nfs_sysctl }; -VFS_SET(nfs_vfsops, nfs, MOUNT_NFS, 0); +VFS_SET(nfs_vfsops, nfs, MOUNT_NFS, VFCF_NETWORK); /* * This structure must be filled in by a primary bootstrap or bootstrap |