Differences between revisions 1 and 2
Revision 1 as of 2013-07-26 07:31:02
Size: 655
Editor: frank
Comment:
Revision 2 as of 2013-07-26 07:31:28
Size: 656
Editor: frank
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
==== Partition UUID and Label === ==== Partition UUID and Label ====

Partition UUID and Label

  • Get UUID and Label
    # blkid
    /dev/sda1: SEC_TYPE="msdos" UUID="62AC-64E2" TYPE="vfat"
    /dev/sda2: UUID="ebc16f0e-586d-466e-aba5-321016b401e9" TYPE="ext4"
    /dev/sda3: UUID="9bb04b5a-e6c8-48ae-b802-4084f3943945" TYPE="xfs"
    /dev/sda4: UUID="439969cb-2311-40e9-b1bc-6ede1bd185ef" TYPE="swap"
    /dev/sdc1: UUID="6450978C50976398" TYPE="ntfs"
    /dev/sdc2: UUID="fc5d0b9e-6092-410d-b000-c567be2eb940" TYPE="ext4"
    /dev/sdb1: UUID="665d6352-b050-4702-b4f0-c6242c785127" TYPE="xfs"
  • Change Label
    //ext2, ext3, ext4
    # e2label <device> <label name>
    //ocfs2
    # tunefs.ocfs2 -L <label name> <device>

Tech/LinuxDisk (last edited 2016-03-10 23:34:59 by frank)