summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat/pstat.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1997-11-12 05:42:33 +0000
committerjulian <julian@FreeBSD.org>1997-11-12 05:42:33 +0000
commitae22df605c505c7004dbd0315e0c8a69837113ac (patch)
treec92335bedfadb094a99ac0f1f934ff8b75ad8f50 /usr.sbin/pstat/pstat.c
parent88e48b4b98e11a59cad7cf68de7887e54bc94a5b (diff)
downloadFreeBSD-src-ae22df605c505c7004dbd0315e0c8a69837113ac.zip
FreeBSD-src-ae22df605c505c7004dbd0315e0c8a69837113ac.tar.gz
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.
Diffstat (limited to 'usr.sbin/pstat/pstat.c')
-rw-r--r--usr.sbin/pstat/pstat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 3cc6f25..64df39e 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95";
#endif
static const char rcsid[] =
- "$Id: pstat.c,v 1.31 1997/10/09 07:22:08 charnier Exp $";
+ "$Id: pstat.c,v 1.32 1997/10/19 18:41:23 davidg Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -195,9 +195,11 @@ struct {
{ MNT_DELEXPORT, "delexport" },
{ MNT_RELOAD, "reload" },
{ MNT_FORCE, "force" },
+#if 0
{ MNT_UNMOUNT, "unmount" },
{ MNT_MWAIT, "mwait" },
{ MNT_WANTRDWR, "wantrdwr" },
+#endif
{ 0 }
};
OpenPOWER on IntegriCloud