linux: How can I view all UUIDs for all available disks on my system?
295
votes
13
answers
932939
views
My
/etc/fstab
contains this:
# / was on /dev/sda1 during installation
UUID=77d8da74-a690-481a-86d5-9beab5a8e842 / ext4 errors=remount-ro 0 1
There are several other disks on this system, and not all disks are being mounted to the correct location (For example, /dev/sda1 and /dev/sdb1 are sometimes reversed).
How can I see the UUIDs for all disks on my system? Can I see the UUID for the third disk on this system?
Asked by Stefan Lasiewski
(20733 rep)
Aug 18, 2010, 04:14 AM
Last activity: Apr 4, 2025, 02:12 PM
Last activity: Apr 4, 2025, 02:12 PM