Smokes your problems, coughs fresh air.

Finding out the UUID of partitions

Often, Linux software configurations define partitions by there UUID as opposed to their /dev device. You can find out what the UUID is with:

blkid /dev/sdx

Or, you can do:

ls -l /dev/disk/by-uuid

2 Comments

  1. chrissy

    Just a note: blkid requires elevated privileges to show anything useful (this is true for the version in Ubuntu 8.04, anyway).

  2. halfgaar

    Not really a problem, since the only time I need a UUID, is when I’m root 🙂

© 2024 BigSmoke

Theme by Anders NorenUp ↑