$
학습 Linux 안내서
ko
XP:0
퀘스트 57MountMaster
+190 XP

Mounting Filesystems (mount, umount & /etc/fstab)

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

개념 및 개요

In Unix systems, disk drives do not have isolated drive letters like C:\ or D:\. Instead, all filesystems attach into a unified directory tree:

- sudo mount : Attaches a formatted block partition (e.g. /dev/sdb1) into an existing directory folder (the "mountpoint", e.g. /mnt/data).
- sudo umount : Safely detaches the filesystem, committing unwritten buffers to disk before unplugging or reformatting.
- /etc/fstab: The static filesystem table file describing which partitions automatically mount at boot time, their mount options, and dump/fsck pass priorities.

Inspect static mounts with cat /etc/fstab, mount partition /dev/sdb1 to /mnt/data with sudo mount /dev/sdb1 /mnt/data, and unmount it cleanly with sudo umount /mnt/data.

명령어 구문 참조

Command / SyntaxDescription
cat /etc/fstabInspect static filesystem mount table
sudo mount /dev/sdb1 /mnt/dataMount block partition to directory
sudo umount /mnt/dataUnmount filesystem from directory

검증 목표

  • ○
    Inspect /etc/fstab
  • ○
    Mount /dev/sdb1 to /mnt/data
  • ○
    Unmount /mnt/data

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