C 프로그램상에서 device가 mount 된 상태인지 아닌지 알 수 있는 명령어는 없나요. 찾는데 잘 안찾아지네요... ㅡㅡ 부탁합니다.
df
세벌 https://sebuls.blogspot.kr/
/proc/mounts 파일을 read()하면 될겁니다.
Written By the Black Knight of Destruction
감사합니다. 매번 도움만 얻어가네요... 저도 언젠가는 ^^
Heading, heading again, again, ... ㅜㅜ 피난다
df
df
세벌 https://sebuls.blogspot.kr/
/proc/mounts 파일을 read()하면 될겁니다.
/proc/mounts 파일을 read()하면 될겁니다.
Written By the Black Knight of Destruction
고맙습니다.
감사합니다.
매번 도움만 얻어가네요...
저도 언젠가는 ^^
Heading, heading again, again, ... ㅜㅜ 피난다