본문 바로가기

SSS

SSS-4. 시스템 데이터 파일 목차 -booting과 /etc/rc -login과 /etc/passwd(shadow) -networking과 여러 가지 file -/etc/hosts, /etc/services, /etc/protocols -/etc/networks booting과 /etc/rc - Booting : 컴퓨터가 처음에 power on을 하거나 reset을 했을 때 처음 시작되는 프로그램. bootstraper -> Boot Block(disk에 있음) -> OS 이 과정의 마지막에서 /etc/init(pid=1을 생성하는 process) 이 불려옴 ->다른 process는 전부 init의 fork() -init process : 시스템 초기화를 함. 처음에는 single user mode로 수행. shell program.. 더보기
SSS-3. UNIX 시스템 호출 지난 시간에는 System Call에 대해 file만 나갔다. process 관련 System call에 대해 알아보자. process : program이 수행되는 것. executable file이 memory에 로딩된 것이 process. process control을 위한 system call을 예제 중심으로 알아봅시다. 목차 -fork/vfork 및 file sharing -exit, wait, exec 계열 -user id(real/effective) fork/vfork 및 file sharing *vfork는 child process를 만들지 않고(fork -> exec 하는 경우에) parent가 연 file을 공유하는 방식? 이다. int pid; printf(“ my pid = %d\n”.. 더보기
SSS-1_2. UNIX 시스템 소개 및 구조 목차 -UNIX 발전 과정 -UNIX의 주요 특징 (Shell, File, Process) -Block Diagram of the Kernel -System Call(process, file) 교재랑은 정말 아무 관련 없는 목차이다. *강의 듣기 전에 할 것(추천) 7-zip 깔아서 pptx 압축파일 풀어서 ppt>media>media 가면 ppt 장 순서대로 media 파일이 있다. windows 쓰면 window media player 깔아서 우클릭>고급기능>재생속도설정> 2배속(추천), 4배속 해도 될듯. UNIX 발전 과정 (이름은 발전 과정이지만 뭔가 내용물이 다르다. 필요성에 가깝다.) - UNIX 기반 시스템 UNIX는 서버용 OS, 모바일 OS의 기반이 되었다. - UNIX의 필요성 Eng.. 더보기