본문 바로가기

Ubuntu/linux Command

Linux Command (mount, unmount )

728x90

정의   

mount 는 하드웨어장치를 리눅스에서 사용하기 위해 인식시켜주는 명령어
umount 는 사용이 완료된 하드웨어장치를 분리시켜주는 명령어임

 

사용방법

 

mount 사용방법

mount -o [옵션] [디바이스명] [마운트할 디렉토리]

 

 

용례

mount 연결된 모든 파일 시스템을 표시
cgroup, sysfs 등 가상 시스템을 포함한 모든 파일 시스템이 포함됨
mount -t ext4 특정 파일 시스템만 표시하려면 -t 옵션을 사용
mkdir usb
mount /dev/sdb1 /root/usb 
directory usb 를 만들고 usb device 를 directory 에 mount 함
   

unmount 사용방법

umount -o [옵션] [디바이스명 혹은 마운트한 디렉토리]

umount /dev/sdb1  
   

 

'Ubuntu > linux Command' 카테고리의 다른 글

Linux Command (unlink)  (0) 2022.05.07
Linux Command (nmap, netstat)  (0) 2022.05.07
Nuget  (0) 2022.02.10
Linux command (rcp)  (0) 2021.09.22
Linux Command (tree)  (0) 2021.09.22