4

After creating a UDF volume on my 1TB external hard disk. I noticed I hadn't set the volume label. How can I change this?

I currently have udftools in Ubuntu but can't determine the correct command if any. I tried renaming the volume in Windows 7, but after reboot the volume label appeared to be reset.

Addenda

Please see this question for some context.

Matt Joiner
  • 1,102

3 Answers3

3

I hadn't set the volume label. How can I change this?

You can use the 'label' command prompt in Windows (as explained by Wil) or simply right click on the volume and choose Rename, or Properties, highlight the label, edit it and Apply.

enter image description here

enter image description here

enter image description here

I have tested this in Vista and 7 with an external hard disk and a USB flash drive. The settings will stick after a reboot and the drives work with Linux (PCLOS in my case).

However in Windows XP (lacking UDF support), the drives will be detected fine and files are be readable but I cannot write to them or rename the volume label. Using UDF on a removable drive is of rather limited use (perhaps the Toshiba UDF 2.5 driver will fix the issue, but I haven't tried).

enter image description here

For your particular case, there might be a problem with the hard disk or the enclosure.

If you want to format a drive in Windows using the UDF file system with a label, the correct syntax is:

format x: /fs:udf /v:your_label

Do not use the quick format option.

Gareth
  • 19,080
1

Project udftools since version 2.0 has a new command line tool named udflabel which can change label on existing UDF filesystem.

Pali
  • 226
1

I really can't understand why you want UDF on a hard drive... Even after reading your other post, there must be a better alternative!

I have just formatted a spare external drive with UDF (never done that before!) and set a label "test" (using label command in command prompt) and then removed it, put it back and rebooted as well as trying it in Ubuntu and every time the name was there, it worked flawlessly...

... Prehaps, if you haven't copied much - can you remove everything and try to reformat the drive giving a label during format?

My only guess as to why it failed - from the other question you made, perhaps you accidentally changed a permission that stops this from happening? Far fetched I know, but when you can't reproduce a bug, you have to look at everything!

William Hilsum
  • 117,648