글쓴이: 익명 사용자 / 작성시간: 수, 2001/09/26 - 7:52오후
hard disk의 정보를 얻어와서 그것을 admission control을 하려 합니다.
그런데 어느 파일 or 함수에서 가져와야 될지 잘 몰라서 이렇게 씁니다.
저희는 user level에서 control을 해야 하기 때문에 kernel에서 정보를 가져오
기위해 아마 system call 을 써야하지 않을까 생각 되는데..
hd.c에서 참고하면 될 것 같은데 잘 모르겠습니다.
좀 알려주세요..
Re: disk ..
/proc/
에서...
그럼.
Re^2: disk ..
/proc 파일 시스템은 커널 정보를 어떻
게 가져오게 되나요???
system call을 이용하는것 같던데....
그리고 /proc에 디스크 정보를 가져와
들어오는 data들에 따라서 user level에서
disk의 남은 공간을 체크하는 admission
control을 하려고 합니다.
소켓 프로그램을 짜야 될까요???
댓글 달기