udfcreate Command

Purpose

Creates UDF file systems.

Syntax

udfcreate -d device [ -b bitmap_location ] [ -f formatType ]

Description

The udfcreate command creates a UDF file system on the specified device and labels it with the generic set ID (setID) and volume name (volName).

Flags

Item Description
-b Specifies the bitmap_location. It can be one of the following, b, e, or m. b indicates that the location of the bitmap will be placed at the beginning of the partition. e indicates that the location of the bitmap will be placed at the end of the partition. m indicates that the location of the bitmap will be placed at the middle of the partition. The default location of the bitmap is the beginning of the partition.
-d device Specifies the device on which to create the UDF volume.
-f Indicates which version of UDF you want to be on the media. Format type of 1 represents UDF 1.5 version, 2 represents UDF 2.0 version, and 3 represents UDF 2.01 version. The default version is UDF 1.5.

Examples

  1. To create a new UDF file system on device /dev/cd1, enter the following:
    udfcreate -d /dev/cd1

Files

Item Description
/usr/sbin/udfcreate Contains the udfcreate command
/usr/lib/libudf.a Contains the library routines called by the udfcreate command