Windows, Linux, Mac OS X, iPhone Tips 'n' Tricks
You can use the following command to find the UUID of devices in Linuxls -l /dev/disk/by-uuid/This works with Ubuntu. Not sure about other distros.
This actually works on any disto using udev v100 or better. Some older versions may work as well, but I have been able to use since at least 100. Gentoo and Ubuntu FTW
Don't forget to restart udev if you would like to have new volumes you may have created (e.g. logical volumes) to show up in this directory.
very cool! I had no idea the ls command could do that! I've spent so much time looking for such an easy way to find that info. Thanx!!!!
ps it worked on PCLinuxOS KDEI will checkDamn Small Linux TinyCore Slax Slitaz Mint 10 Puppy and Suse 11 later!
Works in Fedora 16. Thanks
You can also use blkid to find device attributes including the UUID. blkid /dev/sda1
Post a Comment