Re: determining this UUID stuff



On Sun, 2009-04-26 at 00:13 -0400, Gene Heskett wrote:
On Saturday 25 April 2009, Philip A. Prindeville wrote:
Craig White wrote:
On Sat, 2009-04-25 at 13:00 -0400, Gene Heskett wrote:
Greetings;

I had to replace a terrabyte drive a few days ago, and I'm mounting it in
fstab by its label.

How does one go about determining the UUID of this replacement device so
I can make my fstab more uniform in its use?

----
blkid

Returned null. Oh, no argument, then it works. Including for swaps!
----
well, technically, it only lists physical devices and if you have an lvm
setup with swap and logical volumes, it may require you to execute
lvdisplay to see them.

As for arguments, it actually has a man page

Craig


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



Relevant Pages

  • Re: use of label in fstab
    ... use of label in fstab ... > I made another partition /dev/sda5 and used e2label to label it dyndata, ... I don't generally mount by label & I don't use ext filesystems, ...
    (Ubuntu)
  • Re: HD error: BAD SUPER BLOCK
    ... >>to fstab and rebooted. ... sectors/track: 63 ... /kernel: ad6: cannot find label ... /kernel: ad6s1: cannot find label (no disk label) ...
    (freebsd-questions)
  • Re: [opensuse] disk device names and libata
    ... thank goodness that in fstab the easier old LABEL= method works as ... always since its original introduction long before libata. ...
    (SuSE)
  • Re: [kde] automounting IPOD
    ... xfs) filesystem that is to be mounted by its UUID or volume label ... changes the disk device name but not the filesystem volume label. ... If I add an fstab entry for /dev/sda2 with suitable options this ...
    (KDE)
  • Re: Debian AMD64 boots only at random: how to use labels/fstab/grub
    ... I'm only familiar with the ext/xfs filesystem commands which is what you appear to be using. ... If you have a disk with no label, you would need to add one. ... So, if you have a disk that is mounted on '/var', the default label will be '/var'. ... involves using lables in fstab and grub. ...
    (Debian-User)