1 / 6

7 장

7 장. devices. physical Devices. os. logical devices. Device terminology physical Devices Ports Device Drivers Logical Devices /dev Dirctory Listing of /de directory block device : random access, buffering 지원 ( 블럭단위로 입출력 )

landen
Download Presentation

7 장

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 7장 devices • physical Devices os logical devices • Device terminology • physical Devices • Ports • Device Drivers • Logical Devices • /dev Dirctory • Listing of /de directory • block device : random access, buffering 지원(블럭단위로 입출력) • character device : 순차 access, buffering 지원 x(byte단위로 입출력) • 파일의 형태(종류)를 확인하는 명령어 • ls –l /dev • Device configuration database • Predefined Configuration Database (지원 가능한 장치 목록) • Customized Configuration Database (사용자가 사용중인 장치 목록) • 위에 2가지는 Object Data Manager(ODM)에 의해 관리됨 • /etc/objrepos폴더 안의 내용 관리 • List all supported devicesphysical Devices disk device driver /dev/~

  2. 7장 devices • List all supported devices • Predefined Devices(PdDv)장치를 확인하는 방법 • lsdev –P(명령어) 또는 smitty이용 • 인수 • -H(출력에서 윗 부분에 설명을 추가) • -c(장치의 원하는 형태만 보기) • -C(지금 연결되어 있는 장치 보여줌) • -s(subclass로 원하는 형태만 보기) • List all defined devices • Customized Devices(CUDv)장치를 확인하는 방법 • lsdev –C –H 또는 lscfg –v

  3. 7장 devices • Device states • cfgmgr • 장치를 재검사하여 ODM를 내용을 갱신하는 명령어 Predefined Database undefined -> supportedDevice rmdev -dl rmdev -dl Predefined Database defined -> not usable mkdev –l or cfgmgr rmdev -l available -> ready for use

  4. 7장 devices • Self-configuring devices • 책의 그림 참조(7-15쪽) • 아래 3가지 조건이 만족되어야 함 • 1. ODM에 정보 등록 • 2. 커널 모듈 올라온 상태 • 3. 장치파일 생성 • SMIT Devices menu • Device addressing • Location codes는 장치주소를 정하는데 사용됨 • Location codes는 장치별 모델마다 다름 • Location code format for PCI devices • AB-CD-EF-GH • 각 장치에 해당하는 규칙이 있고 그 맞는 이름이 붙여짐 • 책 내용 참조(7-19쪽, 7-22쪽)

  5. 7장 devices • Location code format for SCSI devices • AB-CD-EF-G,H • 책의내용 참조(7-24쪽, 7-26쪽) • Physical location codes • 시스템 펌웨어가 할당해줌 • Physical location codes구조 • <enclosure>.<planar>.<slot>-<port>-<logical location> • lscfg, lsdev명령어을 이용해 내용을 볼 수 있음 • Listing device physical locations • lsdev명령(예>lsdev –C –H –F “namestatus”)을 이용해 볼 수 있음 • Adding an ASCII terminal • ASCII terminal은 cfgmgr명령어로 못 잡으므로 smittytty에서 추가해주어야 함

  6. 7장 devices • Attachment • 앞의 TTY에서 해당되는 형태를 선택할 것 • Add a TTY • Appendix F참조, serial device (pc와 서버연결) • Documenting hardware configuration • lsdev –CH • lscfg –v • lsattr –E1 sys0 • getconf –a (script형태, 모든 시스템 구성 변수 값을 제공)

More Related