udflabel Command

Purpose

Fetches and changes the label on a UDF file system.

Syntax

udflabel -d device [ -l label ]

Description

The udflabel command displays or changes a UDF volume name. If there is no label provided, it displays the current UDF volume name on the device. If there is a label provided, it sets the current UDF volume name on the device to the new label.

Flags

Item Description
-d device Specifies the device containing the UDF volume.
-l label Sets the label on the current UDF volume.

Examples

  1. To change the current label on device /dev/cd1 to hello, enter the following command:
    udflabel -d /dev/cd1 -l hello
  2. To display the current label on device /dev/cd1, enter the following command:
    udflabel -d /dev/cd1

Files

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