Sync usage with man page.
[netbsd-mini2440.git] / sbin / newfs_sysvbfs / newfs_sysvbfs.8
blobb9b37a3040b3df3a21fe26768ed0bfac168c14e5
1 .\"     $NetBSD: newfs_sysvbfs.8,v 1.4 2009/04/09 10:37:55 pooka Exp $
2 .\"
3 .\" Copyright (c) 1993
4 .\"     The Regents of the University of California.  All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\"    notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\"    notice, this list of conditions and the following disclaimer in the
13 .\"    documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the University nor the names of its contributors
15 .\"    may be used to endorse or promote products derived from this software
16 .\"    without specific prior written permission.
17 .\"
18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 .\" SUCH DAMAGE.
29 .\"
30 .\"     @(#)newlfs.8    8.1 (Berkeley) 6/19/93
31 .\"
32 .Dd April 9, 2009
33 .Dt NEWFS_SYSVBFS 8
34 .Os
35 .Sh NAME
36 .Nm newfs_sysvbfs
37 .Nd construct a new System V Boot File System
38 .Sh SYNOPSIS
39 .Nm
40 .Op Fl FZ
41 .Op Fl s Ar sectors
42 .Ar special
43 .Sh DESCRIPTION
44 .Nm
45 builds a System V boot file system on the specified special.
46 If it is a device, the size information will be taken from the disk label and
47 before running
48 .Nm
49 the disk must be labeled using
50 .Xr disklabel 8 ;
51 the proper fstype is
52 .Dq SysVBFS .
53 Otherwise, the size must be specified on the command line.
54 .Pp
55 The following arguments are supported:
56 .Bl -tag -width Fl
57 .It Fl F
58 Create file system to a regular file.
59 .It Fl s Ar sectors
60 Create file system with specified number of disk sectors.
61 .It Fl Z
62 Fill file with zeroes instead of creating a sparse file.
63 .El
64 .Sh SEE ALSO
65 .Xr disklabel 5 ,
66 .Xr disktab 5 ,
67 .\" .Xr fs 5 ,
68 .Xr disklabel 8 ,
69 .Xr diskpart 8
70 .Sh HISTORY
72 .Nm
73 command first appeared in
74 .Nx 4.0 .
75 .Sh BUGS
76 The sysvbfs support is still experimental and there are few sanity checks.