Date: Wed, 23 Mar 2011 08:33:12 +0000 (UTC) From: Juli Mallett <jmallett@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r219899 - head/sbin/dumpfs Message-ID: <201103230833.p2N8XC5n086571@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jmallett Date: Wed Mar 23 08:33:12 2011 New Revision: 219899 URL: http://svn.freebsd.org/changeset/base/219899 Log: Add support for displaying newfs flags for SU+J and TRIM. Modified: head/sbin/dumpfs/dumpfs.c Modified: head/sbin/dumpfs/dumpfs.c ============================================================================== --- head/sbin/dumpfs/dumpfs.c Wed Mar 23 08:27:57 2011 (r219898) +++ head/sbin/dumpfs/dumpfs.c Wed Mar 23 08:33:12 2011 (r219899) @@ -402,7 +402,9 @@ marshal(const char *name) printf("-g %d ", fs->fs_avgfilesize); printf("-h %d ", fs->fs_avgfpdir); /* -i is dumb */ - /* -j..l unimplemented */ + if (fs->fs_flags & FS_SUJ) + printf("-j "); + /* -k..l unimplemented */ printf("-m %d ", fs->fs_minfree); /* -n unimplemented */ printf("-o "); @@ -419,6 +421,8 @@ marshal(const char *name) } /* -p..r unimplemented */ printf("-s %jd ", (intmax_t)fsbtodb(fs, fs->fs_size)); + if (fs->fs_flags & FS_TRIM) + printf("-t "); printf("%s ", disk.d_name); printf("\n");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103230833.p2N8XC5n086571>