From 2811012b43d1d045358992add5af3b5c1b524e65 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 29 Apr 2009 18:13:01 +0300 Subject: Wrote manual page. --- create-file.1 | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 create-file.1 diff --git a/create-file.1 b/create-file.1 new file mode 100644 index 0000000..4bdfea7 --- /dev/null +++ b/create-file.1 @@ -0,0 +1,45 @@ +.\" create-file.1 - manual page for the create-file command +.\" Copyright (C) 2009 Lars Wirzenius +.\" +.\" This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. +.\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see . +.\" +.TH CREATE-FILE 1 +.SH NAME +create-file \- create a file full of zero bytes +.SH SYNOPSIS +.B create-file +.RB [ -h ] +.RB [ --help ] +.RB [ --sparse ] +.RB [ --size =\fISIZE ] +.RI [ filename ]... +.SH DESCRIPTION +.B create-file +creates a file full of zero bytes (0x00, NUL). +.SH OPTIONS +.TP +.BR -h ", " --help +Show a short help message. +.TP +.B --sparse +Create a sparse file, which does not allocate disk blocks. +.TP +.BR --size =\fISIZE +Create a file of +.I SIZE +bytes. +The size may be have a suffix to indicate kilobyte (K, KB), megabyte (M, MB), +or gigabyte (G, GB), or power-of-two multipliers for kibibyte (KiB), +mebibyte (MiB), or gibibyte (GiB). +All suffixes are case-insensitive. -- cgit v1.2.1