xref: /netbsd-src/sbin/newfs_sysvbfs/newfs_sysvbfs.8 (revision b62fc9e20372b08e1785ff6d769312d209fa2005)
1.\"	$NetBSD: newfs_sysvbfs.8,v 1.5 2009/04/10 13:47:31 wiz 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
45builds a System V boot file system on the specified special.
46If it is a device, the size information will be taken from the disk label and
47before running
48.Nm
49the disk must be labeled using
50.Xr disklabel 8 ;
51the proper fstype is
52.Dq SysVBFS .
53Otherwise, the size must be specified on the command line.
54.Pp
55The following arguments are supported:
56.Bl -tag -width Fl
57.It Fl F
58Create file system to a regular file.
59.It Fl s Ar sectors
60Create file system with specified number of disk sectors.
61.It Fl Z
62Fill 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
71A
72.Nm
73command first appeared in
74.Nx 4.0 .
75.Sh BUGS
76The sysvbfs support is still experimental and there are few sanity checks.
77