summaryrefslogtreecommitdiffstats
path: root/sbin/ffsinfo/ffsinfo.8
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-03-31 04:05:17 +0000
committerrwatson <rwatson@FreeBSD.org>2005-03-31 04:05:17 +0000
commitfe3d70d05486af0dfd857c9c949f1bedde08ed3d (patch)
tree52b542049cd87437b6e5754eb5a311e90c232f44 /sbin/ffsinfo/ffsinfo.8
parent5c2e7e3808b53670949cec21a2950d9a277050ca (diff)
downloadFreeBSD-src-fe3d70d05486af0dfd857c9c949f1bedde08ed3d.zip
FreeBSD-src-fe3d70d05486af0dfd857c9c949f1bedde08ed3d.tar.gz
Don't default to '/var/tmp/ffsinfo' for the output of ffsinfo(8), since
/var/tmp is a world-writable directory. MFC after: 3 days Reported by: Jon Passki <cykyc@yahoo.com>
Diffstat (limited to 'sbin/ffsinfo/ffsinfo.8')
-rw-r--r--sbin/ffsinfo/ffsinfo.89
1 files changed, 5 insertions, 4 deletions
diff --git a/sbin/ffsinfo/ffsinfo.8 b/sbin/ffsinfo/ffsinfo.8
index 99636ea0..fcdd8a2 100644
--- a/sbin/ffsinfo/ffsinfo.8
+++ b/sbin/ffsinfo/ffsinfo.8
@@ -106,18 +106,19 @@ inode information
indirect block dump
.El
.It Fl o Ar outfile
-This allows to change the output filename where the dump is written to.
-The current default is
-.Pa /var/tmp/ffsinfo .
+This allows to set the output filename where the dump is written to, and
+must be specified.
If
.Fl
is provided, output will be sent to stdout.
.El
.Sh EXAMPLES
-.Dl ffsinfo -l 1023 /dev/vinum/testvol
+.Dl ffsinfo -o /var/tmp/ffsinfo -l 1023 /dev/vinum/testvol
.Pp
will dump
.Pa /dev/vinum/testvol
+to
+.Pa /var/tmp/ffsinfo
with all available information.
.Sh SEE ALSO
.Xr disklabel 8 ,
OpenPOWER on IntegriCloud