udfcreate Command

Purpose

Creates the user defined functions (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 bitmap_location Specifies the location of the bitmap. It can be one of the following, b, e, or m. b indicates that the bitmap will be placed at the beginning of the partition. e indicates that the bitmap will be placed at the end of the partition. m indicates that 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 formatType Indicates the version of UDF to be present on the media. The 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.
-s 2048 Forces the newly created UDF filesystem to use 2048 byte logical blocks.

Examples

  1. To create a new UDF file system on device /dev/cd1, enter the following command:
    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