hard disk의 정보를 얻어와서 그것을 admission control을 하려 합니다.
그런데 어느 파일 or 함수에서 가져와야 될지 잘 몰라서 이렇게 씁니다.
저희는 user level에서 control을 해야 하기 때문에 kernel에서 정보를 가져오
기위해 아마 system call 을 써야하지 않을까 생각 되는데..
hd.c에서 참고하면 될 것 같은데 잘 모르겠습니다.
좀 알려주세요..
write a Csh script which recursively sets file and directory access
permissions.
Usage of this Csh script
rchmod file_permissions dir_permissions file_or_dir_names
Assumption
This Csh script would be used after the command is in the path and
rehashed.
for example
%rchmod u=rw,go=r u=rwx,go=rx *
Result of above command
The above command sets the permission of all the plains files at the
current working directory and its subdirectories as
rw for user , r for group and others.
The above command also sets the permissions of all the sub-directories
of the current working directory as rwx for user
음...후지쯔 30기가짜리 하드를 샀는데...
실린더 수가 1024가 넘네요...
윈2000을 먼저 깔고나서 리눅스를 까는데...
스왑파티션 포맷하다가 시스템 정지...
이유를 봤더니 실린더의 문제더군요...
여기 글을 찾아보니...
첨에 2000을 깔기 위해 2기가정도 주 파티션을 잡고,
확장에서 논리파티션을 여러개 잡을 때 첫 번째 논리 파티션을 2기가정도로 작
게 잡은 후에 비워두고(나중에 리눅스 부트파티션으로 조정),
그 뒷부분의 일정 공간을 2000이 사용하고,