리눅스에서 USB 마운트 경로를 가져오는 명령어가 있나요?

bao의 이미지

리눅스에서 USB 마운트 경로를 가져오는 명령어가 있나요?

/media 폴더 밑에 생기는거 같은데

이 정보를 명령어를 이용해서 가져오는 방법이 있는지 알고 싶습니다.

tyhan의 이미지

mount 하면 현재 마운트된것들 다 나오지 않나요?

백연구원의 이미지

lsblk 가 도움이 되지 않을까 합니다.


소곤소곤

msshinok의 이미지

fs_mgr_get_entry_for_mount_point(fstab, path);

The die is cast!

sunnyncom의 이미지

Usage: df [OPTION]... [FILE]...
Show information about the file system on which each FILE resides,
or all file systems by default.

skyjjogari의 이미지

df