; | | ( ) | | { | | ; | | , - | | ( bread); | | , - | | , ; | | ( brelse); | | ; | | ( - | | ); | | } | | , (- | | getblk); | | ; | | ; | | ""; | | ; | | } | +------------------------------------------------------------+ 4.19. 81 4.20() 211. , , - . , , , - . . 1. , , : , . - . , , , . , , , , . , , - . 2. - : - . . 3. , - , - , . +-----+-----+-----+-----+---------------------+ | 109 | 106 | 103 | 100 | ------------------- | +--+--+-----+-----+-----+---------------------+ +-----+ | 109 | +-----+-----+-----+-----+---------------+-----+ +->| 211 | 208 | 205 | 202 | ------------- | 112 | +-----+-----+-----+-----+---------------+-----+ () +-----+-----+---------------------------------+ | 109 | 949 | ------------------------------- | +--+--+-----+---------------------------------+ +-----+ | 109 | +-----+-----+-----+-----+---------------+-----+ +->| 211 | 208 | 205 | 202 | ------------- | 112 | +-----+-----+-----+-----+---------------+-----+ () 949 +-----+-----+-----+-----+---------------------+ | 109 | 106 | 103 | 100 | ------------------- | +--+--+-----+-----+-----+---------------------+ +-----+ | 109 | +-----+-----+-----+-----+---------------+-----+ +->| 211 | 208 | 205 | 202 | ------------- | 112 | +-----+-----+-----+-----+---------------+-----+ () 949 82 +-----+-----+-----+-----+---------------+-----+ | 211 | 208 | 205 | 202 | ------------- | 112 | +--+--+-----+-----+-----+---------------+-----+ +-----+ | 211 | +-----+-----+-----+-----+---------------+-----+ +->| 344 | 341 | 338 | 335 | ------------- | 243 | +-----+-----+-----+-----+---------------+-----+ () 109 4.20. 4.8  UNIX : - . , fifo ( "first-in-first-out" - " - " - - ), , - : , , . , , - , . , , - , , . - . UNIX , - - - -. - , . - - . , , , - , . - 10. 4.9  , - , . : , - , , , - . ialloc ifree creat, mknod, pipe unlink (. ), iget iput . bmap - , , - . , - . namei , , , . - , , - alloc free. 83 , , , - , , , . , , , . , . . ( 2.1), - , , - . , - , , - . 8. V UNIX 14 . namei - . - , - ? 9. , UNIX, , 30 ; - , , - , 32 16. - , namei, - ? *10. namei . - . (unlink) ? - ? . *11. , . : n- . *12. - , . *13. , , "" , - ialloc. , ? 14. , . , . ? 84