Deleted Added
full compact
dumpfs.c (198231) dumpfs.c (200796)
1/*
2 * Copyright (c) 2009 Robert N. M. Watson
3 * All rights reserved.
4 *
5 * This software was developed at the University of Cambridge Computer
6 * Laboratory with support from a grant from Google, Inc.
7 *
8 * Copyright (c) 2002 Networks Associates Technology, Inc.

--- 39 unchanged lines hidden (view full) ---

48 The Regents of the University of California. All rights reserved.\n";
49#endif /* not lint */
50
51#ifndef lint
52#if 0
53static char sccsid[] = "@(#)dumpfs.c 8.5 (Berkeley) 4/29/95";
54#endif
55static const char rcsid[] =
1/*
2 * Copyright (c) 2009 Robert N. M. Watson
3 * All rights reserved.
4 *
5 * This software was developed at the University of Cambridge Computer
6 * Laboratory with support from a grant from Google, Inc.
7 *
8 * Copyright (c) 2002 Networks Associates Technology, Inc.

--- 39 unchanged lines hidden (view full) ---

48 The Regents of the University of California. All rights reserved.\n";
49#endif /* not lint */
50
51#ifndef lint
52#if 0
53static char sccsid[] = "@(#)dumpfs.c 8.5 (Berkeley) 4/29/95";
54#endif
55static const char rcsid[] =
56 "$FreeBSD: head/sbin/dumpfs/dumpfs.c 198231 2009-10-19 14:04:19Z ru $";
56 "$FreeBSD: head/sbin/dumpfs/dumpfs.c 200796 2009-12-21 19:39:10Z trasz $";
57#endif /* not lint */
58
59#include <sys/param.h>
60#include <sys/time.h>
61#include <sys/disklabel.h>
62
63#include <ufs/ufs/dinode.h>
64#include <ufs/ffs/fs.h>

--- 181 unchanged lines hidden (view full) ---

246 if (fsflags & FS_ACLS)
247 printf("acls ");
248 if (fsflags & FS_MULTILABEL)
249 printf("multilabel ");
250 if (fsflags & FS_GJOURNAL)
251 printf("gjournal ");
252 if (fsflags & FS_FLAGS_UPDATED)
253 printf("fs_flags expanded ");
57#endif /* not lint */
58
59#include <sys/param.h>
60#include <sys/time.h>
61#include <sys/disklabel.h>
62
63#include <ufs/ufs/dinode.h>
64#include <ufs/ffs/fs.h>

--- 181 unchanged lines hidden (view full) ---

246 if (fsflags & FS_ACLS)
247 printf("acls ");
248 if (fsflags & FS_MULTILABEL)
249 printf("multilabel ");
250 if (fsflags & FS_GJOURNAL)
251 printf("gjournal ");
252 if (fsflags & FS_FLAGS_UPDATED)
253 printf("fs_flags expanded ");
254 if (fsflags & FS_NFS4ACLS)
255 printf("nfsv4acls ");
254 fsflags &= ~(FS_UNCLEAN | FS_DOSOFTDEP | FS_NEEDSFSCK | FS_INDEXDIRS |
256 fsflags &= ~(FS_UNCLEAN | FS_DOSOFTDEP | FS_NEEDSFSCK | FS_INDEXDIRS |
255 FS_ACLS | FS_MULTILABEL | FS_GJOURNAL | FS_FLAGS_UPDATED);
257 FS_ACLS | FS_MULTILABEL | FS_GJOURNAL | FS_FLAGS_UPDATED |
258 FS_NFS4ACLS);
256 if (fsflags != 0)
257 printf("unknown flags (%#x)", fsflags);
258 putchar('\n');
259 printf("fsmnt\t%s\n", afs.fs_fsmnt);
260 printf("volname\t%s\tswuid\t%ju\n",
261 afs.fs_volname, (uintmax_t)afs.fs_swuid);
262 printf("\ncs[].cs_(nbfree,ndir,nifree,nffree):\n\t");
263 afs.fs_csp = calloc(1, afs.fs_cssize);

--- 217 unchanged lines hidden ---
259 if (fsflags != 0)
260 printf("unknown flags (%#x)", fsflags);
261 putchar('\n');
262 printf("fsmnt\t%s\n", afs.fs_fsmnt);
263 printf("volname\t%s\tswuid\t%ju\n",
264 afs.fs_volname, (uintmax_t)afs.fs_swuid);
265 printf("\ncs[].cs_(nbfree,ndir,nifree,nffree):\n\t");
266 afs.fs_csp = calloc(1, afs.fs_cssize);

--- 217 unchanged lines hidden ---