$
학습 Linux 안내서
ko
XP:0
퀘스트 56DiskArchitect
+180 XP

Block Devices & Partitions (lsblk & blkid)

이 퀘스트를 위한 인터랙티브 터미널 시작→설치 불필요 • 브라우저에서 바로 실행

개념 및 개요

Before a disk can store files, it is divided into storage blocks and partitions formatted with filesystems. In Linux:

- lsblk: Lists block storage devices (hard drives, NVMe SSDs, flash drives) in an intuitive tree showing parent drives (like sda, sdb), child partitions (like sda1, sdb1), sizes, and active mountpoints. Adding -f shows filesystem types and UUIDs.
- sudo blkid: Queries disk headers directly to print device Universally Unique Identifiers (UUIDs), filesystem formats (such as ext4, xfs, vfat), and partition labels used in boot and mount configurations.

Inspect the block storage hierarchy using lsblk (or lsblk -f), and locate device UUIDs using sudo blkid.

명령어 구문 참조

Command / SyntaxDescription
lsblkList block storage devices and partitions
lsblk -fDisplay filesystem types and UUIDs for block devices
sudo blkidQuery block device UUIDs and filesystem metadata

검증 목표

  • ○
    Run lsblk or lsblk -f to inspect block devices
  • ○
    Run sudo blkid to view partition UUIDs

퀘스트를 완료할 준비가 되셨나요? 56?