------------------------------------------------------Session 27 - April 11, 2003 ------------------------------------------------------ AGENDA: 0 Admin 1 Ch 5.7 ------------------------------------------------------ 0 - ADMIN ------------------------------------------------------ Startout Q: Chapel speaker thoughts? Due today * Nothing ------------------------------------------------------ 1 - CH 5.7 ------------------------------------------------------ Trace the life of open( ) * Starts in user space - /usr/src/lib/posix/_open.c - /usr/src/lib/other/syscall.c * Moves to FS - /usr/src/fs/main.c lines 22537-22566 - /usr/src/fs/open.c - do_open( ) lines 22951-22969 - digs around in common_open( ) * Then goes on down to some device driver Start looking through code p. 791, const.h * lines 19519, 19521 Inodes * lines 19600-19622, p. 793 * lines 20500-20544, p. 800 glo.h * lines 19900-19931 fproc.h * lines 20000-20032 dev.h * lines 20200-20211 file.h * lines 20304-20314 table.c * lines 20800-20896 * lines 20899-20948 cache.c * lines 21000-21113 COS 421 - Lecture Notes #27 SPRING 2003 COS421-lect-2003-04-11 Page 1 Printed 11.04.03