udflabel Command
Purpose
Fetches and changes the label on a UDF file system.
Syntax
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
- To change the current label on device /dev/cd1 to
hello, enter the following command:
udflabel -d /dev/cd1 -l hello
- 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 |