Date: Wed, 28 Jan 2009 09:33:00 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/dumpfs dumpfs.8 dumpfs.c Message-ID: <200901280933.n0S9XCbr008621@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2009-01-28 09:33:00 UTC FreeBSD src repository Modified files: sbin/dumpfs dumpfs.8 dumpfs.c Log: SVN rev 187814 on 2009-01-28 09:33:00Z by rwatson Add a new flag to dumpfs(8), -f, which causes dumpfs to list all free fragments in the file system by fragment (block) number. This new mode does the necessary arithmetic to generate absolute fragment numbers rather than than the cg-relative numbers printed in the default mode. If -f is passed once, contiguous fragment ranges are collapsed into an X-Y format as free block lists are currently printed in regular dumpfs output, but if specified twice, all block numbers are printed individually, allowing both compact and more script-friendly representation. This proves quite handy when attempting to recover deleted data, as it allows exclusion of non-deleted data from blocks searched. MFC after: 1 week Discussed with: jeff, Richard Clayton <richard dot clayton at cl.cam.ac.uk> Sponsored by: Google, Inc. Revision Changes Path 1.17 +14 -2 src/sbin/dumpfs/dumpfs.8 1.45 +68 -5 src/sbin/dumpfs/dumpfs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901280933.n0S9XCbr008621>