Difference between revisions of "Blkid"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
+
{{lc}}
 
  blkid
 
  blkid
  /dev/vda1: LABEL="cloudimg-rootfs" UUID="48e3b830-ff84-4434-ac74-b57b2ca59842" TYPE="ext4" PARTUUID="5527941f-d2b5- 478f-9371-233b327a30ba"
+
  /dev/vda1: [[LABEL]]="cloudimg-rootfs" UUID="48e3b830-ff84-4434-ac74-b57b2ca59842" TYPE="ext4" PARTUUID="5527941f-d2b5- 478f-9371-233b327a30ba"
 
  /dev/vda15: LABEL="UEFI" UUID="3EE0-2273" TYPE="vfat" PARTUUID="8fab63e3-4011-433b-80d4-5272183b8719"
 
  /dev/vda15: LABEL="UEFI" UUID="3EE0-2273" TYPE="vfat" PARTUUID="8fab63e3-4011-433b-80d4-5272183b8719"
 
  /dev/vda14: PARTUUID="662f5c26-fafa-4cf2-a874-5d340604d5ac"
 
  /dev/vda14: PARTUUID="662f5c26-fafa-4cf2-a874-5d340604d5ac"
Line 38: Line 38:
 
* <code>[[mkfs]]</code>
 
* <code>[[mkfs]]</code>
 
* <code>[[lsblk]]</code>
 
* <code>[[lsblk]]</code>
 +
[[/proc/devices]]
 +
[[/etc/fstab]]
  
 
== See also ==
 
== See also ==
Line 43: Line 45:
 
* {{Fibre Channel}}
 
* {{Fibre Channel}}
 
* {{Block device hardware}}
 
* {{Block device hardware}}
* [[UUID]]
+
* {{UUID}}
  
 
[[Category:Linux]]
 
[[Category:Linux]]
 +
[[Category:Storage]]

Latest revision as of 10:57, 15 February 2023

blkid
/dev/vda1: LABEL="cloudimg-rootfs" UUID="48e3b830-ff84-4434-ac74-b57b2ca59842" TYPE="ext4" PARTUUID="5527941f-d2b5- 478f-9371-233b327a30ba"
/dev/vda15: LABEL="UEFI" UUID="3EE0-2273" TYPE="vfat" PARTUUID="8fab63e3-4011-433b-80d4-5272183b8719"
/dev/vda14: PARTUUID="662f5c26-fafa-4cf2-a874-5d340604d5ac"
/dev/sdc: PTUUID="06b501d6-f262-4cff-80ff-0595cd9bec3b" PTTYPE="gpt"
/dev/sdd: UUID="o1VntN-Ub1N-8Djl-tXu0-1Yd7-fO7H-EWUBg6" TYPE="LVM2_member"
/dev/sde1: LABEL="USB DISK" UUID="5535-BE22" TYPE="vfat"


blkid
/dev/nvme0n1: PTUUID="tc5324bf-ae35-4a6b-a87d-35dd2bcd1432" PTTYPE="gpt"
blkid
/dev/nvme0n1p1: LABEL="cloudimg-rootfs" UUID="6156ec80-9446-4eb1-95e0-9ae6b7a46187" TYPE="ext4" PARTUUID="fe3a9f65-01"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/nvme0n1: PTUUID="fe3a9f65" PTTYPE="dos"

blkid -s UUID -o value /dev/vdb1
blkid
/dev/sdc1: SEC_TYPE="msdos" LABEL="BOOT" UUID="7B95-XXX" TYPE="vfat" PARTUUID="3x5e9f0f-05"
/dev/sdc2: LABEL="rootfs" UUID="x9a0e641-fb9e-4c3f-8ce3-258be6c93583" TYPE="ext4"
blkid
/dev/sdd1: LABEL="My Book" UUID="BAAA-EE40" TYPE="exfat" PTTYPE="atari" PARTLABEL="My Book" PARTUUID="88c8bd96-6796-4b5b-95bf-6686af5ac6t5"


Related commands[edit]

/proc/devices
/etc/fstab

See also[edit]

Advertising: