From owner-cvs-usrsbin Tue Nov 11 21:47:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA10822 for cvs-usrsbin-outgoing; Tue, 11 Nov 1997 21:47:43 -0800 (PST) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA10578; Tue, 11 Nov 1997 21:44:48 -0800 (PST) (envelope-from julian@FreeBSD.org) From: Julian Elischer Received: (from julian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id VAA16365; Tue, 11 Nov 1997 21:42:35 -0800 (PST) Date: Tue, 11 Nov 1997 21:42:35 -0800 (PST) Message-Id: <199711120542.VAA16365@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/lib/libc/sys mount.2 src/sys/gnu/ext2fs ext2_vfsops.c src/sys/kern vfs_subr.c vfs_syscalls.c src/sys/msdosfs msdosfs_vfsops.c src/sys/nfs nfs_vfsops.c src/sys/sys mount.h src/sys/ufs/ffs ffs_vfsops.c src/sys/ufs/lfs ... Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 1997/11/11 21:42:34 PST Modified files: lib/libc/sys mount.2 sys/gnu/ext2fs ext2_vfsops.c sys/kern vfs_subr.c vfs_syscalls.c sys/msdosfs msdosfs_vfsops.c sys/nfs nfs_vfsops.c sys/sys mount.h sys/ufs/ffs ffs_vfsops.c sys/ufs/lfs lfs_vfsops.c sys/ufs/mfs mfs_vfsops.c usr.sbin/pstat pstat.c Log: Reviewed by: various. Ever since I first say the way the mount flags were used I've hated the fact that modes, and events, internal and exported, and short-term and long term flags are all thrown together. Finally it's annoyed me enough.. This patch to the entire FreeBSD tree adds a second mount flag word to the mount struct. it is not exported to userspace. I have moved some of the non exported flags over to this word. this means that we now have 8 free bits in the mount flags. There are another two that might well move over, but which I'm not sure about. The only user visible change would have been in pstat -v, except that davidg has disabled it anyhow. I'd still like to move the state flags and the 'command' flags apart from each other.. e.g. MNT_FORCE really doesn't have the same semantics as MNT_RDONLY, but that's left for another day. Revision Changes Path 1.13 +2 -3 src/lib/libc/sys/mount.2 1.25 +1 -1 src/sys/gnu/ext2fs/ext2_vfsops.c 1.113 +3 -3 src/sys/kern/vfs_subr.c 1.81 +11 -9 src/sys/kern/vfs_syscalls.c 1.23 +2 -2 src/sys/msdosfs/msdosfs_vfsops.c 1.52 +2 -1 src/sys/nfs/nfs_vfsops.c 1.49 +10 -8 src/sys/sys/mount.h 1.62 +2 -2 src/sys/ufs/ffs/ffs_vfsops.c 1.27 +2 -2 src/sys/ufs/lfs/lfs_vfsops.c 1.38 +2 -2 src/sys/ufs/mfs/mfs_vfsops.c 1.33 +3 -1 src/usr.sbin/pstat/pstat.c