Difference between revisions of "Blkid"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 15: | Line 15: | ||
blkid -s [[UUID]] -o value /dev/vdb1 | blkid -s [[UUID]] -o value /dev/vdb1 | ||
− | + | blkid | |
/dev/sdc1: SEC_TYPE="msdos" LABEL="BOOT" UUID="7B95-XXX" TYPE="[[vfat]]" PARTUUID="3x5e9f0f-05" | /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]]" | /dev/sdc2: LABEL="rootfs" UUID="x9a0e641-fb9e-4c3f-8ce3-258be6c93583" TYPE="[[ext4]]" |
Revision as of 12:55, 24 August 2020
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 -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"
Related commands
See also
- Block devices:
blkid
(UUID),lshw -class disk
,hwinfo --disk
,udevadm
,rescan-scsi-bus.sh
,LUN
,hdparm
,findfs
, Add a new disk lsblk
,pvscan
lspci
,lsscsi
,smartctl
,fdisk
,parted
,Kpartx
,pvdiplay
,pvs
,udisksctl
,/dev/sd, nvme list
- Fibre Channel: SAN, HBA, LUN, WWN, WWPN, LIF,
rescan-scsi-bus.sh
- Block devices: HDD, SSD, Intel Optane, block size
- UUID
Advertising: