> No. I know the UUID of the external drive but want to learn the UUID of > the hard drive partitions that are identified (currently) as /dev/hda1 - > /dev/hda13. I know that Slackware-13.1 has moved to using UUIDs in > /etc/fstab/ so if I can write down the relationships now it will make the > upgrade easier. >
This is very simple in ubuntu and I would imagine Slackware would work the same. typing 'sudo blkid' yields: *ja...@blackbox:~$ sudo blkid /dev/sda1: UUID="9dbc8550-6458-41bc-80ab-5d444d7e9278" TYPE="ext4" /dev/sda3: UUID="b74555c7-527a-45c4-ab39-5101f042684c" TYPE="ext4" /dev/sda5: UUID="05f215ec-6f7e-4308-8c4e-01eaedfca9ed" TYPE="swap" /dev/sdb1: UUID="11938b8f-4232-4e4c-a859-72cd978de172" TYPE="ext4" /dev/sdb5: UUID="f8ec38d1-99ee-461c-9d17-079cab808e03" TYPE="ext4" /dev/sdb6: LABEL="MassStorage" UUID="78f2251a-3eec-405c-abc7-e24d03a1cf0a" TYPE="ext4" /dev/sdc1: LABEL="Portable" UUID="b775d7bb-aeb0-4435-932b-1969050948c4" TYPE="ext4" * Which matches my fstab: (NOTE: the comments for /dev/sda* were added by the installer so if Slackware does the same, the upgrade will be much less confusing than you are expecting) *ja...@blackbox:~$ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid -o value -s 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). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/sda1 during installation UUID=9dbc8550-6458-41bc-80ab-5d444d7e9278 / ext4 discard,noatime,errors=remount-ro 0 1 # /home was on /dev/sda3 during installation UUID=b74555c7-527a-45c4-ab39-5101f042684c /home ext4 discard,noatime,defaults 0 2 # swap was on /dev/sda5 during installation UUID=05f215ec-6f7e-4308-8c4e-01eaedfca9ed none swap sw 0 0 # MassStorage partition on 1.5TB drive UUID=78f2251a-3eec-405c-abc7-e24d03a1cf0a /home/jason/MassStorage ext4 defaults 0 2 * Hope this helps you, Jason _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
