Lertmind
Сообщений: 2
Оценки: 0
Присоединился: 2010-01-14 16:40:48.890000
|
Является ли необходимым системный вызов open в системе Unix? Какими будут последствия его отсутствия? Вопрос из "Современные операционные системы" Таненбаум 2-е издание, стр. 497. Мне необходимо ответить на этот вопрос для сдачи экзамена. Ответ из MODERN_OPERATING_SYSTEMS_2nd_ed_PROBLEM_SOLUTIONS_A.S.TANENBAUM преподу не нравится: To start with, if there were no open, on every read it would be necessary to specify the name of the file to be opened. The system would then have to fetch the i-node for it, although that could be cached. One issue that quickly arises is when to flush the i-node back to disk. It could time out, however. It would be a bit clumsy, but it might work.
|