Re: Why does fstab use partition UUIDs vice partition labels in F9 beta?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Clyde E. Kunkel wrote:
> Much harder now to match up partitions with mount points.  Labels are
> easier to work with.  But, a good rational and logical explanation will
> shut me up and I will get back to coloring. :-)

The blkid command (part of e2fsprogs) will show you UUID/label/nodename
mappings:

# blkid
/dev/sda1: LABEL="/boot1" UUID="23a710fb-72a3-449f-918e-f8223037caf9"
SEC_TYPE="ext3" TYPE="ext2"
/dev/sda3: TYPE="swap"
/dev/dm-0: UUID="be9ff1e0-2f2e-4d97-91d3-957d1e5249b5" SEC_TYPE="ext3"
TYPE="ext2"
/dev/dm-1: UUID="06c470f1-1b3d-4792-9f0b-5d781e411b51" SEC_TYPE="ext3"
TYPE="ext2"
/dev/dm-2: UUID="9a8d5949-e215-4637-9dec-6cda21f3eb7f" SEC_TYPE="ext3"
TYPE="ext2"
/dev/dm-3: UUID="9678adc4-2aca-4fd4-869b-8a9dc0dbe200" SEC_TYPE="ext3"
TYPE="ext2"
/dev/dm-4: UUID="c880a538-d71b-455e-b661-294eea631e2b" SEC_TYPE="ext3"
TYPE="ext2"
/dev/sdc: UUID="1cbea8b2-115b-4497-aac6-52b83b1129c8" TYPE="ext2"
/dev/dm-8: UUID="8b3e3c44-8396-4bee-a315-c9cba21f5492" SEC_TYPE="ext3"
TYPE="ext2"

Or to search for a UUID:

# blkid -t UUID=be9ff1e0-2f2e-4d97-91d3-957d1e5249b5
/dev/dm-0: UUID="be9ff1e0-2f2e-4d97-91d3-957d1e5249b5" SEC_TYPE="ext3"
TYPE="ext2"

Cheers,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFH6osN6YSQoMYUY94RAkw0AKDUdEqyKT/UxUGdU/IraZ1XPQ7HDwCguiNU
ZX/yCzL2dlsR6DSIaJ+zWyc=
=ZlfJ
-----END PGP SIGNATURE-----

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux