Thanks for posting this -- it just hit me, exactly as it did you.
I was going into fstab to learn to permanently mount an ntfs partition at boot, and was trying to make sense of the uuid values. I read the note above, and thought "Cool. I'll use the uuid instead of the device id..."
This installation was an upgrade into Karmic from Jaunty.
I gave it a whirl and came up with:
ttilberg@ragnarok:~$ vol_id --uuid
vol_id: command not found
ttilberg@ragnarok:~$ volid --help
volid: command not found
the text on fstab:
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
A google search led me to this bug. Unfortunately even between the man pages, and --help, I can't quite figure out how to acquire the UUID of my partition at /dev/sda1. blkid keeps exiting without printing anything.
Upon using blkid -U [uuid of one of the mounted partitions ref'd in fstab] I get the device name, /dev/sdb1
I can't figure out how to obtain the UUID, and instructions on using the command should be included as it was pre-karmic for vol_id --uuid.
Thanks for posting this -- it just hit me, exactly as it did you.
I was going into fstab to learn to permanently mount an ntfs partition at boot, and was trying to make sense of the uuid values. I read the note above, and thought "Cool. I'll use the uuid instead of the device id..."
This installation was an upgrade into Karmic from Jaunty.
I gave it a whirl and came up with: ragnarok: ~$ vol_id --uuid ragnarok: ~$ volid --help
ttilberg@
vol_id: command not found
ttilberg@
volid: command not found
the text on fstab:
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
A google search led me to this bug. Unfortunately even between the man pages, and --help, I can't quite figure out how to acquire the UUID of my partition at /dev/sda1. blkid keeps exiting without printing anything.
Upon using blkid -U [uuid of one of the mounted partitions ref'd in fstab] I get the device name, /dev/sdb1
I can't figure out how to obtain the UUID, and instructions on using the command should be included as it was pre-karmic for vol_id --uuid.
ttilberg@ ragnarok: ~$ blkid -U 251b85ad- 9f35-49d3- 9b4d-0bd76c70d5 1e ragnarok: ~$ blkid -L /dev/sdb1 ragnarok: ~$ blkid /dev/sdb1 ragnarok: ~$ blkid /dev/sdb1 ragnarok: ~$ blkid /dev/sda1 ragnarok: ~$ ls /dev/sd*
/dev/sdb1
ttilberg@
ttilberg@
ttilberg@
ttilberg@
ttilberg@
/dev/sda /dev/sdb /dev/sdb2 /dev/sdc /dev/sde
/dev/sda1 /dev/sdb1 /dev/sdb5 /dev/sdd /dev/sdf
This was about to be a cool thing, but the documentation needs to be fixed for upgraded users.
Thanks,
Tim