2 .\" Copyright (c) 2000 Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH MKFS_UDFS 1M "Nov 17, 2000"
8 mkfs_udfs \- construct a udfs file system
12 \fBmkfs\fR \fB-F udfs\fR [\fIgeneric_options\fR] [\fB-o\fR \fIspecific_options\fR] \fIraw_device_file\fR
19 This is the universal disk format file system (\fBudfs\fR) -specific module of
20 the \fBmkfs\fR command. \fBmkfs\fR constructs a \fBudfs\fR file system with a
25 See \fBmkfs\fR(1M) for the list of supported \fIgeneric_options\fR.
28 The following options are supported:
32 \fB\fB-o\fR \fIspecific_options\fR\fR
35 Specify a \fBudfs\fR-specific option. Specify \fBudfs\fR file system specific
36 options in a comma-separated list with no intervening spaces. If invalid
37 options are specified, a warning message is printed and the invalid options are
40 The following \fIspecific_options\fR are available:
47 Print the file system parameters without actually creating the file system.
53 \fBlabel=\fIstring\fR\fR
56 Specify the label to be written into the volume header structures. Specify
57 \fIstring\fR as the name of the label. If \fIstring\fR is not specified, a
58 default \fIstring\fR is generated in the form of \fB*NoLabel*\fR.
66 The following operands are supported:
70 \fB\fIraw_device_file\fR\fR
73 Specify the disk partition on which to write.
82 Specify the number of 512-byte blocks in the file system.
88 \fBfsck\fR(1M),\fBmkfs\fR(1M), \fBattributes\fR(5)
93 not currently a valid file system
100 The specified device does not contain a valid \fBudfs\fR file system.
104 Invalid size: larger than the partition size
111 Number of blocks given as parameter to create the file system is larger than
112 the size of the device specified.
116 is mounted can't mkfs
123 Device is in use, cannot create file system when the device is in use.
134 Negative size parameter provided is invalid.
138 sector size must be between 512, 8192 bytes
145 Sector size given is not in the valid range.
149 Volume integrity sequence descriptors too long
150 File set descriptor too long.
157 Not enough space to create volume integrity sequence or file set descriptor.
161 mkfs: argument out of range
168 One of the arguments is out of range.
172 mkfs: bad numeric arg
179 One of the arguments is potentially a bad numeric.
183 You can use \fBlofiadm\fR to create a file that appears to a \fBmkfs\fR command
184 (for example, \fBmkfs_pcfs\fR or \fBmkfs_ufs\fR) as a raw device. You can then
185 use a \fBmkfs\fR command to create a file system on that device. See
186 \fBlofiadm\fR(1M) for examples of creating a UFS and a PC (FAT) file system on
187 a device created by \fBlofiadm\fR.