xref: /titanic_51/usr/src/man/man1m/mkfs_udfs.1m (revision 25c28e83beb90e7c80452a7c818c5e6f73a07dc8)
te
Copyright (c) 2000 Sun Microsystems, Inc. All Rights Reserved.
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.
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.
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]
MKFS_UDFS 1M "Nov 17, 2000"
NAME
mkfs_udfs - construct a udfs file system
SYNOPSIS

mkfs -F udfs [generic_options] [-o specific_options] raw_device_file
 [size]
DESCRIPTION

This is the universal disk format file system (udfs) -specific module of the mkfs command. mkfs constructs a udfs file system with a root directory.

OPTIONS

See mkfs(1M) for the list of supported generic_options.

The following options are supported: -o specific_options

Specify a udfs-specific option. Specify udfs file system specific options in a comma-separated list with no intervening spaces. If invalid options are specified, a warning message is printed and the invalid options are ignored. The following specific_options are available: N

Print the file system parameters without actually creating the file system.

label=string

Specify the label to be written into the volume header structures. Specify string as the name of the label. If string is not specified, a default string is generated in the form of *NoLabel*.

OPERANDS

The following operands are supported: raw_device_file

Specify the disk partition on which to write.

size

Specify the number of 512-byte blocks in the file system.

SEE ALSO

fsck(1M),mkfs(1M), attributes(5)

DIAGNOSTICS
not currently a valid file system

The specified device does not contain a valid udfs file system.

Invalid size: larger than the partition size

Number of blocks given as parameter to create the file system is larger than the size of the device specified.

is mounted can't mkfs

Device is in use, cannot create file system when the device is in use.

preposterous size

Negative size parameter provided is invalid.

sector size must be between 512, 8192 bytes

Sector size given is not in the valid range.

Volume integrity sequence descriptors too long
File set descriptor too long.

Not enough space to create volume integrity sequence or file set descriptor.

mkfs: argument out of range

One of the arguments is out of range.

mkfs: bad numeric arg

One of the arguments is potentially a bad numeric.

NOTES

You can use lofiadm to create a file that appears to a mkfs command (for example, mkfs_pcfs or mkfs_ufs) as a raw device. You can then use a mkfs command to create a file system on that device. See lofiadm(1M) for examples of creating a UFS and a PC (FAT) file system on a device created by lofiadm.