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.

4
  • Are you sure its UDF? UDF is only for CD/DVD media.
    – Juice
    Commented Dec 30, 2009 at 13:37
  • Yes I'm sure... Commented Dec 30, 2009 at 15:26
  • If this question is so damn popular, why is nobody upvoting it?! Commented Jan 5, 2011 at 14:02
  • Also note: Someone providing an answer to this question is going to get a LOT of upvotes... Commented Jan 5, 2011 at 14:03

3 Answers 3

1

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

0
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.

2
  • No. As i also use a lot of usb sticks and hard drives, even tried UDF, it fails serveral times. Mostly, you can only change it once. But after that, it will not work corectly, just like Anacrolix said: I tried renaming the volume in Windows 7, but after reboot the volume label appeared to be reset. Commented Jan 4, 2010 at 18:58
  • well, i haven't had any issues with the labels resetting themselves in Windows Vista/7 or Linux, only XPcan't write to these drives. FAT32 or NTFS is by far the better choice for external drives.
    – Molly7244
    Commented Jan 4, 2010 at 19:16
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!

3
  • what label command did you use? can you tell me what package it's from (dpkg -S $(which label))? all i seem to have is e2label, dosfslabel, and mlabel, none of which handle UDF filesystems. Commented Jan 2, 2010 at 4:13
  • hmm. now that i think about it, you probably mean the label command in Windows cmd prompt... in which case, the question becomes which Win version you used? Commented Jan 2, 2010 at 9:11
  • Windows 7... and yes, label command and command prompt, sorry I didn't make it clear. Commented Jan 2, 2010 at 14:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .