Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/dumpfs Show in-filesystem quotas flag instead of un...
details: https://anonhg.NetBSD.org/src/rev/4653a2a7b5b2
branches: trunk
changeset: 785842:4653a2a7b5b2
user: taca <taca%NetBSD.org@localhost>
date: Tue Apr 02 13:31:47 2013 +0000
description:
Show in-filesystem quotas flag instead of unknown flag bit.
diffstat:
usr.sbin/dumpfs/dumpfs.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r a655a156199c -r 4653a2a7b5b2 usr.sbin/dumpfs/dumpfs.c
--- a/usr.sbin/dumpfs/dumpfs.c Tue Apr 02 13:28:41 2013 +0000
+++ b/usr.sbin/dumpfs/dumpfs.c Tue Apr 02 13:31:47 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dumpfs.c,v 1.59 2012/04/07 05:07:32 christos Exp $ */
+/* $NetBSD: dumpfs.c,v 1.60 2013/04/02 13:31:47 taca Exp $ */
/*
* Copyright (c) 1983, 1992, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)dumpfs.c 8.5 (Berkeley) 4/29/95";
#else
-__RCSID("$NetBSD: dumpfs.c,v 1.59 2012/04/07 05:07:32 christos Exp $");
+__RCSID("$NetBSD: dumpfs.c,v 1.60 2013/04/02 13:31:47 taca Exp $");
#endif
#endif /* not lint */
@@ -424,9 +424,11 @@
printf("fs_flags expanded ");
if (fs->fs_flags & FS_DOWAPBL)
printf("wapbl ");
+ if (fs->fs_flags & FS_DOQUOTA2)
+ printf("quotas ");
fsflags = fs->fs_flags & ~(FS_UNCLEAN | FS_DOSOFTDEP | FS_NEEDSFSCK |
FS_INDEXDIRS | FS_ACLS | FS_MULTILABEL |
- FS_FLAGS_UPDATED | FS_DOWAPBL);
+ FS_FLAGS_UPDATED | FS_DOWAPBL | FS_DOQUOTA2);
if (fsflags != 0)
printf("unknown flags (%#x)", fsflags);
printf("\nfsmnt\t%s\n", fs->fs_fsmnt);
Home |
Main Index |
Thread Index |
Old Index