2 \" This file is part of vbig.
3 \" Copyright (C) 2011 Richard Kettlewell
5 \" This program is free software: you can redistribute it and/or modify
6 \" it under the terms of the GNU General Public License as published by
7 \" the Free Software Foundation, either version 3 of the License, or
8 \" (at your option) any later version.
10 \" This program is distributed in the hope that it will be useful,
11 \" but WITHOUT ANY WARRANTY; without even the implied warranty of
12 \" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 \" GNU General Public License for more details.
15 \" You should have received a copy of the GNU General Public License
16 \" along with this program. If not, see <http://www.gnu.org/licenses/>.
20 vbig \- create or verify a large but pseudo-random file
22 \fBvbig \fR[\fB--seed \fRSEED\fR] \fB--create\fR|\fB--verify \fIPATH \fR[\fISIZE\fR]
28 \fBvbig\fR either creates a file of specified size full of predictable
29 psuedo-random data, or verifies that it has the expected contents.
30 The intended use is to test whether storage media really do what they
33 \fISIZE\fR may end with \fBK\fR, \fBM\fR or \fBG\fR to select (binary)
34 kilobytes, megabytes or gigabytes.
35 The size is mandatory when creating a file but optional when verifying
36 it, unless \-\-entire is specified.
39 .B --seed\fR, \fB-s \fISEED
40 Specifies the random seed to use.
45 \fIPATH\fR will be filled with \fISIZE\fR psuedo-random bytes.
49 Checks that \fIPATH\fR has exactly the contents that would be produced
50 by the equivalent \fB--create\fR call.
53 Flush cached data after creating the file or before verifying it.
54 On some platforms, only root can use this option.
57 When writing, keep going until the device is full (No space left
58 on device). When reading, keep going until the end of the file
59 or device. \fISIZE\fR should not be specified. The actual size
60 written or verified will be printed to stdout.
63 Displays a usage message.
65 .B --version\fR, \fB-h
66 Displays the version strings.
68 Richard Kettlewell <rjk@greenend.org.uk>