crfile
Package: WA2L/edrc 1.5.57
Section: General Commands (1)
Updated: 05 November 2008
Index
Return to Main Contents
NAME
crfile - create a dump file with a certain size
SYNOPSIS
edrc/bin/crfile
[
-h
]
crfile
{
-k
|
-m
|
-g
}
size
-f filename
AVAILABILITY
WA2L/edrc
DESCRIPTION
Create a dump file with a size to be specified.
Ahead of writing the file, it is checked if the file size does not
exceed the available space on the file system.
OPTIONS
- -h
-
usage message.
- -k
-
file
size
specified in
kilobytes.
- -m
-
file
size
specified in
megabytes.
- -g
-
file
size
specified in
gigabytes.
- size
-
file size.
- -f filename
-
name of the dump file to be created.
ENVIRONMENT
-
EXIT STATUS
- 0
-
no error.
- 1
-
crfile
cannot write to the file specified in the
-f
option.
- 2
-
operating system not supported, yet. See
osid(3)
if you get this error.
- 3
-
file size of dump file exceeds available filesystem space.
- 4
-
usage listed.
- 5
-
file creation aborted.
- 6
-
the
size
specified was not greater then 0.
- 7
-
file specified in the
-f
option already exists.
- 11
-
a temporary directory could not be claimed or created in
/tmp.
Check the system temporary directory
/tmp
if you get this error, it is an indicator of system intrusion.
FILES
-
EXAMPLES
-
SEE ALSO
bdf(1),
df(1),
edrcintro(1),
NOTES
-
BUGS
-
AUTHOR
crfile was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2008
Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 16:52:38 GMT, August 28, 2024