home *** CD-ROM | disk | FTP | other *** search
/ For Beginners & Professional Hackers / cd.iso / docum / hpfs.doc / hpfs.tex < prev    next >
LaTeX Document  |  1993-03-13  |  39.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Corel 10 Texture (image/corel10Texture) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text default
100% TrID LaTeX 2e document (with rem) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: Plain text[LF] default
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 25 4c 61 54 65 58 65 | 64 20 62 79 25 25 25 25 |%%LaTeXe|d by%%%%|
|00000010| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000020| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000030| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000040| 25 25 25 25 25 25 25 25 | 25 25 25 0a 25 20 20 20 |%%%%%%%%|%%%.% |
|00000050| 20 20 20 20 20 20 20 50 | 68 69 6c 6c 69 70 20 45 | P|hillip E|
|00000060| 2e 20 50 61 72 6b 65 72 | 0a 25 20 20 5f 5f 20 32 |. Parker|.% __ 2|
|00000070| 20 20 20 20 4d 61 74 68 | 2e 20 44 65 70 74 2e 20 | Math|. Dept. |
|00000080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000090| 42 69 74 6e 65 74 3a 20 | 70 70 61 72 6b 65 72 40 |Bitnet: |pparker@|
|000000a0| 74 77 73 75 76 6d 0a 25 | 20 7c 5f 5f 29 20 20 20 |twsuvm.%| |__) |
|000000b0| 20 20 57 69 63 68 69 74 | 61 20 53 74 2e 20 55 6e | Wichit|a St. Un|
|000000c0| 69 76 2e 20 20 20 20 20 | 20 20 20 20 49 6e 74 65 |iv. | Inte|
|000000d0| 72 6e 65 74 3a 20 70 70 | 61 72 6b 65 72 40 74 77 |rnet: pp|arker@tw|
|000000e0| 73 75 76 6d 2e 75 63 2e | 74 77 73 75 2e 65 64 75 |suvm.uc.|twsu.edu|
|000000f0| 0a 25 20 7c 20 20 20 20 | 20 20 20 20 57 69 63 68 |.% | | Wich|
|00000100| 69 74 61 20 4b 53 20 20 | 36 37 32 36 30 2d 30 30 |ita KS |67260-00|
|00000110| 33 33 20 20 20 20 20 20 | 20 20 20 46 61 78 3a 20 |33 | Fax: |
|00000120| 31 2d 33 31 36 2d 36 38 | 39 2d 33 37 34 38 0a 25 |1-316-68|9-3748.%|
|00000130| 20 20 20 20 20 20 20 20 | 20 20 55 53 41 0a 25 20 | | USA.% |
|00000140| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000150| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000160| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000170| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000180| 2d 2d 2d 2d 2d 2d 2d 2d | 0a 25 20 49 6e 20 74 68 |--------|.% In th|
|00000190| 65 20 53 6f 75 74 68 2c | 20 61 6e 79 20 67 72 6f |e South,| any gro|
|000001a0| 75 70 20 69 73 20 73 75 | 73 70 65 63 74 20 77 68 |up is su|spect wh|
|000001b0| 69 6c 65 20 61 6e 79 20 | 69 6e 64 69 76 69 64 75 |ile any |individu|
|000001c0| 61 6c 20 69 73 20 61 6e | 20 65 78 63 65 70 74 69 |al is an| excepti|
|000001d0| 6f 6e 2c 0a 25 20 70 6f | 73 73 69 62 6c 79 20 74 |on,.% po|ssibly t|
|000001e0| 6f 20 62 65 20 65 6d 62 | 72 61 63 65 64 2e 20 42 |o be emb|raced. B|
|000001f0| 79 20 63 6f 6e 74 72 61 | 73 74 2c 20 69 6e 20 74 |y contra|st, in t|
|00000200| 68 65 20 4e 6f 72 74 68 | 20 61 6e 79 20 67 72 6f |he North| any gro|
|00000210| 75 70 20 69 73 20 74 6f | 6c 65 72 61 74 65 64 0a |up is to|lerated.|
|00000220| 25 20 62 75 74 20 61 6e | 79 20 69 6e 64 69 76 69 |% but an|y indivi|
|00000230| 64 75 61 6c 20 69 73 20 | 76 75 6c 6e 65 72 61 62 |dual is |vulnerab|
|00000240| 6c 65 20 74 6f 20 68 61 | 74 72 65 64 2e 20 20 20 |le to ha|tred. |
|00000250| 20 20 20 20 20 20 20 20 | 20 20 20 2d 2d 2d 53 68 | | ---Sh|
|00000260| 65 6c 62 79 20 48 65 61 | 72 6f 6e 0a 25 25 25 25 |elby Hea|ron.%%%%|
|00000270| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000280| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000290| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000002a0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000002b0| 25 25 25 25 25 25 25 0a | 5c 64 6f 63 75 6d 65 6e |%%%%%%%.|\documen|
|000002c0| 74 73 74 79 6c 65 7b 61 | 72 74 69 63 6c 65 7d 0a |tstyle{a|rticle}.|
|000002d0| 20 0a 5c 68 65 61 64 68 | 65 69 67 68 74 3d 30 69 | .\headh|eight=0i|
|000002e0| 6e 0a 5c 68 65 61 64 73 | 65 70 3d 30 69 6e 0a 5c |n.\heads|ep=0in.\|
|000002f0| 74 65 78 74 68 65 69 67 | 68 74 3d 39 69 6e 0a 5c |textheig|ht=9in.\|
|00000300| 74 6f 70 6d 61 72 67 69 | 6e 3d 30 69 6e 0a 5c 74 |topmargi|n=0in.\t|
|00000310| 65 78 74 77 69 64 74 68 | 3d 36 2e 35 69 6e 0a 5c |extwidth|=6.5in.\|
|00000320| 6f 64 64 73 69 64 65 6d | 61 72 67 69 6e 3d 30 69 |oddsidem|argin=0i|
|00000330| 6e 0a 5c 70 61 72 73 6b | 69 70 3d 35 70 74 20 70 |n.\parsk|ip=5pt p|
|00000340| 6c 75 73 31 70 74 0a 20 | 0a 5c 66 6f 6e 74 5c 68 |lus1pt. |.\font\h|
|00000350| 65 61 64 73 20 3d 20 63 | 6d 62 78 31 32 0a 20 0a |eads = c|mbx12. .|
|00000360| 5c 62 65 67 69 6e 7b 64 | 6f 63 75 6d 65 6e 74 7d |\begin{d|ocument}|
|00000370| 0a 20 0a 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |. .\begi|n{verbat|
|00000380| 69 6d 7d 0a 20 2a 2a 2a | 2a 2a 20 20 43 6f 6d 70 |im}. ***|** Comp|
|00000390| 75 74 65 72 20 4c 69 62 | 72 61 72 79 20 50 65 72 |uter Lib|rary Per|
|000003a0| 69 6f 64 69 63 61 6c 73 | 2c 20 4a 61 6e 20 31 39 |iodicals|, Jan 19|
|000003b0| 39 30 20 3a 20 44 6f 63 | 20 23 31 34 37 35 33 20 |90 : Doc| #14753 |
|000003c0| 20 2a 2a 2a 2a 2a 0a 20 | 0a 4a 6f 75 72 6e 61 6c | *****. |.Journal|
|000003d0| 3a 20 20 20 4d 69 63 72 | 6f 73 6f 66 74 20 53 79 |: Micr|osoft Sy|
|000003e0| 73 74 65 6d 73 20 4a 6f | 75 72 6e 61 6c 20 53 65 |stems Jo|urnal Se|
|000003f0| 70 74 20 31 39 38 39 20 | 76 34 20 6e 35 20 70 31 |pt 1989 |v4 n5 p1|
|00000400| 28 31 33 29 0a 20 20 20 | 20 20 20 20 20 20 20 20 |(13). | |
|00000410| 2a 20 46 75 6c 6c 20 54 | 65 78 74 20 43 4f 50 59 |* Full T|ext COPY|
|00000420| 52 49 47 48 54 20 4d 69 | 63 72 6f 73 6f 66 74 20 |RIGHT Mi|crosoft |
|00000430| 43 6f 72 70 2e 20 31 39 | 38 39 2e 0a 2d 2d 2d 2d |Corp. 19|89..----|
|00000440| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000450| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000460| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000470| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000480| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0a 54 69 74 6c 65 3a |--------|-.Title:|
|00000490| 20 20 20 20 20 44 65 73 | 69 67 6e 20 67 6f 61 6c | Des|ign goal|
|000004a0| 73 20 61 6e 64 20 69 6d | 70 6c 65 6d 65 6e 74 61 |s and im|plementa|
|000004b0| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 6e 65 77 20 |tion of |the new |
|000004c0| 48 69 67 68 20 50 65 72 | 66 6f 72 6d 61 6e 63 65 |High Per|formance|
|000004d0| 20 46 69 6c 65 20 53 79 | 73 74 65 6d 2e 0a 20 20 | File Sy|stem.. |
|000004e0| 20 20 20 20 20 20 20 20 | 20 28 69 6e 63 6c 75 64 | | (includ|
|000004f0| 65 73 20 72 65 6c 61 74 | 65 64 20 61 72 74 69 63 |es relat|ed artic|
|00000500| 6c 65 20 6f 6e 20 42 20 | 54 72 65 65 73 20 61 6e |le on B |Trees an|
|00000510| 64 20 42 2b 20 54 72 65 | 65 73 29 0a 41 75 74 68 |d B+ Tre|es).Auth|
|00000520| 6f 72 3a 20 20 20 20 44 | 75 6e 63 61 6e 2c 20 52 |or: D|uncan, R|
|00000530| 6f 79 2e 0a 20 0a 53 75 | 6d 6d 61 72 79 3a 20 20 |oy.. .Su|mmary: |
|00000540| 20 54 68 65 20 48 69 67 | 68 20 50 65 72 66 6f 72 | The Hig|h Perfor|
|00000550| 6d 61 6e 63 65 20 46 69 | 6c 65 20 53 79 73 74 65 |mance Fi|le Syste|
|00000560| 6d 20 28 48 50 46 53 29 | 20 65 6e 68 61 6e 63 65 |m (HPFS)| enhance|
|00000570| 6d 65 6e 74 20 74 6f 20 | 4f 53 2f 32 20 56 65 72 |ment to |OS/2 Ver|
|00000580| 73 69 6f 6e 0a 20 20 20 | 20 20 20 20 20 20 20 20 |sion. | |
|00000590| 31 2e 32 20 73 6f 6c 76 | 65 73 20 61 6c 6c 20 74 |1.2 solv|es all t|
|000005a0| 68 65 20 70 72 6f 62 6c | 65 6d 73 20 6f 66 20 74 |he probl|ems of t|
|000005b0| 68 65 20 46 69 6c 65 20 | 41 6c 6c 6f 63 61 74 69 |he File |Allocati|
|000005c0| 6f 6e 20 54 61 62 6c 65 | 20 28 46 41 54 29 20 66 |on Table| (FAT) f|
|000005d0| 69 6c 65 0a 20 20 20 20 | 20 20 20 20 20 20 20 73 |ile. | s|
|000005e0| 79 73 74 65 6d 20 61 6e | 64 20 69 73 20 64 65 73 |ystem an|d is des|
|000005f0| 69 67 6e 65 64 20 74 6f | 20 6d 65 65 74 20 74 68 |igned to| meet th|
|00000600| 65 20 64 65 6d 61 6e 64 | 73 20 65 78 70 65 63 74 |e demand|s expect|
|00000610| 65 64 20 69 6e 74 6f 20 | 74 68 65 20 6e 65 78 74 |ed into |the next|
|00000620| 20 66 65 77 0a 20 20 20 | 20 20 20 20 20 20 20 20 | few. | |
|00000630| 64 65 63 61 64 65 73 2e | 20 20 48 50 46 53 20 6e |decades.| HPFS n|
|00000640| 6f 74 20 6f 6e 6c 79 20 | 73 65 72 76 65 73 20 61 |ot only |serves a|
|00000650| 73 20 61 20 77 61 79 20 | 74 6f 20 6f 72 67 61 6e |s a way |to organ|
|00000660| 69 7a 65 20 64 61 74 61 | 20 6f 6e 20 72 61 6e 64 |ize data| on rand|
|00000670| 6f 6d 0a 20 20 20 20 20 | 20 20 20 20 20 20 61 63 |om. | ac|
|00000680| 63 65 73 73 20 62 6c 6f | 63 6b 20 73 74 6f 72 61 |cess blo|ck stora|
|00000690| 67 65 20 64 65 76 69 63 | 65 73 2c 20 62 75 74 20 |ge devic|es, but |
|000006a0| 69 73 20 61 6c 73 6f 20 | 61 20 73 6f 66 74 77 61 |is also |a softwa|
|000006b0| 72 65 20 6d 6f 64 75 6c | 65 20 74 68 61 74 0a 20 |re modul|e that. |
|000006c0| 20 20 20 20 20 20 20 20 | 20 20 74 72 61 6e 73 6c | | transl|
|000006d0| 61 74 65 73 20 66 69 6c | 65 2d 6f 72 69 65 6e 74 |ates fil|e-orient|
|000006e0| 65 64 20 72 65 71 75 65 | 73 74 73 20 66 72 6f 6d |ed reque|sts from|
|000006f0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 70 72 | applica|tions pr|
|00000700| 6f 67 72 61 6d 73 20 74 | 6f 20 64 65 76 69 63 65 |ograms t|o device|
|00000710| 0a 20 20 20 20 20 20 20 | 20 20 20 20 64 72 69 76 |. | driv|
|00000720| 65 72 73 2e 20 20 48 50 | 46 53 20 69 73 20 61 6c |ers. HP|FS is al|
|00000730| 73 6f 20 61 6e 20 65 78 | 61 6d 70 6c 65 20 6f 66 |so an ex|ample of|
|00000740| 20 61 6e 20 69 6e 73 74 | 61 6c 6c 61 62 6c 65 20 | an inst|allable |
|00000750| 66 69 6c 65 20 73 79 73 | 74 65 6d 20 77 68 69 63 |file sys|tem whic|
|00000760| 68 0a 20 20 20 20 20 20 | 20 20 20 20 20 6d 61 6b |h. | mak|
|00000770| 65 73 20 69 74 20 70 6f | 73 73 69 62 6c 65 20 74 |es it po|ssible t|
|00000780| 6f 20 61 63 63 65 73 73 | 20 73 65 76 65 72 61 6c |o access| several|
|00000790| 20 69 6e 63 6f 6d 70 61 | 74 69 62 6c 65 20 76 6f | incompa|tible vo|
|000007a0| 6c 75 6d 65 20 73 74 72 | 75 63 74 75 72 65 73 0a |lume str|uctures.|
|000007b0| 20 20 20 20 20 20 20 20 | 20 20 20 6f 6e 20 74 68 | | on th|
|000007c0| 65 20 73 61 6d 65 20 4f | 53 2f 32 20 73 79 73 74 |e same O|S/2 syst|
|000007d0| 65 6d 20 73 69 6d 75 6c | 74 61 6e 65 6f 75 73 6c |em simul|taneousl|
|000007e0| 79 2e 20 20 45 78 63 65 | 6c 6c 65 6e 74 20 74 68 |y. Exce|llent th|
|000007f0| 72 6f 75 67 68 70 75 74 | 20 69 73 0a 20 20 20 20 |roughput| is. |
|00000800| 20 20 20 20 20 20 20 61 | 63 68 69 65 76 65 64 20 | a|chieved |
|00000810| 62 79 20 74 68 65 20 75 | 73 65 20 6f 66 20 61 64 |by the u|se of ad|
|00000820| 76 61 6e 63 65 64 20 64 | 61 74 61 20 73 74 72 75 |vanced d|ata stru|
|00000830| 63 74 75 72 65 73 20 73 | 75 63 68 20 61 73 20 69 |ctures s|uch as i|
|00000840| 6e 74 65 6c 6c 69 67 65 | 6e 74 0a 20 20 20 20 20 |ntellige|nt. |
|00000850| 20 20 20 20 20 20 63 61 | 63 68 69 6e 67 2c 20 72 | ca|ching, r|
|00000860| 65 61 64 2d 61 68 65 61 | 64 20 61 6e 64 20 77 72 |ead-ahea|d and wr|
|00000870| 69 74 65 2d 62 65 68 69 | 6e 64 2e 20 20 44 69 73 |ite-behi|nd. Dis|
|00000880| 6b 20 73 70 61 63 65 20 | 69 73 20 6d 61 6e 61 67 |k space |is manag|
|00000890| 65 64 20 6d 6f 72 65 0a | 20 20 20 20 20 20 20 20 |ed more.| |
|000008a0| 20 20 20 65 63 6f 6e 6f | 6d 69 63 61 6c 6c 79 20 | econo|mically |
|000008b0| 62 79 20 74 68 65 20 75 | 73 65 20 6f 66 20 73 65 |by the u|se of se|
|000008c0| 63 74 6f 72 69 6e 67 2e | 20 20 48 50 46 53 20 61 |ctoring.| HPFS a|
|000008d0| 6c 73 6f 20 69 6e 63 6c | 75 64 65 73 20 67 72 65 |lso incl|udes gre|
|000008e0| 61 74 6c 79 0a 20 20 20 | 20 20 20 20 20 20 20 20 |atly. | |
|000008f0| 69 6d 70 72 6f 76 65 64 | 20 66 61 75 6c 74 20 74 |improved| fault t|
|00000900| 6f 6c 65 72 61 6e 63 65 | 2e 20 20 41 70 70 6c 69 |olerance|. Appli|
|00000910| 63 61 74 69 6f 6e 73 20 | 70 72 6f 67 72 61 6d 73 |cations |programs|
|00000920| 20 6e 65 65 64 20 6f 6e | 6c 79 20 73 69 6d 70 6c | need on|ly simpl|
|00000930| 65 0a 20 20 20 20 20 20 | 20 20 20 20 20 6d 6f 64 |e. | mod|
|00000940| 69 66 69 63 61 74 69 6f | 6e 73 20 74 6f 20 6d 61 |ificatio|ns to ma|
|00000950| 6b 65 20 75 73 65 20 6f | 66 20 65 78 74 65 6e 64 |ke use o|f extend|
|00000960| 65 64 20 61 74 74 72 69 | 62 75 74 65 73 20 61 6e |ed attri|butes an|
|00000970| 64 20 6c 6f 6e 67 20 66 | 69 6c 65 6e 61 6d 65 73 |d long f|ilenames|
|00000980| 2e 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..------|--------|
|00000990| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000009a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000009b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000009c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0a |--------|-------.|
|000009d0| 44 65 73 63 72 69 70 74 | 6f 72 73 2e 2e 0a 50 72 |Descript|ors...Pr|
|000009e0| 6f 64 75 63 74 3a 20 20 | 20 4f 53 2d 32 20 45 78 |oduct: | OS-2 Ex|
|000009f0| 74 65 6e 64 65 64 20 45 | 64 69 74 69 6f 6e 20 31 |tended E|dition 1|
|00000a00| 2e 32 20 28 4f 70 65 72 | 61 74 69 6e 67 20 73 79 |.2 (Oper|ating sy|
|00000a10| 73 74 65 6d 29 20 28 70 | 72 6f 64 75 63 74 20 65 |stem) (p|roduct e|
|00000a20| 6e 68 61 6e 63 65 6d 65 | 6e 74 29 2e 0a 54 6f 70 |nhanceme|nt)..Top|
|00000a30| 69 63 3a 20 20 20 20 20 | 4f 53 2d 32 0a 20 20 20 |ic: |OS-2. |
|00000a40| 20 20 20 20 20 20 20 20 | 46 69 6c 65 20 4d 61 6e | |File Man|
|00000a50| 61 67 65 6d 65 6e 74 0a | 20 20 20 20 20 20 20 20 |agement.| |
|00000a60| 20 20 20 45 6e 68 61 6e | 63 65 6d 65 6e 74 73 0a | Enhan|cements.|
|00000a70| 20 20 20 20 20 20 20 20 | 20 20 20 44 61 74 61 20 | | Data |
|00000a80| 53 74 72 75 63 74 75 72 | 65 73 0a 20 20 20 20 20 |Structur|es. |
|00000a90| 20 20 20 20 20 20 44 69 | 73 6b 20 53 70 61 63 65 | Di|sk Space|
|00000aa0| 20 41 6c 6c 6f 63 61 74 | 69 6f 6e 0a 20 20 20 20 | Allocat|ion. |
|00000ab0| 20 20 20 20 20 20 20 53 | 65 63 74 6f 72 69 6e 67 | S|ectoring|
|00000ac0| 2e 0a 46 65 61 74 75 72 | 65 3a 20 20 20 69 6c 6c |..Featur|e: ill|
|00000ad0| 75 73 74 72 61 74 69 6f | 6e 0a 20 20 20 20 20 20 |ustratio|n. |
|00000ae0| 20 20 20 20 20 74 61 62 | 6c 65 0a 20 20 20 20 20 | tab|le. |
|00000af0| 20 20 20 20 20 20 63 68 | 61 72 74 2e 0a 43 61 70 | ch|art..Cap|
|00000b00| 74 69 6f 6e 3a 20 20 20 | 28 43 6f 6d 70 61 72 69 |tion: |(Compari|
|00000b10| 73 6f 6e 20 6f 66 20 46 | 41 54 20 61 6e 64 20 48 |son of F|AT and H|
|00000b20| 69 67 68 20 50 65 72 66 | 6f 72 6d 61 6e 63 65 20 |igh Perf|ormance |
|00000b30| 46 69 6c 65 20 53 79 73 | 74 65 6d 2e 29 0a 20 20 |File Sys|tem.). |
|00000b40| 20 20 20 20 20 20 20 20 | 20 28 4f 76 65 72 61 6c | | (Overal|
|00000b50| 6c 20 73 74 72 75 63 74 | 75 72 65 20 6f 66 20 61 |l struct|ure of a|
|00000b60| 6e 20 48 50 46 53 20 76 | 6f 6c 75 6d 65 2e 29 0a |n HPFS v|olume.).|
|00000b70| 20 20 20 20 20 20 20 20 | 20 20 20 28 4f 76 65 72 | | (Over|
|00000b80| 61 6c 6c 20 73 74 72 75 | 63 74 75 72 65 20 6f 66 |all stru|cture of|
|00000b90| 20 61 6e 20 46 6e 6f 64 | 65 2e 29 0a 20 0a 52 65 | an Fnod|e.). .Re|
|00000ba0| 63 6f 72 64 23 3a 20 20 | 20 30 37 20 35 38 35 20 |cord#: | 07 585 |
|00000bb0| 34 35 34 2e 0a 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |454..---|--------|
|00000bc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000bd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000be0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000bf0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c00| 2d 2d 0a 46 75 6c 6c 20 | 54 65 78 74 3a 0a 20 0a |--.Full |Text:. .|
|00000c10| 5c 65 6e 64 7b 76 65 72 | 62 61 74 69 6d 7d 0a 5c |\end{ver|batim}.\|
|00000c20| 6e 6f 69 6e 64 65 6e 74 | 0a 7b 5c 73 66 20 54 48 |noindent|.{\sf TH|
|00000c30| 45 20 48 50 46 53 20 49 | 53 20 41 20 57 41 59 20 |E HPFS I|S A WAY |
|00000c40| 4f 46 20 4f 52 47 41 4e | 49 5a 49 4e 47 20 44 41 |OF ORGAN|IZING DA|
|00000c50| 54 41 20 4f 4e 20 41 20 | 52 41 4e 44 4f 4d 20 41 |TA ON A |RANDOM A|
|00000c60| 43 43 45 53 53 20 42 4c | 4f 43 4b 20 53 54 4f 52 |CCESS BL|OCK STOR|
|00000c70| 41 47 45 0a 44 45 56 49 | 43 45 2e 0a 49 54 20 49 |AGE.DEVI|CE..IT I|
|00000c80| 53 20 41 4c 53 4f 20 41 | 20 53 4f 46 54 57 41 52 |S ALSO A| SOFTWAR|
|00000c90| 45 20 4d 4f 44 55 4c 45 | 20 54 48 41 54 20 54 52 |E MODULE| THAT TR|
|00000ca0| 41 4e 53 4c 41 54 45 53 | 20 46 49 4c 45 2d 4f 52 |ANSLATES| FILE-OR|
|00000cb0| 49 45 4e 54 45 44 20 52 | 45 51 55 45 53 54 53 20 |IENTED R|EQUESTS |
|00000cc0| 46 52 4f 4d 20 41 4e 0a | 41 50 50 4c 49 43 41 54 |FROM AN.|APPLICAT|
|00000cd0| 49 4f 4e 20 50 52 4f 47 | 52 41 4d 20 49 4e 54 4f |ION PROG|RAM INTO|
|00000ce0| 20 4d 4f 52 45 20 50 52 | 49 4d 49 54 49 56 45 20 | MORE PR|IMITIVE |
|00000cf0| 52 45 51 55 45 53 54 53 | 20 54 48 41 54 20 41 20 |REQUESTS| THAT A |
|00000d00| 44 45 56 49 43 45 20 44 | 52 49 56 45 52 20 43 41 |DEVICE D|RIVER CA|
|00000d10| 4e 0a 55 4e 44 45 52 53 | 54 41 4e 44 2e 7d 0a 20 |N.UNDERS|TAND.}. |
|00000d20| 0a 54 68 65 20 48 69 67 | 68 20 50 65 72 66 6f 72 |.The Hig|h Perfor|
|00000d30| 6d 61 6e 63 65 20 46 69 | 6c 65 20 53 79 73 74 65 |mance Fi|le Syste|
|00000d40| 6d 20 28 68 65 72 65 61 | 66 74 65 72 20 48 50 46 |m (herea|fter HPF|
|00000d50| 53 29 2c 20 77 68 69 63 | 68 20 69 73 20 6d 61 6b |S), whic|h is mak|
|00000d60| 69 6e 67 20 69 74 73 20 | 66 69 72 73 74 0a 61 70 |ing its |first.ap|
|00000d70| 70 65 61 72 61 6e 63 65 | 20 69 6e 20 74 68 65 20 |pearance| in the |
|00000d80| 4f 53 2f 32 20 6f 70 65 | 72 61 74 69 6e 67 20 73 |OS/2 ope|rating s|
|00000d90| 79 73 74 65 6d 20 56 65 | 72 73 69 6f 6e 20 31 2e |ystem Ve|rsion 1.|
|00000da0| 32 2c 20 68 61 64 20 69 | 74 73 20 67 65 6e 65 73 |2, had i|ts genes|
|00000db0| 69 73 20 69 6e 20 74 68 | 65 0a 6e 65 74 77 6f 72 |is in th|e.networ|
|00000dc0| 6b 20 64 69 76 69 73 69 | 6f 6e 20 6f 66 20 4d 69 |k divisi|on of Mi|
|00000dd0| 63 72 6f 73 6f 66 74 20 | 61 6e 64 20 77 61 73 20 |crosoft |and was |
|00000de0| 64 65 73 69 67 6e 65 64 | 20 62 79 20 47 6f 72 64 |designed| by Gord|
|00000df0| 6f 6e 20 4c 65 74 77 69 | 6e 2c 20 74 68 65 20 63 |on Letwi|n, the c|
|00000e00| 68 69 65 66 0a 61 72 63 | 68 69 74 65 63 74 20 6f |hief.arc|hitect o|
|00000e10| 66 20 74 68 65 20 4f 53 | 2f 32 20 6f 70 65 72 61 |f the OS|/2 opera|
|00000e20| 74 69 6e 67 20 73 79 73 | 74 65 6d 2e 20 20 54 68 |ting sys|tem. Th|
|00000e30| 65 20 48 50 46 53 20 68 | 61 73 20 62 65 65 6e 20 |e HPFS h|as been |
|00000e40| 64 65 73 69 67 6e 65 64 | 20 74 6f 20 6d 65 65 74 |designed| to meet|
|00000e50| 0a 74 68 65 20 64 65 6d | 61 6e 64 73 20 6f 66 20 |.the dem|ands of |
|00000e60| 69 6e 63 72 65 61 73 69 | 6e 67 6c 79 20 70 6f 77 |increasi|ngly pow|
|00000e70| 65 72 66 75 6c 20 50 43 | 73 2c 20 66 69 78 65 64 |erful PC|s, fixed|
|00000e80| 20 64 69 73 6b 73 2c 20 | 61 6e 64 20 6e 65 74 77 | disks, |and netw|
|00000e90| 6f 72 6b 73 20 66 6f 72 | 20 6d 61 6e 79 0a 79 65 |orks for| many.ye|
|00000ea0| 61 72 73 20 74 6f 20 63 | 6f 6d 65 20 61 6e 64 20 |ars to c|ome and |
|00000eb0| 74 6f 20 73 65 72 76 65 | 20 61 73 20 61 20 73 75 |to serve| as a su|
|00000ec0| 69 74 61 62 6c 65 20 70 | 6c 61 74 66 6f 72 6d 20 |itable p|latform |
|00000ed0| 66 6f 72 20 6f 62 6a 65 | 63 74 2d 6f 72 69 65 6e |for obje|ct-orien|
|00000ee0| 74 65 64 0a 6c 61 6e 67 | 75 61 67 65 73 2c 20 61 |ted.lang|uages, a|
|00000ef0| 70 70 6c 69 63 61 74 69 | 6f 6e 73 2c 20 61 6e 64 |pplicati|ons, and|
|00000f00| 20 75 73 65 72 20 69 6e | 74 65 72 66 61 63 65 73 | user in|terfaces|
|00000f10| 2e 0a 20 0a 54 68 65 20 | 48 50 46 53 20 69 73 20 |.. .The |HPFS is |
|00000f20| 61 20 63 6f 6d 70 6c 65 | 78 20 74 6f 70 69 63 20 |a comple|x topic |
|00000f30| 62 65 63 61 75 73 65 20 | 69 74 20 69 6e 63 6f 72 |because |it incor|
|00000f40| 70 6f 72 61 74 65 73 20 | 74 68 72 65 65 20 64 69 |porates |three di|
|00000f50| 73 74 69 6e 63 74 20 79 | 65 74 0a 69 6e 74 65 72 |stinct y|et.inter|
|00000f60| 72 65 6c 61 74 65 64 20 | 66 69 6c 65 20 73 79 73 |related |file sys|
|00000f70| 74 65 6d 20 69 73 73 75 | 65 73 2e 20 20 46 69 72 |tem issu|es. Fir|
|00000f80| 73 74 2c 20 74 68 65 20 | 48 50 46 53 20 69 73 20 |st, the |HPFS is |
|00000f90| 61 20 77 61 79 20 6f 66 | 20 6f 72 67 61 6e 69 7a |a way of| organiz|
|00000fa0| 69 6e 67 20 64 61 74 61 | 0a 6f 6e 20 61 20 72 61 |ing data|.on a ra|
|00000fb0| 6e 64 6f 6d 20 61 63 63 | 65 73 73 20 62 6c 6f 63 |ndom acc|ess bloc|
|00000fc0| 6b 20 73 74 6f 72 61 67 | 65 20 64 65 76 69 63 65 |k storag|e device|
|00000fd0| 2e 20 53 65 63 6f 6e 64 | 2c 20 69 74 20 69 73 20 |. Second|, it is |
|00000fe0| 61 20 73 6f 66 74 77 61 | 72 65 20 6d 6f 64 75 6c |a softwa|re modul|
|00000ff0| 65 20 74 68 61 74 0a 74 | 72 61 6e 73 6c 61 74 65 |e that.t|ranslate|
|00001000| 73 20 66 69 6c 65 2d 6f | 72 69 65 6e 74 65 64 20 |s file-o|riented |
|00001010| 72 65 71 75 65 73 74 73 | 20 66 72 6f 6d 20 61 6e |requests| from an|
|00001020| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 70 72 6f | applica|tion pro|
|00001030| 67 72 61 6d 20 69 6e 74 | 6f 20 6d 6f 72 65 0a 70 |gram int|o more.p|
|00001040| 72 69 6d 69 74 69 76 65 | 20 72 65 71 75 65 73 74 |rimitive| request|
|00001050| 73 20 74 68 61 74 20 61 | 20 64 65 76 69 63 65 20 |s that a| device |
|00001060| 64 72 69 76 65 72 20 63 | 61 6e 20 75 6e 64 65 72 |driver c|an under|
|00001070| 73 74 61 6e 64 2c 20 75 | 73 69 6e 67 20 61 20 76 |stand, u|sing a v|
|00001080| 61 72 69 65 74 79 20 6f | 66 0a 63 72 65 61 74 69 |ariety o|f.creati|
|00001090| 76 65 20 74 65 63 68 6e | 69 71 75 65 73 20 74 6f |ve techn|iques to|
|000010a0| 20 6d 61 78 69 6d 69 7a | 65 20 70 65 72 66 6f 72 | maximiz|e perfor|
|000010b0| 6d 61 6e 63 65 2e 20 20 | 54 68 69 72 64 2c 20 74 |mance. |Third, t|
|000010c0| 68 65 20 48 50 46 53 20 | 69 73 20 61 20 70 72 61 |he HPFS |is a pra|
|000010d0| 63 74 69 63 61 6c 0a 69 | 6c 6c 75 73 74 72 61 74 |ctical.i|llustrat|
|000010e0| 69 6f 6e 20 6f 66 20 61 | 6e 20 69 6d 70 6f 72 74 |ion of a|n import|
|000010f0| 61 6e 74 20 6e 65 77 20 | 4f 53 2f 32 20 66 65 61 |ant new |OS/2 fea|
|00001100| 74 75 72 65 20 6b 6e 6f | 77 6e 20 61 73 20 69 6e |ture kno|wn as in|
|00001110| 73 74 61 6c 6c 61 62 6c | 65 20 66 69 6c 65 0a 73 |stallabl|e file.s|
|00001120| 79 73 74 65 6d 73 2e 0a | 20 0a 54 68 69 73 20 61 |ystems..| .This a|
|00001130| 72 74 69 63 6c 65 20 69 | 6e 74 72 6f 64 75 63 65 |rticle i|ntroduce|
|00001140| 73 20 74 68 65 20 74 68 | 72 65 65 20 61 73 70 65 |s the th|ree aspe|
|00001150| 63 74 73 20 6f 66 20 74 | 68 65 20 48 50 46 53 2e |cts of t|he HPFS.|
|00001160| 20 20 42 75 74 20 66 69 | 72 73 74 2c 20 69 74 20 | But fi|rst, it |
|00001170| 70 75 74 73 0a 74 68 65 | 20 48 50 46 53 20 69 6e |puts.the| HPFS in|
|00001180| 20 70 65 72 73 70 65 63 | 74 69 76 65 20 62 79 20 | perspec|tive by |
|00001190| 72 65 76 69 65 77 69 6e | 67 20 73 6f 6d 65 20 6f |reviewin|g some o|
|000011a0| 66 20 74 68 65 20 70 72 | 6f 62 6c 65 6d 73 20 74 |f the pr|oblems t|
|000011b0| 68 61 74 20 6c 65 64 20 | 74 6f 20 74 68 65 0a 73 |hat led |to the.s|
|000011c0| 79 73 74 65 6d 27 73 20 | 65 78 69 73 74 65 6e 63 |ystem's |existenc|
|000011d0| 65 2e 0a 20 0a 5c 73 65 | 63 74 69 6f 6e 7b 5c 68 |e.. .\se|ction{\h|
|000011e0| 65 61 64 73 20 46 41 54 | 20 46 69 6c 65 20 53 79 |eads FAT| File Sy|
|000011f0| 73 74 65 6d 7d 0a 20 0a | 54 68 65 20 73 6f 2d 63 |stem}. .|The so-c|
|00001200| 61 6c 6c 65 64 20 46 41 | 54 20 66 69 6c 65 20 73 |alled FA|T file s|
|00001210| 79 73 74 65 6d 2c 20 77 | 68 69 63 68 20 69 73 20 |ystem, w|hich is |
|00001220| 74 68 65 20 66 69 6c 65 | 20 73 79 73 74 65 6d 20 |the file| system |
|00001230| 75 73 65 64 20 69 6e 20 | 61 6c 6c 20 76 65 72 73 |used in |all vers|
|00001240| 69 6f 6e 73 0a 6f 66 20 | 74 68 65 20 4d 53 2d 44 |ions.of |the MS-D|
|00001250| 4f 53 20 6f 70 65 72 61 | 74 69 6e 67 20 73 79 73 |OS opera|ting sys|
|00001260| 74 65 6d 20 74 6f 20 64 | 61 74 65 20 61 6e 64 20 |tem to d|ate and |
|00001270| 69 6e 20 74 68 65 20 66 | 69 72 73 74 20 74 77 6f |in the f|irst two|
|00001280| 20 72 65 6c 65 61 73 65 | 73 20 6f 66 0a 4f 53 2f | release|s of.OS/|
|00001290| 32 20 28 56 65 72 73 69 | 6f 6e 73 20 31 2e 30 20 |2 (Versi|ons 1.0 |
|000012a0| 61 6e 64 20 31 2e 31 29 | 2c 20 68 61 73 20 61 20 |and 1.1)|, has a |
|000012b0| 64 75 61 6c 20 68 65 72 | 69 74 61 67 65 20 69 6e |dual her|itage in|
|000012c0| 20 4d 69 63 72 6f 73 6f | 66 74 27 73 20 65 61 72 | Microso|ft's ear|
|000012d0| 6c 69 65 73 74 0a 70 72 | 6f 67 72 61 6d 6d 69 6e |liest.pr|ogrammin|
|000012e0| 67 20 6c 61 6e 67 75 61 | 67 65 20 70 72 6f 64 75 |g langua|ge produ|
|000012f0| 63 74 73 20 61 6e 64 20 | 74 68 65 20 44 69 67 69 |cts and |the Digi|
|00001300| 74 61 6c 20 52 65 73 65 | 61 72 63 68 20 43 50 2f |tal Rese|arch CP/|
|00001310| 4d 20 6f 70 65 72 61 74 | 69 6e 67 0a 73 79 73 74 |M operat|ing.syst|
|00001320| 65 6d 20 73 6f 66 74 77 | 61 72 65 20 6f 72 69 67 |em softw|are orig|
|00001330| 69 6e 61 6c 6c 79 20 77 | 72 69 74 74 65 6e 20 66 |inally w|ritten f|
|00001340| 6f 72 20 38 30 38 30 2d | 62 61 73 65 64 20 61 6e |or 8080-|based an|
|00001350| 64 20 5a 2d 38 30 2d 62 | 61 73 65 64 0a 6d 69 63 |d Z-80-b|ased.mic|
|00001360| 72 6f 63 6f 6d 70 75 74 | 65 72 73 2e 20 20 49 74 |rocomput|ers. It|
|00001370| 20 69 6e 68 65 72 69 74 | 65 64 20 63 68 61 72 61 | inherit|ed chara|
|00001380| 63 74 65 72 69 73 74 69 | 63 73 20 66 72 6f 6d 20 |cteristi|cs from |
|00001390| 62 6f 74 68 20 61 6e 63 | 65 73 74 6f 72 73 20 74 |both anc|estors t|
|000013a0| 68 61 74 20 68 61 76 65 | 0a 70 72 6f 67 72 65 73 |hat have|.progres|
|000013b0| 73 69 76 65 6c 79 20 74 | 75 72 6e 65 64 20 69 6e |sively t|urned in|
|000013c0| 74 6f 20 68 61 6e 64 69 | 63 61 70 73 20 69 6e 20 |to handi|caps in |
|000013d0| 74 68 69 73 20 6e 65 77 | 20 65 72 61 20 6f 66 20 |this new| era of |
|000013e0| 6d 75 6c 74 69 74 61 73 | 6b 69 6e 67 2c 20 70 72 |multitas|king, pr|
|000013f0| 6f 74 65 63 74 65 64 0a | 6d 6f 64 65 2c 20 76 69 |otected.|mode, vi|
|00001400| 72 74 75 61 6c 20 6d 65 | 6d 6f 72 79 2c 20 61 6e |rtual me|mory, an|
|00001410| 64 20 68 75 67 65 20 66 | 69 78 65 64 20 64 69 73 |d huge f|ixed dis|
|00001420| 6b 73 2e 0a 20 0a 54 68 | 65 20 46 41 54 20 66 69 |ks.. .Th|e FAT fi|
|00001430| 6c 65 20 73 79 73 74 65 | 6d 20 72 65 76 6f 6c 76 |le syste|m revolv|
|00001440| 65 73 20 61 72 6f 75 6e | 64 20 74 68 65 20 46 69 |es aroun|d the Fi|
|00001450| 6c 65 20 41 6c 6c 6f 63 | 61 74 69 6f 6e 20 54 61 |le Alloc|ation Ta|
|00001460| 62 6c 65 20 66 6f 72 20 | 77 68 69 63 68 20 69 74 |ble for |which it|
|00001470| 20 69 73 0a 6e 61 6d 65 | 64 2e 20 20 45 61 63 68 | is.name|d. Each|
|00001480| 20 6c 6f 67 69 63 61 6c | 20 76 6f 6c 75 6d 65 20 | logical| volume |
|00001490| 68 61 73 20 69 74 73 20 | 6f 77 6e 20 46 41 54 2c |has its |own FAT,|
|000014a0| 20 77 68 69 63 68 20 73 | 65 72 76 65 73 20 74 77 | which s|erves tw|
|000014b0| 6f 20 69 6d 70 6f 72 74 | 61 6e 74 0a 66 75 6e 63 |o import|ant.func|
|000014c0| 74 69 6f 6e 73 3a 20 69 | 74 20 63 6f 6e 74 61 69 |tions: i|t contai|
|000014d0| 6e 73 20 74 68 65 20 61 | 6c 6c 6f 63 61 74 69 6f |ns the a|llocatio|
|000014e0| 6e 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 66 6f |n inform|ation fo|
|000014f0| 72 20 65 61 63 68 20 66 | 69 6c 65 20 6f 6e 20 74 |r each f|ile on t|
|00001500| 68 65 20 76 6f 6c 75 6d | 65 0a 69 6e 20 74 68 65 |he volum|e.in the|
|00001510| 20 66 6f 72 6d 20 6f 66 | 20 6c 69 6e 6b 65 64 20 | form of| linked |
|00001520| 6c 69 73 74 73 20 6f 66 | 20 61 6c 6c 6f 63 61 74 |lists of| allocat|
|00001530| 69 6f 6e 20 75 6e 69 74 | 73 20 28 63 6c 75 73 74 |ion unit|s (clust|
|00001540| 65 72 73 2c 20 77 68 69 | 63 68 20 61 72 65 0a 70 |ers, whi|ch are.p|
|00001550| 6f 77 65 72 2d 6f 66 2d | 32 20 6d 75 6c 74 69 70 |ower-of-|2 multip|
|00001560| 6c 65 73 20 6f 66 20 73 | 65 63 74 6f 72 73 29 20 |les of s|ectors) |
|00001570| 61 6e 64 20 69 74 20 69 | 6e 64 69 63 61 74 65 73 |and it i|ndicates|
|00001580| 20 77 68 69 63 68 20 61 | 6c 6c 6f 63 61 74 69 6f | which a|llocatio|
|00001590| 6e 20 75 6e 69 74 73 20 | 61 72 65 0a 66 72 65 65 |n units |are.free|
|000015a0| 20 66 6f 72 20 61 73 73 | 69 67 6e 6d 65 6e 74 20 | for ass|ignment |
|000015b0| 74 6f 20 61 20 66 69 6c | 65 20 74 68 61 74 20 69 |to a fil|e that i|
|000015c0| 73 20 62 65 69 6e 67 20 | 63 72 65 61 74 65 64 20 |s being |created |
|000015d0| 6f 72 20 65 78 74 65 6e | 64 65 64 2e 0a 20 0a 54 |or exten|ded.. .T|
|000015e0| 68 65 20 46 41 54 20 77 | 61 73 20 69 6e 76 65 6e |he FAT w|as inven|
|000015f0| 74 65 64 20 62 79 20 42 | 69 6c 6c 20 47 61 74 65 |ted by B|ill Gate|
|00001600| 73 20 61 6e 64 20 4d 61 | 72 63 20 4d 63 44 6f 6e |s and Ma|rc McDon|
|00001610| 61 6c 64 20 69 6e 20 31 | 39 37 37 20 61 73 20 61 |ald in 1|977 as a|
|00001620| 20 6d 65 74 68 6f 64 20 | 6f 66 0a 6d 61 6e 61 67 | method |of.manag|
|00001630| 69 6e 67 20 64 69 73 6b | 20 73 70 61 63 65 20 69 |ing disk| space i|
|00001640| 6e 20 74 68 65 20 4e 43 | 52 20 76 65 72 73 69 6f |n the NC|R versio|
|00001650| 6e 20 6f 66 20 73 74 61 | 6e 64 61 6c 6f 6e 65 20 |n of sta|ndalone |
|00001660| 4d 69 63 72 6f 73 6f 66 | 74 20 44 69 73 6b 20 42 |Microsof|t Disk B|
|00001670| 41 53 49 43 2e 0a 54 69 | 6d 20 50 61 74 65 72 73 |ASIC..Ti|m Paters|
|00001680| 6f 6e 2c 20 61 74 20 74 | 68 61 74 20 74 69 6d 65 |on, at t|hat time|
|00001690| 20 61 6e 20 65 6d 70 6c | 6f 79 65 65 20 6f 66 20 | an empl|oyee of |
|000016a0| 53 65 61 74 74 6c 65 20 | 43 6f 6d 70 75 74 65 72 |Seattle |Computer|
|000016b0| 20 50 72 6f 64 75 63 74 | 73 0a 28 53 43 50 29 2c | Product|s.(SCP),|
|000016c0| 20 77 61 73 20 69 6e 74 | 72 6f 64 75 63 65 64 20 | was int|roduced |
|000016d0| 74 6f 20 74 68 65 20 46 | 41 54 20 63 6f 6e 63 65 |to the F|AT conce|
|000016e0| 70 74 20 77 68 65 6e 20 | 68 69 73 20 63 6f 6d 70 |pt when |his comp|
|000016f0| 61 6e 79 20 73 68 61 72 | 65 64 20 61 20 62 6f 6f |any shar|ed a boo|
|00001700| 74 68 20 77 69 74 68 0a | 4d 69 63 72 6f 73 6f 66 |th with.|Microsof|
|00001710| 74 20 61 74 20 74 68 65 | 20 4e 61 74 69 6f 6e 61 |t at the| Nationa|
|00001720| 6c 20 43 6f 6d 70 75 74 | 65 72 20 43 6f 6e 66 65 |l Comput|er Confe|
|00001730| 72 65 6e 63 65 20 69 6e | 20 31 39 37 39 2e 20 20 |rence in| 1979. |
|00001740| 50 61 74 65 72 73 6f 6e | 20 73 75 62 73 65 71 75 |Paterson| subsequ|
|00001750| 65 6e 74 6c 79 0a 69 6e | 63 6f 72 70 6f 72 61 74 |ently.in|corporat|
|00001760| 65 64 20 46 41 54 73 20 | 69 6e 74 6f 20 74 68 65 |ed FATs |into the|
|00001770| 20 66 69 6c 65 20 73 79 | 73 74 65 6d 20 6f 66 20 | file sy|stem of |
|00001780| 38 36 2d 44 4f 53 2c 20 | 61 6e 20 6f 70 65 72 61 |86-DOS, |an opera|
|00001790| 74 69 6e 67 20 73 79 73 | 74 65 6d 20 66 6f 72 0a |ting sys|tem for.|
|000017a0| 53 43 50 27 73 20 53 2d | 31 30 30 20 62 75 73 20 |SCP's S-|100 bus |
|000017b0| 38 30 38 36 20 43 50 55 | 20 62 6f 61 72 64 73 2e |8086 CPU| boards.|
|000017c0| 20 20 38 36 2d 44 4f 53 | 20 77 61 73 20 65 76 65 | 86-DOS| was eve|
|000017d0| 6e 74 75 61 6c 6c 79 20 | 70 75 72 63 68 61 73 65 |ntually |purchase|
|000017e0| 64 20 62 79 0a 4d 69 63 | 72 6f 73 6f 66 74 20 61 |d by.Mic|rosoft a|
|000017f0| 6e 64 20 62 65 63 61 6d | 65 20 74 68 65 20 73 74 |nd becam|e the st|
|00001800| 61 72 74 69 6e 67 20 70 | 6f 69 6e 74 20 66 6f 72 |arting p|oint for|
|00001810| 20 4d 53 2d 44 4f 53 20 | 56 65 72 73 69 6f 6e 20 | MS-DOS |Version |
|00001820| 31 2e 30 2c 20 77 68 69 | 63 68 20 77 61 73 0a 72 |1.0, whi|ch was.r|
|00001830| 65 6c 65 61 73 65 64 20 | 66 6f 72 20 74 68 65 20 |eleased |for the |
|00001840| 6f 72 69 67 69 6e 61 6c | 20 49 42 4d 20 50 43 20 |original| IBM PC |
|00001850| 69 6e 20 41 75 67 75 73 | 74 20 31 39 38 31 2e 0a |in Augus|t 1981..|
|00001860| 20 0a 57 68 65 6e 20 74 | 68 65 20 46 41 54 20 77 | .When t|he FAT w|
|00001870| 61 73 20 63 6f 6e 63 65 | 69 76 65 64 2c 20 69 74 |as conce|ived, it|
|00001880| 20 77 61 73 20 61 6e 20 | 65 78 63 65 6c 6c 65 6e | was an |excellen|
|00001890| 74 20 73 6f 6c 75 74 69 | 6f 6e 20 74 6f 20 64 69 |t soluti|on to di|
|000018a0| 73 6b 20 6d 61 6e 61 67 | 65 6d 65 6e 74 2c 0a 6d |sk manag|ement,.m|
|000018b0| 61 69 6e 6c 79 20 62 65 | 63 61 75 73 65 20 74 68 |ainly be|cause th|
|000018c0| 65 20 66 6c 6f 70 70 79 | 20 64 69 73 6b 73 20 6f |e floppy| disks o|
|000018d0| 6e 20 77 68 69 63 68 20 | 69 74 20 77 61 73 20 75 |n which |it was u|
|000018e0| 73 65 64 20 77 65 72 65 | 20 72 61 72 65 6c 79 20 |sed were| rarely |
|000018f0| 6c 61 72 67 65 72 20 74 | 68 61 6e 0a 31 20 4d 62 |larger t|han.1 Mb|
|00001900| 2e 20 20 4f 6e 20 73 75 | 63 68 20 64 69 73 6b 73 |. On su|ch disks|
|00001910| 2c 20 74 68 65 20 46 41 | 54 20 77 61 73 20 73 6d |, the FA|T was sm|
|00001920| 61 6c 6c 20 65 6e 6f 75 | 67 68 20 74 6f 20 62 65 |all enou|gh to be|
|00001930| 20 68 65 6c 64 20 69 6e | 20 6d 65 6d 6f 72 79 20 | held in| memory |
|00001940| 61 74 20 61 6c 6c 0a 74 | 69 6d 65 73 2c 20 61 6c |at all.t|imes, al|
|00001950| 6c 6f 77 69 6e 67 20 76 | 65 72 79 20 66 61 73 74 |lowing v|ery fast|
|00001960| 20 72 61 6e 64 6f 6d 20 | 61 63 63 65 73 73 20 74 | random |access t|
|00001970| 6f 20 61 6e 79 20 70 61 | 72 74 20 6f 66 20 61 6e |o any pa|rt of an|
|00001980| 79 20 66 69 6c 65 2e 20 | 20 54 68 69 73 20 70 72 |y file. | This pr|
|00001990| 6f 76 65 64 0a 66 61 72 | 20 73 75 70 65 72 69 6f |oved.far| superio|
|000019a0| 72 20 74 6f 20 74 68 65 | 20 43 50 2f 4d 20 6d 65 |r to the| CP/M me|
|000019b0| 74 68 6f 64 20 6f 66 20 | 74 72 61 63 6b 69 6e 67 |thod of |tracking|
|000019c0| 20 64 69 73 6b 20 73 70 | 61 63 65 2c 20 69 6e 20 | disk sp|ace, in |
|000019d0| 77 68 69 63 68 20 74 68 | 65 0a 69 6e 66 6f 72 6d |which th|e.inform|
|000019e0| 61 74 69 6f 6e 20 61 62 | 6f 75 74 20 74 68 65 20 |ation ab|out the |
|000019f0| 73 65 63 74 6f 72 73 20 | 61 73 73 69 67 6e 65 64 |sectors |assigned|
|00001a00| 20 74 6f 20 61 20 66 69 | 6c 65 20 6d 69 67 68 74 | to a fi|le might|
|00001a10| 20 62 65 20 73 70 72 65 | 61 64 20 61 63 72 6f 73 | be spre|ad acros|
|00001a20| 73 20 6d 61 6e 79 0a 64 | 69 72 65 63 74 6f 72 79 |s many.d|irectory|
|00001a30| 20 65 6e 74 72 69 65 73 | 2c 20 77 68 69 63 68 20 | entries|, which |
|00001a40| 77 65 72 65 20 69 6e 20 | 74 75 72 6e 20 73 63 61 |were in |turn sca|
|00001a50| 74 74 65 72 65 64 20 72 | 61 6e 64 6f 6d 6c 79 20 |ttered r|andomly |
|00001a60| 74 68 72 6f 75 67 68 6f | 75 74 20 74 68 65 20 64 |througho|ut the d|
|00001a70| 69 73 6b 0a 64 69 72 65 | 63 74 6f 72 79 2e 0a 20 |isk.dire|ctory.. |
|00001a80| 0a 57 68 65 6e 20 61 70 | 70 6c 69 65 64 20 74 6f |.When ap|plied to|
|00001a90| 20 66 69 78 65 64 20 64 | 69 73 6b 73 2c 20 68 6f | fixed d|isks, ho|
|00001aa0| 77 65 76 65 72 2c 20 74 | 68 65 20 46 41 54 20 62 |wever, t|he FAT b|
|00001ab0| 65 67 61 6e 20 74 6f 20 | 6c 6f 6f 6b 20 6d 6f 72 |egan to |look mor|
|00001ac0| 65 20 6c 69 6b 65 20 61 | 20 62 75 67 0a 74 68 61 |e like a| bug.tha|
|00001ad0| 6e 20 61 20 66 65 61 74 | 75 72 65 2e 20 20 49 74 |n a feat|ure. It|
|00001ae0| 20 62 65 63 61 6d 65 20 | 74 6f 6f 20 6c 61 72 67 | became |too larg|
|00001af0| 65 20 74 6f 20 62 65 20 | 68 65 6c 64 20 65 6e 74 |e to be |held ent|
|00001b00| 69 72 65 6c 79 20 72 65 | 73 69 64 65 6e 74 20 61 |irely re|sident a|
|00001b10| 6e 64 20 68 61 64 20 74 | 6f 0a 62 65 20 70 61 67 |nd had t|o.be pag|
|00001b20| 65 64 20 69 6e 74 6f 20 | 6d 65 6d 6f 72 79 20 69 |ed into |memory i|
|00001b30| 6e 20 70 69 65 63 65 73 | 3b 20 74 68 69 73 20 70 |n pieces|; this p|
|00001b40| 61 67 69 6e 67 20 72 65 | 73 75 6c 74 65 64 20 69 |aging re|sulted i|
|00001b50| 6e 20 6d 61 6e 79 20 73 | 75 70 65 72 66 6c 75 6f |n many s|uperfluo|
|00001b60| 75 73 20 64 69 73 6b 0a | 68 65 61 64 20 6d 6f 76 |us disk.|head mov|
|00001b70| 65 6d 65 6e 74 73 20 61 | 73 20 61 20 70 72 6f 67 |ements a|s a prog|
|00001b80| 72 61 6d 20 77 61 73 20 | 72 65 61 64 69 6e 67 20 |ram was |reading |
|00001b90| 74 68 72 6f 75 67 68 20 | 61 20 66 69 6c 65 20 61 |through |a file a|
|00001ba0| 6e 64 20 64 65 67 72 61 | 64 65 64 20 73 79 73 74 |nd degra|ded syst|
|00001bb0| 65 6d 0a 74 68 72 6f 75 | 67 68 70 75 74 2e 20 20 |em.throu|ghput. |
|00001bc0| 49 6e 20 61 64 64 69 74 | 69 6f 6e 2c 20 62 65 63 |In addit|ion, bec|
|00001bd0| 61 75 73 65 20 74 68 65 | 20 69 6e 66 6f 72 6d 61 |ause the| informa|
|00001be0| 74 69 6f 6e 20 61 62 6f | 75 74 20 66 72 65 65 20 |tion abo|ut free |
|00001bf0| 64 69 73 6b 20 73 70 61 | 63 65 20 77 61 73 0a 64 |disk spa|ce was.d|
|00001c00| 69 73 70 65 72 73 65 64 | 20 61 63 72 6f 73 73 20 |ispersed| across |
|00001c10| 6d 61 6e 79 20 73 65 63 | 74 6f 72 73 20 6f 66 20 |many sec|tors of |
|00001c20| 46 41 54 2c 20 69 74 20 | 77 61 73 20 69 6d 70 72 |FAT, it |was impr|
|00001c30| 61 63 74 69 63 61 6c 20 | 74 6f 20 61 6c 6c 6f 63 |actical |to alloc|
|00001c40| 61 74 65 20 66 69 6c 65 | 0a 73 70 61 63 65 20 63 |ate file|.space c|
|00001c50| 6f 6e 74 69 67 75 6f 75 | 73 6c 79 2c 20 61 6e 64 |ontiguou|sly, and|
|00001c60| 20 66 69 6c 65 20 66 72 | 61 67 6d 65 6e 74 61 74 | file fr|agmentat|
|00001c70| 69 6f 6e 20 62 65 63 61 | 6d 65 20 61 6e 6f 74 68 |ion beca|me anoth|
|00001c80| 65 72 20 6f 62 73 74 61 | 63 6c 65 20 74 6f 20 67 |er obsta|cle to g|
|00001c90| 6f 6f 64 0a 70 65 72 66 | 6f 72 6d 61 6e 63 65 2e |ood.perf|ormance.|
|00001ca0| 20 20 4d 6f 72 65 6f 76 | 65 72 2c 20 74 68 65 20 | Moreov|er, the |
|00001cb0| 75 73 65 20 6f 66 20 72 | 65 6c 61 74 69 76 65 6c |use of r|elativel|
|00001cc0| 79 20 6c 61 72 67 65 20 | 63 6c 75 73 74 65 72 73 |y large |clusters|
|00001cd0| 20 6f 6e 20 66 69 78 65 | 64 20 64 69 73 6b 73 0a | on fixe|d disks.|
|00001ce0| 72 65 73 75 6c 74 65 64 | 20 69 6e 20 61 20 6c 6f |resulted| in a lo|
|00001cf0| 74 20 6f 66 20 64 65 61 | 64 20 73 70 61 63 65 2c |t of dea|d space,|
|00001d00| 20 73 69 6e 63 65 20 61 | 6e 20 61 76 65 72 61 67 | since a|n averag|
|00001d10| 65 20 6f 66 20 6f 6e 65 | 2d 68 61 6c 66 20 63 6c |e of one|-half cl|
|00001d20| 75 73 74 65 72 20 77 61 | 73 0a 77 61 73 74 65 64 |uster wa|s.wasted|
|00001d30| 20 66 6f 72 20 65 61 63 | 68 20 66 69 6c 65 2e 20 | for eac|h file. |
|00001d40| 20 28 53 6f 6d 65 20 6e | 65 74 77 6f 72 6b 20 73 | (Some n|etwork s|
|00001d50| 65 72 76 65 72 73 20 75 | 73 65 20 63 6c 75 73 74 |ervers u|se clust|
|00001d60| 65 72 73 20 61 73 20 6c | 61 72 67 65 20 61 73 20 |ers as l|arge as |
|00001d70| 36 34 4b 62 2e 29 0a 20 | 0a 54 68 65 20 46 41 54 |64Kb.). |.The FAT|
|00001d80| 20 66 69 6c 65 20 73 79 | 73 74 65 6d 27 73 20 72 | file sy|stem's r|
|00001d90| 65 73 74 72 69 63 74 69 | 6f 6e 73 20 6f 6e 20 6e |estricti|ons on n|
|00001da0| 61 6d 69 6e 67 20 66 69 | 6c 65 73 20 61 6e 64 20 |aming fi|les and |
|00001db0| 64 69 72 65 63 74 6f 72 | 69 65 73 20 61 72 65 0a |director|ies are.|
|00001dc0| 69 6e 68 65 72 69 74 65 | 64 20 66 72 6f 6d 20 43 |inherite|d from C|
|00001dd0| 50 2f 4d 2e 20 57 68 65 | 6e 20 50 61 74 65 72 73 |P/M. Whe|n Paters|
|00001de0| 6f 6e 20 77 61 73 20 77 | 72 69 74 69 6e 67 20 38 |on was w|riting 8|
|00001df0| 36 2d 44 4f 53 2c 20 6f | 6e 65 20 6f 66 20 68 69 |6-DOS, o|ne of hi|
|00001e00| 73 20 70 72 69 6d 61 72 | 79 0a 6f 62 6a 65 63 74 |s primar|y.object|
|00001e10| 69 76 65 73 20 77 61 73 | 20 74 6f 20 6d 61 6b 65 |ives was| to make|
|00001e20| 20 70 72 6f 67 72 61 6d | 73 20 65 61 73 79 20 74 | program|s easy t|
|00001e30| 6f 20 70 6f 72 74 20 66 | 72 6f 6d 20 43 50 2f 4d |o port f|rom CP/M|
|00001e40| 20 74 6f 20 68 69 73 20 | 6e 65 77 20 6f 70 65 72 | to his |new oper|
|00001e50| 61 74 69 6e 67 0a 73 79 | 73 74 65 6d 2e 20 20 48 |ating.sy|stem. H|
|00001e60| 65 20 74 68 65 72 65 66 | 6f 72 65 20 61 64 6f 70 |e theref|ore adop|
|00001e70| 74 65 64 20 43 50 2f 4d | 27 73 20 6c 69 6d 69 74 |ted CP/M|'s limit|
|00001e80| 73 20 6f 6e 20 66 69 6c | 65 6e 61 6d 65 73 20 61 |s on fil|enames a|
|00001e90| 6e 64 20 65 78 74 65 6e | 73 69 6f 6e 73 20 73 6f |nd exten|sions so|
|00001ea0| 0a 74 68 65 20 63 72 69 | 74 69 63 61 6c 20 66 69 |.the cri|tical fi|
|00001eb0| 65 6c 64 73 20 6f 66 20 | 38 36 2d 44 4f 53 20 46 |elds of |86-DOS F|
|00001ec0| 69 6c 65 20 43 6f 6e 74 | 72 6f 6c 20 42 6c 6f 63 |ile Cont|rol Bloc|
|00001ed0| 6b 73 20 28 46 43 42 73 | 29 20 77 6f 75 6c 64 20 |ks (FCBs|) would |
|00001ee0| 6c 6f 6f 6b 20 61 6c 6d | 6f 73 74 0a 65 78 61 63 |look alm|ost.exac|
|00001ef0| 74 6c 79 20 6c 69 6b 65 | 20 74 68 6f 73 65 20 6f |tly like| those o|
|00001f00| 66 20 43 50 2f 4d 2e 20 | 20 54 68 65 20 73 69 7a |f CP/M. | The siz|
|00001f10| 65 73 20 6f 66 20 74 68 | 65 20 46 43 42 20 66 69 |es of th|e FCB fi|
|00001f20| 6c 65 6e 61 6d 65 20 61 | 6e 64 20 65 78 74 65 6e |lename a|nd exten|
|00001f30| 73 69 6f 6e 0a 66 69 65 | 6c 64 73 20 77 65 72 65 |sion.fie|lds were|
|00001f40| 20 61 6c 73 6f 20 70 72 | 6f 70 61 67 61 74 65 64 | also pr|opagated|
|00001f50| 20 69 6e 74 6f 20 74 68 | 65 20 73 74 72 75 63 74 | into th|e struct|
|00001f60| 75 72 65 20 6f 66 20 64 | 69 73 6b 20 64 69 72 65 |ure of d|isk dire|
|00001f70| 63 74 6f 72 79 20 65 6e | 74 72 69 65 73 2e 20 49 |ctory en|tries. I|
|00001f80| 6e 0a 64 75 65 20 74 69 | 6d 65 2c 20 38 36 2d 44 |n.due ti|me, 86-D|
|00001f90| 4f 53 20 62 65 63 61 6d | 65 20 4d 53 2d 44 4f 53 |OS becam|e MS-DOS|
|00001fa0| 20 61 6e 64 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | and app|lication|
|00001fb0| 20 70 72 6f 67 72 61 6d | 73 20 66 6f 72 20 4d 53 | program|s for MS|
|00001fc0| 2d 44 4f 53 0a 70 72 6f | 6c 69 66 65 72 61 74 65 |-DOS.pro|liferate|
|00001fd0| 64 20 62 65 79 6f 6e 64 | 20 61 6e 79 6f 6e 65 27 |d beyond| anyone'|
|00001fe0| 73 20 77 69 6c 64 65 73 | 74 20 64 72 65 61 6d 73 |s wildes|t dreams|
|00001ff0| 2e 20 20 53 69 6e 63 65 | 20 6d 6f 73 74 20 6f 66 |. Since| most of|
|00002000| 20 74 68 65 20 65 61 72 | 6c 79 0a 70 72 6f 67 72 | the ear|ly.progr|
|00002010| 61 6d 73 20 64 65 70 65 | 6e 64 65 64 20 6f 6e 20 |ams depe|nded on |
|00002020| 74 68 65 20 73 74 72 75 | 63 74 75 72 65 20 6f 66 |the stru|cture of|
|00002030| 20 46 43 42 73 2c 20 74 | 68 65 20 38 2e 33 20 66 | FCBs, t|he 8.3 f|
|00002040| 6f 72 6d 61 74 20 66 6f | 72 20 66 69 6c 65 6e 61 |ormat fo|r filena|
|00002050| 6d 65 73 0a 62 65 63 61 | 6d 65 20 69 72 72 65 76 |mes.beca|me irrev|
|00002060| 6f 63 61 62 6c 79 20 6c | 6f 63 6b 65 64 20 69 6e |ocably l|ocked in|
|00002070| 74 6f 20 74 68 65 20 73 | 79 73 74 65 6d 2e 0a 20 |to the s|ystem.. |
|00002080| 0a 44 75 72 69 6e 67 20 | 74 68 65 20 6c 61 73 74 |.During |the last|
|00002090| 20 63 6f 75 70 6c 65 20 | 6f 66 20 79 65 61 72 73 | couple |of years|
|000020a0| 2c 20 4d 69 63 72 6f 73 | 6f 66 74 20 61 6e 64 20 |, Micros|oft and |
|000020b0| 49 42 4d 20 68 61 76 65 | 20 6d 61 64 65 20 76 61 |IBM have| made va|
|000020c0| 6c 69 61 6e 74 20 61 74 | 74 65 6d 70 74 73 0a 74 |liant at|tempts.t|
|000020d0| 6f 20 70 72 6f 6c 6f 6e | 67 20 74 68 65 20 75 73 |o prolon|g the us|
|000020e0| 65 66 75 6c 20 6c 69 66 | 65 20 6f 66 20 74 68 65 |eful lif|e of the|
|000020f0| 20 46 41 54 20 66 69 6c | 65 20 73 79 73 74 65 6d | FAT fil|e system|
|00002100| 20 62 79 20 6c 69 66 74 | 69 6e 67 20 74 68 65 20 | by lift|ing the |
|00002110| 72 65 73 74 72 69 63 74 | 69 6f 6e 73 0a 6f 6e 20 |restrict|ions.on |
|00002120| 76 6f 6c 75 6d 65 20 73 | 69 7a 65 73 2c 20 69 6d |volume s|izes, im|
|00002130| 70 72 6f 76 69 6e 67 20 | 61 6c 6c 6f 63 61 74 69 |proving |allocati|
|00002140| 6f 6e 20 73 74 72 61 74 | 65 67 69 65 73 2c 20 63 |on strat|egies, c|
|00002150| 61 63 68 69 6e 67 20 70 | 61 74 68 6e 61 6d 65 73 |aching p|athnames|
|00002160| 2c 20 61 6e 64 0a 6d 6f | 76 69 6e 67 20 74 61 62 |, and.mo|ving tab|
|00002170| 6c 65 73 20 61 6e 64 20 | 62 75 66 66 65 72 73 20 |les and |buffers |
|00002180| 69 6e 74 6f 20 65 78 70 | 61 6e 64 65 64 20 6d 65 |into exp|anded me|
|00002190| 6d 6f 72 79 2e 20 20 42 | 75 74 20 74 68 65 73 65 |mory. B|ut these|
|000021a0| 20 63 61 6e 20 6f 6e 6c | 79 20 62 65 0a 72 65 67 | can onl|y be.reg|
|000021b0| 61 72 64 65 64 20 61 73 | 20 74 65 6d 70 6f 72 69 |arded as| tempori|
|000021c0| 7a 69 6e 67 20 6d 65 61 | 73 75 72 65 73 2c 20 62 |zing mea|sures, b|
|000021d0| 65 63 61 75 73 65 20 74 | 68 65 20 66 75 6e 64 61 |ecause t|he funda|
|000021e0| 6d 65 6e 74 61 6c 20 64 | 61 74 61 20 73 74 72 75 |mental d|ata stru|
|000021f0| 63 74 75 72 65 73 0a 75 | 73 65 64 20 62 79 20 74 |ctures.u|sed by t|
|00002200| 68 65 20 46 41 54 20 66 | 69 6c 65 20 73 79 73 74 |he FAT f|ile syst|
|00002210| 65 6d 20 61 72 65 20 73 | 69 6d 70 6c 79 20 6e 6f |em are s|imply no|
|00002220| 74 20 77 65 6c 6c 20 73 | 75 69 74 65 64 20 74 6f |t well s|uited to|
|00002230| 20 6c 61 72 67 65 20 72 | 61 6e 64 6f 6d 20 61 63 | large r|andom ac|
|00002240| 63 65 73 73 0a 64 65 76 | 69 63 65 73 2e 0a 20 0a |cess.dev|ices.. .|
|00002250| 54 68 65 20 48 50 46 53 | 20 73 6f 6c 76 65 73 20 |The HPFS| solves |
|00002260| 74 68 65 20 46 41 54 20 | 66 69 6c 65 20 73 79 73 |the FAT |file sys|
|00002270| 74 65 6d 20 70 72 6f 62 | 6c 65 6d 73 20 6d 65 6e |tem prob|lems men|
|00002280| 74 69 6f 6e 65 64 20 68 | 65 72 65 20 61 6e 64 20 |tioned h|ere and |
|00002290| 6d 61 6e 79 20 6f 74 68 | 65 72 73 2c 0a 62 75 74 |many oth|ers,.but|
|000022a0| 20 69 74 20 69 73 20 6e | 6f 74 20 64 65 72 69 76 | it is n|ot deriv|
|000022b0| 65 64 20 69 6e 20 61 6e | 79 20 77 61 79 20 66 72 |ed in an|y way fr|
|000022c0| 6f 6d 20 74 68 65 20 46 | 41 54 20 66 69 6c 65 20 |om the F|AT file |
|000022d0| 73 79 73 74 65 6d 2e 20 | 20 54 68 65 20 61 72 63 |system. | The arc|
|000022e0| 68 69 74 65 63 74 20 6f | 66 0a 74 68 65 20 48 50 |hitect o|f.the HP|
|000022f0| 46 53 20 73 74 61 72 74 | 65 64 20 77 69 74 68 20 |FS start|ed with |
|00002300| 61 20 63 6c 65 61 6e 20 | 73 68 65 65 74 20 6f 66 |a clean |sheet of|
|00002310| 20 70 61 70 65 72 20 61 | 6e 64 20 64 65 73 69 67 | paper a|nd desig|
|00002320| 6e 65 64 20 61 20 66 69 | 6c 65 20 73 79 73 74 65 |ned a fi|le syste|
|00002330| 6d 20 74 68 61 74 0a 63 | 61 6e 20 74 61 6b 65 20 |m that.c|an take |
|00002340| 66 75 6c 6c 20 61 64 76 | 61 6e 74 61 67 65 20 6f |full adv|antage o|
|00002350| 66 20 61 20 6d 75 6c 74 | 69 74 61 73 6b 69 6e 67 |f a mult|itasking|
|00002360| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 2c 20 61 6e | environ|ment, an|
|00002370| 64 20 74 68 61 74 20 77 | 69 6c 6c 20 62 65 20 61 |d that w|ill be a|
|00002380| 62 6c 65 0a 74 6f 20 63 | 6f 70 65 20 77 69 74 68 |ble.to c|ope with|
|00002390| 20 61 6e 79 20 73 6f 72 | 74 20 6f 66 20 64 69 73 | any sor|t of dis|
|000023a0| 6b 20 64 65 76 69 63 65 | 20 6c 69 6b 65 6c 79 20 |k device| likely |
|000023b0| 74 6f 20 61 72 72 69 76 | 65 20 6f 6e 20 6d 69 63 |to arriv|e on mic|
|000023c0| 72 6f 63 6f 6d 70 75 74 | 65 72 73 0a 64 75 72 69 |rocomput|ers.duri|
|000023d0| 6e 67 20 74 68 65 20 6e | 65 78 74 20 64 65 63 61 |ng the n|ext deca|
|000023e0| 64 65 2e 0a 20 0a 5c 73 | 65 63 74 69 6f 6e 7b 5c |de.. .\s|ection{\|
|000023f0| 68 65 61 64 73 20 48 50 | 46 53 20 56 6f 6c 75 6d |heads HP|FS Volum|
|00002400| 65 20 53 74 72 75 63 74 | 75 72 65 7d 0a 20 0a 48 |e Struct|ure}. .H|
|00002410| 50 46 53 20 76 6f 6c 75 | 6d 65 73 20 61 72 65 20 |PFS volu|mes are |
|00002420| 61 20 6e 65 77 20 70 61 | 72 74 69 74 69 6f 6e 20 |a new pa|rtition |
|00002430| 74 79 70 65 2d 2d 2d 74 | 79 70 65 20 37 2d 2d 2d |type---t|ype 7---|
|00002440| 61 6e 64 20 63 61 6e 20 | 65 78 69 73 74 20 6f 6e |and can |exist on|
|00002450| 20 61 20 66 69 78 65 64 | 20 64 69 73 6b 0a 61 6c | a fixed| disk.al|
|00002460| 6f 6e 67 73 69 64 65 20 | 6f 66 20 74 68 65 20 73 |ongside |of the s|
|00002470| 65 76 65 72 61 6c 20 70 | 72 65 76 69 6f 75 73 6c |everal p|reviousl|
|00002480| 79 20 64 65 66 69 6e 65 | 64 20 46 41 54 20 70 61 |y define|d FAT pa|
|00002490| 72 74 69 74 69 6f 6e 20 | 74 79 70 65 73 2e 0a 49 |rtition |types..I|
|000024a0| 42 4d 2d 63 6f 6d 70 61 | 74 69 62 6c 65 20 48 50 |BM-compa|tible HP|
|000024b0| 46 53 20 76 6f 6c 75 6d | 65 73 20 75 73 65 20 61 |FS volum|es use a|
|000024c0| 20 73 65 63 74 6f 72 20 | 73 69 7a 65 20 6f 66 20 | sector |size of |
|000024d0| 35 31 32 20 62 79 74 65 | 73 20 61 6e 64 20 68 61 |512 byte|s and ha|
|000024e0| 76 65 20 61 20 6d 61 78 | 69 6d 75 6d 0a 73 69 7a |ve a max|imum.siz|
|000024f0| 65 20 6f 66 20 32 31 39 | 39 47 62 20 28 24 32 5e |e of 219|9Gb ($2^|
|00002500| 7b 32 31 7d 24 20 73 65 | 63 74 6f 72 73 29 2e 20 |{21}$ se|ctors). |
|00002510| 20 41 6c 74 68 6f 75 67 | 68 20 74 68 65 72 65 20 | Althoug|h there |
|00002520| 69 73 20 6e 6f 20 70 61 | 72 74 69 63 75 6c 61 72 |is no pa|rticular|
|00002530| 20 72 65 61 73 6f 6e 20 | 77 68 79 0a 66 6c 6f 70 | reason |why.flop|
|00002540| 70 79 20 64 69 73 6b 73 | 20 63 61 6e 27 74 20 62 |py disks| can't b|
|00002550| 65 20 66 6f 72 6d 61 74 | 74 65 64 20 61 73 20 48 |e format|ted as H|
|00002560| 50 46 53 20 76 6f 6c 75 | 6d 65 73 2c 20 4d 69 63 |PFS volu|mes, Mic|
|00002570| 72 6f 73 6f 66 74 20 70 | 6c 61 6e 73 20 74 6f 20 |rosoft p|lans to |
|00002580| 73 74 69 63 6b 0a 77 69 | 74 68 20 46 41 54 20 66 |stick.wi|th FAT f|
|00002590| 69 6c 65 20 73 79 73 74 | 65 6d 73 20 6f 6e 20 66 |ile syst|ems on f|
|000025a0| 6c 6f 70 70 79 20 64 69 | 73 6b 73 20 66 6f 72 20 |loppy di|sks for |
|000025b0| 74 68 65 20 66 6f 72 65 | 73 65 65 61 62 6c 65 20 |the fore|seeable |
|000025c0| 66 75 74 75 72 65 2e 20 | 20 28 54 68 69 73 0a 65 |future. | (This.e|
|000025d0| 6e 73 75 72 65 73 20 74 | 68 61 74 20 75 73 65 72 |nsures t|hat user|
|000025e0| 73 20 77 69 6c 6c 20 62 | 65 20 61 62 6c 65 20 74 |s will b|e able t|
|000025f0| 6f 20 74 72 61 6e 73 70 | 6f 72 74 20 66 69 6c 65 |o transp|ort file|
|00002600| 73 20 65 61 73 69 6c 79 | 20 62 65 74 77 65 65 6e |s easily| between|
|00002610| 20 4d 53 2d 44 4f 53 20 | 61 6e 64 0a 4f 53 2f 32 | MS-DOS |and.OS/2|
|00002620| 20 73 79 73 74 65 6d 73 | 2e 29 0a 20 0a 41 6e 20 | systems|.). .An |
|00002630| 48 50 46 53 20 76 6f 6c | 75 6d 65 20 68 61 73 20 |HPFS vol|ume has |
|00002640| 76 65 72 79 20 66 65 77 | 20 66 69 78 65 64 20 73 |very few| fixed s|
|00002650| 74 72 75 63 74 75 72 65 | 73 20 28 46 69 67 75 72 |tructure|s (Figur|
|00002660| 65 20 31 29 2e 20 20 53 | 65 63 74 6f 72 73 20 30 |e 1). S|ectors 0|
|00002670| 2d 31 35 20 6f 66 20 61 | 0a 76 6f 6c 75 6d 65 20 |-15 of a|.volume |
|00002680| 28 38 4b 62 29 20 61 72 | 65 20 74 68 65 20 42 6f |(8Kb) ar|e the Bo|
|00002690| 6f 74 42 6c 6f 63 6b 20 | 61 6e 64 20 63 6f 6e 74 |otBlock |and cont|
|000026a0| 61 69 6e 20 61 20 76 6f | 6c 75 6d 65 20 6e 61 6d |ain a vo|lume nam|
|000026b0| 65 2c 20 33 32 2d 62 69 | 74 20 76 6f 6c 75 6d 65 |e, 32-bi|t volume|
|000026c0| 20 49 44 2c 0a 61 6e 64 | 20 61 20 64 69 73 6b 20 | ID,.and| a disk |
|000026d0| 62 6f 6f 74 73 74 72 61 | 70 20 70 72 6f 67 72 61 |bootstra|p progra|
|000026e0| 6d 2e 20 20 54 68 65 20 | 62 6f 6f 74 73 74 72 61 |m. The |bootstra|
|000026f0| 70 20 69 73 20 72 65 6c | 61 74 69 76 65 6c 79 20 |p is rel|atively |
|00002700| 73 6f 70 68 69 73 74 69 | 63 61 74 65 64 20 28 62 |sophisti|cated (b|
|00002710| 79 0a 4d 53 2d 44 4f 53 | 20 73 74 61 6e 64 61 72 |y.MS-DOS| standar|
|00002720| 64 73 29 20 61 6e 64 20 | 63 61 6e 20 75 73 65 20 |ds) and |can use |
|00002730| 74 68 65 20 48 50 46 53 | 20 69 6e 20 61 20 72 65 |the HPFS| in a re|
|00002740| 73 74 72 69 63 74 65 64 | 20 6d 6f 64 65 20 74 6f |stricted| mode to|
|00002750| 20 6c 6f 63 61 74 65 20 | 61 6e 64 0a 72 65 61 64 | locate |and.read|
|00002760| 20 74 68 65 20 6f 70 65 | 72 61 74 69 6e 67 20 73 | the ope|rating s|
|00002770| 79 73 74 65 6d 20 66 69 | 6c 65 73 20 77 68 65 72 |ystem fi|les wher|
|00002780| 65 76 65 72 20 74 68 65 | 79 20 6d 69 67 68 74 20 |ever the|y might |
|00002790| 62 65 20 66 6f 75 6e 64 | 2e 0a 20 0a 53 65 63 74 |be found|.. .Sect|
|000027a0| 6f 72 73 20 31 36 20 61 | 6e 64 20 31 37 20 61 72 |ors 16 a|nd 17 ar|
|000027b0| 65 20 6b 6e 6f 77 6e 20 | 61 73 20 74 68 65 20 53 |e known |as the S|
|000027c0| 75 70 65 72 42 6c 6f 63 | 6b 20 61 6e 64 20 74 68 |uperBloc|k and th|
|000027d0| 65 20 53 70 61 72 65 42 | 6c 6f 63 6b 0a 72 65 73 |e SpareB|lock.res|
|000027e0| 70 65 63 74 69 76 65 6c | 79 2e 20 20 54 68 65 20 |pectivel|y. The |
|000027f0| 53 75 70 65 72 42 6c 6f | 63 6b 20 69 73 20 6f 6e |SuperBlo|ck is on|
|00002800| 6c 79 20 6d 6f 64 69 66 | 69 65 64 20 62 79 20 64 |ly modif|ied by d|
|00002810| 69 73 6b 20 6d 61 69 6e | 74 65 6e 61 6e 63 65 20 |isk main|tenance |
|00002820| 75 74 69 6c 69 74 69 65 | 73 2e 0a 49 74 20 63 6f |utilitie|s..It co|
|00002830| 6e 74 61 69 6e 73 20 70 | 6f 69 6e 74 65 72 73 20 |ntains p|ointers |
|00002840| 74 6f 20 74 68 65 20 66 | 72 65 65 20 73 70 61 63 |to the f|ree spac|
|00002850| 65 20 62 69 74 6d 61 70 | 73 2c 20 74 68 65 20 62 |e bitmap|s, the b|
|00002860| 61 64 20 62 6c 6f 63 6b | 20 6c 69 73 74 2c 20 74 |ad block| list, t|
|00002870| 68 65 0a 64 69 72 65 63 | 74 6f 72 79 20 62 6c 6f |he.direc|tory blo|
|00002880| 63 6b 20 62 61 6e 64 2c | 20 61 6e 64 20 74 68 65 |ck band,| and the|
|00002890| 20 72 6f 6f 74 20 64 69 | 72 65 63 74 6f 72 79 2e | root di|rectory.|
|000028a0| 20 20 49 74 20 61 6c 73 | 6f 20 63 6f 6e 74 61 69 | It als|o contai|
|000028b0| 6e 73 20 74 68 65 20 64 | 61 74 65 20 74 68 61 74 |ns the d|ate that|
|000028c0| 0a 74 68 65 20 76 6f 6c | 75 6d 65 20 77 61 73 20 |.the vol|ume was |
|000028d0| 6c 61 73 74 20 63 68 65 | 63 6b 65 64 20 6f 75 74 |last che|cked out|
|000028e0| 20 61 6e 64 20 72 65 70 | 61 69 72 65 64 20 77 69 | and rep|aired wi|
|000028f0| 74 68 20 43 48 4b 44 53 | 4b 2f 46 2e 20 20 54 68 |th CHKDS|K/F. Th|
|00002900| 65 20 53 70 61 72 65 42 | 6c 6f 63 6b 0a 63 6f 6e |e SpareB|lock.con|
|00002910| 74 61 69 6e 73 20 76 61 | 72 69 6f 75 73 20 66 6c |tains va|rious fl|
|00002920| 61 67 73 20 61 6e 64 20 | 70 6f 69 6e 74 65 72 73 |ags and |pointers|
|00002930| 20 74 68 61 74 20 77 69 | 6c 6c 20 62 65 20 64 69 | that wi|ll be di|
|00002940| 73 63 75 73 73 65 64 20 | 6c 61 74 65 72 3b 20 69 |scussed |later; i|
|00002950| 74 20 69 73 0a 6d 6f 64 | 69 66 69 65 64 2c 20 61 |t is.mod|ified, a|
|00002960| 6c 74 68 6f 75 67 68 20 | 69 6e 66 72 65 71 75 65 |lthough |infreque|
|00002970| 6e 74 6c 79 2c 20 61 73 | 20 74 68 65 20 73 79 73 |ntly, as| the sys|
|00002980| 74 65 6d 20 65 78 65 63 | 75 74 65 73 2e 0a 20 0a |tem exec|utes.. .|
|00002990| 54 68 65 20 72 65 6d 61 | 69 6e 64 65 72 20 6f 66 |The rema|inder of|
|000029a0| 20 74 68 65 20 64 69 73 | 6b 20 69 73 20 64 69 76 | the dis|k is div|
|000029b0| 69 64 65 64 20 69 6e 74 | 6f 20 38 4d 62 20 62 61 |ided int|o 8Mb ba|
|000029c0| 6e 64 73 2e 20 20 45 61 | 63 68 20 62 61 6e 64 20 |nds. Ea|ch band |
|000029d0| 68 61 73 20 69 74 73 20 | 6f 77 6e 0a 66 72 65 65 |has its |own.free|
|000029e0| 20 73 70 61 63 65 20 62 | 69 74 6d 61 70 20 69 6e | space b|itmap in|
|000029f0| 20 77 68 69 63 68 20 61 | 20 62 69 74 20 72 65 70 | which a| bit rep|
|00002a00| 72 65 73 65 6e 74 73 20 | 65 61 63 68 20 73 65 63 |resents |each sec|
|00002a10| 74 6f 72 2e 20 20 41 20 | 62 69 74 20 69 73 20 30 |tor. A |bit is 0|
|00002a20| 20 69 66 20 74 68 65 0a | 73 65 63 74 6f 72 20 69 | if the.|sector i|
|00002a30| 73 20 69 6e 20 75 73 65 | 20 61 6e 64 20 31 20 69 |s in use| and 1 i|
|00002a40| 66 20 74 68 65 20 73 65 | 63 74 6f 72 20 69 73 20 |f the se|ctor is |
|00002a50| 61 76 61 69 6c 61 62 6c | 65 2e 20 20 54 68 65 20 |availabl|e. The |
|00002a60| 62 69 74 6d 61 70 73 20 | 61 72 65 20 6c 6f 63 61 |bitmaps |are loca|
|00002a70| 74 65 64 0a 61 74 20 74 | 68 65 20 68 65 61 64 20 |ted.at t|he head |
|00002a80| 6f 72 20 74 61 69 6c 20 | 6f 66 20 61 20 62 61 6e |or tail |of a ban|
|00002a90| 64 20 73 6f 20 74 68 61 | 74 20 74 77 6f 20 62 69 |d so tha|t two bi|
|00002aa0| 74 6d 61 70 73 20 61 72 | 65 20 61 64 6a 61 63 65 |tmaps ar|e adjace|
|00002ab0| 6e 74 20 62 65 74 77 65 | 65 6e 0a 61 6c 74 65 72 |nt betwe|en.alter|
|00002ac0| 6e 61 74 65 20 62 61 6e | 64 73 2e 20 20 54 68 69 |nate ban|ds. Thi|
|00002ad0| 73 20 61 6c 6c 6f 77 73 | 20 74 68 65 20 6d 61 78 |s allows| the max|
|00002ae0| 69 6d 75 6d 20 63 6f 6e | 74 69 67 75 6f 75 73 20 |imum con|tiguous |
|00002af0| 66 72 65 65 20 73 70 61 | 63 65 20 74 68 61 74 20 |free spa|ce that |
|00002b00| 63 61 6e 20 62 65 0a 61 | 6c 6c 6f 63 61 74 65 64 |can be.a|llocated|
|00002b10| 20 74 6f 20 61 20 66 69 | 6c 65 20 74 6f 20 62 65 | to a fi|le to be|
|00002b20| 20 31 36 4d 62 2e 20 20 | 4f 6e 65 20 62 61 6e 64 | 16Mb. |One band|
|00002b30| 2c 20 6c 6f 63 61 74 65 | 64 20 61 74 20 6f 72 20 |, locate|d at or |
|00002b40| 74 6f 77 61 72 64 20 74 | 68 65 20 73 65 65 6b 0a |toward t|he seek.|
|00002b50| 63 65 6e 74 65 72 20 6f | 66 20 74 68 65 20 64 69 |center o|f the di|
|00002b60| 73 6b 2c 20 69 73 20 63 | 61 6c 6c 65 64 20 74 68 |sk, is c|alled th|
|00002b70| 65 20 64 69 72 65 63 74 | 6f 72 79 20 62 6c 6f 63 |e direct|ory bloc|
|00002b80| 6b 20 62 61 6e 64 20 61 | 6e 64 20 72 65 63 65 69 |k band a|nd recei|
|00002b90| 76 65 73 20 73 70 65 63 | 69 61 6c 0a 74 72 65 61 |ves spec|ial.trea|
|00002ba0| 74 6d 65 6e 74 20 28 6d | 6f 72 65 20 61 62 6f 75 |tment (m|ore abou|
|00002bb0| 74 20 74 68 69 73 20 6c | 61 74 65 72 29 2e 20 20 |t this l|ater). |
|00002bc0| 4e 6f 74 65 20 74 68 61 | 74 20 74 68 65 20 62 61 |Note tha|t the ba|
|00002bd0| 6e 64 20 73 69 7a 65 20 | 69 73 20 61 0a 63 68 61 |nd size |is a.cha|
|00002be0| 72 61 63 74 65 72 69 73 | 74 69 63 20 6f 66 20 74 |racteris|tic of t|
|00002bf0| 68 65 20 63 75 72 72 65 | 6e 74 20 69 6d 70 6c 65 |he curre|nt imple|
|00002c00| 6d 65 6e 74 61 74 69 6f | 6e 20 61 6e 64 20 6d 61 |mentatio|n and ma|
|00002c10| 79 20 62 65 20 63 68 61 | 6e 67 65 64 20 69 6e 20 |y be cha|nged in |
|00002c20| 6c 61 74 65 72 0a 76 65 | 72 73 69 6f 6e 73 20 6f |later.ve|rsions o|
|00002c30| 66 20 74 68 65 20 66 69 | 6c 65 20 73 79 73 74 65 |f the fi|le syste|
|00002c40| 6d 2e 0a 20 0a 5c 73 65 | 63 74 69 6f 6e 7b 5c 68 |m.. .\se|ction{\h|
|00002c50| 65 61 64 73 20 46 69 6c | 65 73 20 61 6e 64 20 46 |eads Fil|es and F|
|00002c60| 6e 6f 64 65 73 7d 0a 20 | 0a 45 76 65 72 79 20 66 |nodes}. |.Every f|
|00002c70| 69 6c 65 20 6f 72 20 64 | 69 72 65 63 74 6f 72 79 |ile or d|irectory|
|00002c80| 20 6f 6e 20 61 6e 20 48 | 50 46 53 20 76 6f 6c 75 | on an H|PFS volu|
|00002c90| 6d 65 20 69 73 20 61 6e | 63 68 6f 72 65 64 20 6f |me is an|chored o|
|00002ca0| 6e 20 61 20 66 75 6e 64 | 61 6d 65 6e 74 61 6c 20 |n a fund|amental |
|00002cb0| 66 69 6c 65 0a 73 79 73 | 74 65 6d 20 6f 62 6a 65 |file.sys|tem obje|
|00002cc0| 63 74 20 63 61 6c 6c 65 | 64 20 61 6e 20 46 6e 6f |ct calle|d an Fno|
|00002cd0| 64 65 20 28 70 72 6f 6e | 6f 75 6e 63 65 64 20 60 |de (pron|ounced `|
|00002ce0| 60 65 66 66 20 6e 6f 64 | 65 22 29 2e 20 20 45 61 |`eff nod|e"). Ea|
|00002cf0| 63 68 20 46 6e 6f 64 65 | 20 6f 63 63 75 70 69 65 |ch Fnode| occupie|
|00002d00| 73 20 61 0a 73 69 6e 67 | 6c 65 20 73 65 63 74 6f |s a.sing|le secto|
|00002d10| 72 20 61 6e 64 20 63 6f | 6e 74 61 69 6e 73 20 63 |r and co|ntains c|
|00002d20| 6f 6e 74 72 6f 6c 20 61 | 6e 64 20 61 63 63 65 73 |ontrol a|nd acces|
|00002d30| 73 20 68 69 73 74 6f 72 | 79 20 69 6e 66 6f 72 6d |s histor|y inform|
|00002d40| 61 74 69 6f 6e 20 75 73 | 65 64 0a 69 6e 74 65 72 |ation us|ed.inter|
|00002d50| 6e 61 6c 6c 79 20 62 79 | 20 74 68 65 20 66 69 6c |nally by| the fil|
|00002d60| 65 20 73 79 73 74 65 6d | 2c 20 65 78 74 65 6e 64 |e system|, extend|
|00002d70| 65 64 20 61 74 74 72 69 | 62 75 74 65 73 20 61 6e |ed attri|butes an|
|00002d80| 64 20 61 63 63 65 73 73 | 20 63 6f 6e 74 72 6f 6c |d access| control|
|00002d90| 20 6c 69 73 74 73 0a 28 | 6d 6f 72 65 20 61 62 6f | lists.(|more abo|
|00002da0| 75 74 20 74 68 69 73 20 | 6c 61 74 65 72 29 2c 20 |ut this |later), |
|00002db0| 74 68 65 20 6c 65 6e 67 | 74 68 20 61 6e 64 20 74 |the leng|th and t|
|00002dc0| 68 65 20 66 69 72 73 74 | 20 31 35 20 63 68 61 72 |he first| 15 char|
|00002dd0| 61 63 74 65 72 73 20 6f | 66 20 74 68 65 20 6e 61 |acters o|f the na|
|00002de0| 6d 65 0a 6f 66 20 74 68 | 65 20 61 73 73 6f 63 69 |me.of th|e associ|
|00002df0| 61 74 65 64 20 66 69 6c | 65 20 6f 72 20 64 69 72 |ated fil|e or dir|
|00002e00| 65 63 74 6f 72 79 2c 20 | 61 6e 64 20 61 6e 20 61 |ectory, |and an a|
|00002e10| 6c 6c 6f 63 61 74 69 6f | 6e 20 73 74 72 75 63 74 |llocatio|n struct|
|00002e20| 75 72 65 20 28 46 69 67 | 75 72 65 20 32 29 2e 0a |ure (Fig|ure 2)..|
|00002e30| 41 6e 20 46 6e 6f 64 65 | 20 69 73 20 61 6c 77 61 |An Fnode| is alwa|
|00002e40| 79 73 20 73 74 6f 72 65 | 64 20 6e 65 61 72 20 74 |ys store|d near t|
|00002e50| 68 65 20 66 69 6c 65 20 | 6f 72 20 64 69 72 65 63 |he file |or direc|
|00002e60| 74 6f 72 79 20 74 68 61 | 74 20 69 74 20 72 65 70 |tory tha|t it rep|
|00002e70| 72 65 73 65 6e 74 73 2e | 0a 20 0a 54 68 65 20 61 |resents.|. .The a|
|00002e80| 6c 6c 6f 63 61 74 69 6f | 6e 20 73 74 72 75 63 74 |llocatio|n struct|
|00002e90| 75 72 65 20 69 6e 20 74 | 68 65 20 46 6e 6f 64 65 |ure in t|he Fnode|
|00002ea0| 20 63 61 6e 20 74 61 6b | 65 20 73 65 76 65 72 61 | can tak|e severa|
|00002eb0| 6c 20 66 6f 72 6d 73 2c | 20 64 65 70 65 6e 64 69 |l forms,| dependi|
|00002ec0| 6e 67 20 6f 6e 0a 74 68 | 65 20 73 69 7a 65 20 61 |ng on.th|e size a|
|00002ed0| 6e 64 20 64 65 67 72 65 | 65 20 6f 66 20 63 6f 6e |nd degre|e of con|
|00002ee0| 74 69 67 75 69 74 79 20 | 6f 66 20 74 68 65 20 66 |tiguity |of the f|
|00002ef0| 69 6c 65 20 6f 72 20 64 | 69 72 65 63 74 6f 72 79 |ile or d|irectory|
|00002f00| 2e 20 20 54 68 65 20 48 | 50 46 53 20 76 69 65 77 |. The H|PFS view|
|00002f10| 73 20 61 0a 66 69 6c 65 | 20 61 73 20 61 20 63 6f |s a.file| as a co|
|00002f20| 6c 6c 65 63 74 69 6f 6e | 20 6f 66 20 6f 6e 65 20 |llection| of one |
|00002f30| 6f 72 20 6d 6f 72 65 20 | 72 75 6e 73 20 6f 72 20 |or more |runs or |
|00002f40| 65 78 74 65 6e 74 73 20 | 6f 66 20 6f 6e 65 20 6f |extents |of one o|
|00002f50| 72 20 6d 6f 72 65 20 63 | 6f 6e 74 69 67 75 6f 75 |r more c|ontiguou|
|00002f60| 73 0a 73 65 63 74 6f 72 | 73 2e 20 20 45 61 63 68 |s.sector|s. Each|
|00002f70| 20 72 75 6e 20 69 73 20 | 73 79 6d 62 6f 6c 69 7a | run is |symboliz|
|00002f80| 65 64 20 62 79 20 61 20 | 70 61 69 72 20 6f 66 20 |ed by a |pair of |
|00002f90| 64 6f 75 62 6c 65 77 6f | 72 64 73 2d 2d 2d 61 20 |doublewo|rds---a |
|00002fa0| 33 32 2d 62 69 74 20 73 | 74 61 72 74 69 6e 67 0a |32-bit s|tarting.|
|00002fb0| 73 65 63 74 6f 72 20 6e | 75 6d 62 65 72 20 61 6e |sector n|umber an|
|00002fc0| 64 20 61 20 33 32 2d 62 | 69 74 20 6c 65 6e 67 74 |d a 32-b|it lengt|
|00002fd0| 68 20 69 6e 20 73 65 63 | 74 6f 72 73 20 28 74 68 |h in sec|tors (th|
|00002fe0| 69 73 20 69 73 20 72 65 | 66 65 72 72 65 64 20 74 |is is re|ferred t|
|00002ff0| 6f 20 61 73 0a 72 75 6e | 2d 6c 65 6e 67 74 68 20 |o as.run|-length |
|00003000| 65 6e 63 6f 64 69 6e 67 | 29 2e 20 20 46 72 6f 6d |encoding|). From|
|00003010| 20 61 6e 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 | an appl|ication |
|00003020| 70 72 6f 67 72 61 6d 27 | 73 20 70 6f 69 6e 74 20 |program'|s point |
|00003030| 6f 66 20 76 69 65 77 2c | 20 74 68 65 0a 65 78 74 |of view,| the.ext|
|00003040| 65 6e 74 73 20 61 72 65 | 20 69 6e 76 69 73 69 62 |ents are| invisib|
|00003050| 6c 65 3b 20 74 68 65 20 | 66 69 6c 65 20 61 70 70 |le; the |file app|
|00003060| 65 61 72 73 20 61 73 20 | 61 20 73 65 61 6d 6c 65 |ears as |a seamle|
|00003070| 73 73 20 73 74 72 65 61 | 6d 20 6f 66 20 62 79 74 |ss strea|m of byt|
|00003080| 65 73 2e 0a 20 0a 54 68 | 65 20 73 70 61 63 65 20 |es.. .Th|e space |
|00003090| 72 65 73 65 72 76 65 64 | 20 66 6f 72 20 61 6c 6c |reserved| for all|
|000030a0| 6f 63 61 74 69 6f 6e 20 | 69 6e 66 6f 72 6d 61 74 |ocation |informat|
|000030b0| 69 6f 6e 20 69 6e 20 61 | 6e 20 46 6e 6f 64 65 20 |ion in a|n Fnode |
|000030c0| 63 61 6e 20 68 6f 6c 64 | 20 70 6f 69 6e 74 65 72 |can hold| pointer|
|000030d0| 73 0a 74 6f 20 61 73 20 | 6d 61 6e 79 20 61 73 20 |s.to as |many as |
|000030e0| 65 69 67 68 74 20 72 75 | 6e 73 20 6f 66 20 73 65 |eight ru|ns of se|
|000030f0| 63 74 6f 72 73 20 6f 66 | 20 75 70 20 74 6f 20 31 |ctors of| up to 1|
|00003100| 36 4d 62 20 65 61 63 68 | 2e 20 20 28 54 68 69 73 |6Mb each|. (This|
|00003110| 20 6d 61 78 69 6d 75 6d | 20 72 75 6e 0a 73 69 7a | maximum| run.siz|
|00003120| 65 20 69 73 20 61 20 72 | 65 73 75 6c 74 20 6f 66 |e is a r|esult of|
|00003130| 20 74 68 65 20 62 61 6e | 64 20 73 69 7a 65 20 61 | the ban|d size a|
|00003140| 6e 64 20 66 72 65 65 20 | 73 70 61 63 65 20 62 69 |nd free |space bi|
|00003150| 74 6d 61 70 20 70 6c 61 | 63 65 6d 65 6e 74 20 6f |tmap pla|cement o|
|00003160| 6e 6c 79 3b 20 69 74 20 | 69 73 0a 6e 6f 74 20 61 |nly; it |is.not a|
|00003170| 6e 20 69 6e 68 65 72 65 | 6e 74 20 6c 69 6d 69 74 |n inhere|nt limit|
|00003180| 61 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 66 69 6c |ation of| the fil|
|00003190| 65 20 73 79 73 74 65 6d | 2e 29 20 52 65 61 73 6f |e system|.) Reaso|
|000031a0| 6e 61 62 6c 79 20 73 6d | 61 6c 6c 20 66 69 6c 65 |nably sm|all file|
|000031b0| 73 20 6f 72 0a 68 69 67 | 68 6c 79 20 63 6f 6e 74 |s or.hig|hly cont|
|000031c0| 69 67 75 6f 75 73 20 66 | 69 6c 65 73 20 63 61 6e |iguous f|iles can|
|000031d0| 20 74 68 65 72 65 66 6f | 72 65 20 62 65 20 64 65 | therefo|re be de|
|000031e0| 73 63 72 69 62 65 64 20 | 63 6f 6d 70 6c 65 74 65 |scribed |complete|
|000031f0| 6c 79 20 77 69 74 68 69 | 6e 20 74 68 65 0a 46 6e |ly withi|n the.Fn|
|00003200| 6f 64 65 20 28 46 69 67 | 75 72 65 20 33 29 2e 0a |ode (Fig|ure 3)..|
|00003210| 20 0a 48 50 46 53 20 75 | 73 65 73 20 61 20 6e 65 | .HPFS u|ses a ne|
|00003220| 77 20 6d 65 74 68 6f 64 | 20 74 6f 20 72 65 70 72 |w method| to repr|
|00003230| 65 73 65 6e 74 20 74 68 | 65 20 6c 6f 63 61 74 69 |esent th|e locati|
|00003240| 6f 6e 20 6f 66 20 66 69 | 6c 65 73 20 74 68 61 74 |on of fi|les that|
|00003250| 20 61 72 65 20 74 6f 6f | 20 6c 61 72 67 65 0a 6f | are too| large.o|
|00003260| 72 20 74 6f 6f 20 66 72 | 61 67 6d 65 6e 74 65 64 |r too fr|agmented|
|00003270| 20 66 6f 72 20 74 68 65 | 20 46 6e 6f 64 65 20 61 | for the| Fnode a|
|00003280| 6e 64 20 63 6f 6e 73 69 | 73 74 20 6f 66 20 6d 6f |nd consi|st of mo|
|00003290| 72 65 20 74 68 61 6e 20 | 65 69 67 68 74 20 72 75 |re than |eight ru|
|000032a0| 6e 73 2e 20 20 54 68 65 | 0a 46 6e 6f 64 65 27 73 |ns. The|.Fnode's|
|000032b0| 20 61 6c 6c 6f 63 61 74 | 69 6f 6e 20 73 74 72 75 | allocat|ion stru|
|000032c0| 63 74 75 72 65 20 62 65 | 63 6f 6d 65 73 20 74 68 |cture be|comes th|
|000032d0| 65 20 72 6f 6f 74 20 66 | 6f 72 20 61 20 42 2b 20 |e root f|or a B+ |
|000032e0| 54 72 65 65 20 6f 66 20 | 61 6c 6c 6f 63 61 74 69 |Tree of |allocati|
|000032f0| 6f 6e 0a 73 65 63 74 6f | 72 73 2c 20 77 68 69 63 |on.secto|rs, whic|
|00003300| 68 20 69 6e 20 74 75 72 | 6e 20 63 6f 6e 74 61 69 |h in tur|n contai|
|00003310| 6e 20 74 68 65 20 61 63 | 74 75 61 6c 20 70 6f 69 |n the ac|tual poi|
|00003320| 6e 74 65 72 73 20 74 6f | 20 74 68 65 20 66 69 6c |nters to| the fil|
|00003330| 65 27 73 20 73 65 63 74 | 6f 72 20 72 75 6e 73 0a |e's sect|or runs.|
|00003340| 28 73 65 65 20 46 69 67 | 75 72 65 20 34 20 61 6e |(see Fig|ure 4 an|
|00003350| 64 20 74 68 65 20 73 69 | 64 65 62 61 72 2c 20 60 |d the si|debar, `|
|00003360| 60 42 20 54 72 65 65 73 | 20 61 6e 64 20 42 2b 20 |`B Trees| and B+ |
|00003370| 54 72 65 65 73 22 29 2e | 20 20 54 68 65 20 46 6e |Trees").| The Fn|
|00003380| 6f 64 65 27 73 20 72 6f | 6f 74 20 68 61 73 0a 72 |ode's ro|ot has.r|
|00003390| 6f 6f 6d 20 66 6f 72 20 | 31 32 20 65 6c 65 6d 65 |oom for |12 eleme|
|000033a0| 6e 74 73 2e 20 45 61 63 | 68 20 61 6c 6c 6f 63 61 |nts. Eac|h alloca|
|000033b0| 74 69 6f 6e 20 73 65 63 | 74 6f 72 20 63 61 6e 20 |tion sec|tor can |
|000033c0| 63 6f 6e 74 61 69 6e 2c | 20 69 6e 20 61 64 64 69 |contain,| in addi|
|000033d0| 74 69 6f 6e 20 74 6f 0a | 76 61 72 69 6f 75 73 20 |tion to.|various |
|000033e0| 63 6f 6e 74 72 6f 6c 20 | 69 6e 66 6f 72 6d 61 74 |control |informat|
|000033f0| 69 6f 6e 2c 20 61 73 20 | 6d 61 6e 79 20 61 73 20 |ion, as |many as |
|00003400| 34 30 20 70 6f 69 6e 74 | 65 72 73 20 74 6f 20 73 |40 point|ers to s|
|00003410| 65 63 74 6f 72 20 72 75 | 6e 73 2e 0a 54 68 65 72 |ector ru|ns..Ther|
|00003420| 65 66 6f 72 65 2c 20 61 | 20 74 77 6f 2d 6c 65 76 |efore, a| two-lev|
|00003430| 65 6c 20 61 6c 6c 6f 63 | 61 74 69 6f 6e 20 42 2b |el alloc|ation B+|
|00003440| 20 54 72 65 65 20 63 61 | 6e 20 64 65 73 63 72 69 | Tree ca|n descri|
|00003450| 62 65 20 61 20 66 69 6c | 65 20 6f 66 20 34 38 30 |be a fil|e of 480|
|00003460| 20 28 24 31 32 2a 34 30 | 24 29 0a 73 65 63 74 6f | ($12*40|$).secto|
|00003470| 72 20 72 75 6e 73 20 77 | 69 74 68 20 61 20 74 68 |r runs w|ith a th|
|00003480| 65 6f 72 65 74 69 63 61 | 6c 20 6d 61 78 69 6d 75 |eoretica|l maximu|
|00003490| 6d 20 73 69 7a 65 20 6f | 66 20 37 2e 36 38 47 62 |m size o|f 7.68Gb|
|000034a0| 20 28 24 31 32 2a 34 30 | 2a 31 36 24 4d 62 29 20 | ($12*40|*16$Mb) |
|000034b0| 69 6e 20 74 68 65 0a 63 | 75 72 72 65 6e 74 20 69 |in the.c|urrent i|
|000034c0| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 28 61 |mplement|ation (a|
|000034d0| 6c 74 68 6f 75 67 68 20 | 74 68 65 20 33 32 2d 62 |lthough |the 32-b|
|000034e0| 69 74 20 73 69 67 6e 65 | 64 20 6f 66 66 73 65 74 |it signe|d offset|
|000034f0| 20 70 61 72 61 6d 65 74 | 65 72 20 66 6f 72 0a 44 | paramet|er for.D|
|00003500| 6f 73 43 68 67 46 69 6c | 65 50 74 72 20 65 66 66 |osChgFil|ePtr eff|
|00003510| 65 63 74 69 76 65 6c 79 | 20 6c 69 6d 69 74 73 20 |ectively| limits |
|00003520| 66 69 6c 65 20 73 69 7a | 65 73 20 74 6f 20 32 47 |file siz|es to 2G|
|00003530| 62 29 2e 0a 20 0a 49 6e | 20 74 68 65 20 75 6e 6c |b).. .In| the unl|
|00003540| 69 6b 65 6c 79 20 65 76 | 65 6e 74 20 74 68 61 74 |ikely ev|ent that|
|00003550| 20 61 20 74 77 6f 2d 6c | 65 76 65 6c 20 42 2b 20 | a two-l|evel B+ |
|00003560| 54 72 65 65 20 69 73 20 | 6e 6f 74 20 73 75 66 66 |Tree is |not suff|
|00003570| 69 63 69 65 6e 74 20 74 | 6f 20 64 65 73 63 72 69 |icient t|o descri|
|00003580| 62 65 0a 61 20 68 69 67 | 68 6c 79 20 66 72 61 67 |be.a hig|hly frag|
|00003590| 6d 65 6e 74 65 64 20 66 | 69 6c 65 2c 20 74 68 65 |mented f|ile, the|
|000035a0| 20 66 69 6c 65 20 73 79 | 73 74 65 6d 20 77 69 6c | file sy|stem wil|
|000035b0| 6c 20 69 6e 74 72 6f 64 | 75 63 65 20 61 64 64 69 |l introd|uce addi|
|000035c0| 74 69 6f 6e 61 6c 20 6c | 65 76 65 6c 73 20 69 6e |tional l|evels in|
|000035d0| 0a 74 68 65 20 74 72 65 | 65 20 61 73 20 6e 65 65 |.the tre|e as nee|
|000035e0| 64 65 64 2e 20 20 41 6c | 6c 6f 63 61 74 69 6f 6e |ded. Al|location|
|000035f0| 20 73 65 63 74 6f 72 73 | 20 69 6e 20 74 68 65 20 | sectors| in the |
|00003600| 69 6e 74 65 72 6d 65 64 | 69 61 74 65 20 6c 65 76 |intermed|iate lev|
|00003610| 65 6c 73 20 63 61 6e 20 | 68 6f 6c 64 0a 61 73 20 |els can |hold.as |
|00003620| 6d 61 6e 79 20 61 73 20 | 36 30 20 69 6e 74 65 72 |many as |60 inter|
|00003630| 6e 61 6c 20 28 6e 6f 6e | 74 65 72 6d 69 6e 61 6c |nal (non|terminal|
|00003640| 29 20 42 2b 20 54 72 65 | 65 20 6e 6f 64 65 73 2c |) B+ Tre|e nodes,|
|00003650| 20 77 68 69 63 68 20 6d | 65 61 6e 73 20 74 68 61 | which m|eans tha|
|00003660| 74 20 74 68 65 0a 64 65 | 73 63 72 69 70 74 69 76 |t the.de|scriptiv|
|00003670| 65 20 61 62 69 6c 69 74 | 79 20 6f 66 20 74 68 69 |e abilit|y of thi|
|00003680| 73 20 73 74 72 75 63 74 | 75 72 65 20 72 61 70 69 |s struct|ure rapi|
|00003690| 64 6c 79 20 67 72 6f 77 | 73 20 74 6f 20 6e 75 6d |dly grow|s to num|
|000036a0| 62 65 72 73 20 74 68 61 | 74 20 61 72 65 0a 6e 65 |bers tha|t are.ne|
|000036b0| 61 72 6c 79 20 62 65 79 | 6f 6e 64 20 63 6f 6d 70 |arly bey|ond comp|
|000036c0| 72 65 68 65 6e 73 69 6f | 6e 2e 20 20 46 6f 72 20 |rehensio|n. For |
|000036d0| 65 78 61 6d 70 6c 65 2c | 20 61 20 74 68 72 65 65 |example,| a three|
|000036e0| 2d 6c 65 76 65 6c 20 61 | 6c 6c 6f 63 61 74 69 6f |-level a|llocatio|
|000036f0| 6e 20 42 2b 20 54 72 65 | 65 0a 63 61 6e 20 64 65 |n B+ Tre|e.can de|
|00003700| 73 63 72 69 62 65 20 61 | 20 66 69 6c 65 20 77 69 |scribe a| file wi|
|00003710| 74 68 20 61 73 20 6d 61 | 6e 79 20 61 73 20 32 38 |th as ma|ny as 28|
|00003720| 2c 38 30 30 20 28 24 31 | 32 2a 36 30 2a 34 30 24 |,800 ($1|2*60*40$|
|00003730| 29 20 73 65 63 74 6f 72 | 20 72 75 6e 73 2e 0a 20 |) sector| runs.. |
|00003740| 0a 52 75 6e 2d 6c 65 6e | 67 74 68 20 65 6e 63 6f |.Run-len|gth enco|
|00003750| 64 69 6e 67 20 61 6e 64 | 20 42 2b 20 54 72 65 65 |ding and| B+ Tree|
|00003760| 73 20 6f 66 20 61 6c 6c | 6f 63 61 74 69 6f 6e 20 |s of all|ocation |
|00003770| 73 65 63 74 6f 72 73 20 | 61 72 65 20 61 20 6d 65 |sectors |are a me|
|00003780| 6d 6f 72 79 2d 65 66 66 | 69 63 69 65 6e 74 0a 77 |mory-eff|icient.w|
|00003790| 61 79 20 74 6f 20 73 70 | 65 63 69 66 79 20 61 20 |ay to sp|ecify a |
|000037a0| 66 69 6c 65 27 73 20 73 | 69 7a 65 20 61 6e 64 20 |file's s|ize and |
|000037b0| 6c 6f 63 61 74 69 6f 6e | 2c 20 62 75 74 20 74 68 |location|, but th|
|000037c0| 65 79 20 68 61 76 65 20 | 6f 74 68 65 72 20 73 69 |ey have |other si|
|000037d0| 67 6e 69 66 69 63 61 6e | 74 0a 61 64 76 61 6e 74 |gnifican|t.advant|
|000037e0| 61 67 65 73 2e 20 20 54 | 72 61 6e 73 6c 61 74 69 |ages. T|ranslati|
|000037f0| 6e 67 20 61 20 6c 6f 67 | 69 63 61 6c 20 66 69 6c |ng a log|ical fil|
|00003800| 65 20 6f 66 66 73 65 74 | 20 69 6e 74 6f 20 61 20 |e offset| into a |
|00003810| 73 65 63 74 6f 72 20 6e | 75 6d 62 65 72 20 69 73 |sector n|umber is|
|00003820| 0a 65 78 74 72 65 6d 65 | 6c 79 20 66 61 73 74 3a |.extreme|ly fast:|
|00003830| 20 74 68 65 20 66 69 6c | 65 20 73 79 73 74 65 6d | the fil|e system|
|00003840| 20 6a 75 73 74 20 6e 65 | 65 64 73 20 74 6f 20 74 | just ne|eds to t|
|00003850| 72 61 76 65 72 73 65 20 | 74 68 65 20 6c 69 73 74 |raverse |the list|
|00003860| 20 28 6f 72 20 42 2b 20 | 54 72 65 65 0a 6f 66 20 | (or B+ |Tree.of |
|00003870| 6c 69 73 74 73 29 20 6f | 66 20 72 75 6e 20 70 6f |lists) o|f run po|
|00003880| 69 6e 74 65 72 73 20 75 | 6e 74 69 6c 20 69 74 20 |inters u|ntil it |
|00003890| 66 69 6e 64 73 20 74 68 | 65 20 63 6f 72 72 65 63 |finds th|e correc|
|000038a0| 74 20 72 61 6e 67 65 2e | 20 49 74 20 63 61 6e 20 |t range.| It can |
|000038b0| 74 68 65 6e 0a 69 64 65 | 6e 74 69 66 79 20 74 68 |then.ide|ntify th|
|000038c0| 65 20 73 65 63 74 6f 72 | 20 77 69 74 68 69 6e 20 |e sector| within |
|000038d0| 74 68 65 20 72 75 6e 20 | 77 69 74 68 20 61 20 73 |the run |with a s|
|000038e0| 69 6d 70 6c 65 20 63 61 | 6c 63 75 6c 61 74 69 6f |imple ca|lculatio|
|000038f0| 6e 2e 20 20 52 75 6e 2d | 6c 65 6e 67 74 68 0a 65 |n. Run-|length.e|
|00003900| 6e 63 6f 64 69 6e 67 20 | 61 6c 73 6f 20 6d 61 6b |ncoding |also mak|
|00003910| 65 73 20 69 74 20 74 72 | 69 76 69 61 6c 20 74 6f |es it tr|ivial to|
|00003920| 20 65 78 74 65 6e 64 20 | 74 68 65 20 66 69 6c 65 | extend |the file|
|00003930| 20 6c 6f 67 69 63 61 6c | 6c 79 20 69 66 20 74 68 | logical|ly if th|
|00003940| 65 20 6e 65 77 6c 79 0a | 61 73 73 69 67 6e 65 64 |e newly.|assigned|
|00003950| 20 73 65 63 74 6f 72 20 | 69 73 20 63 6f 6e 74 69 | sector |is conti|
|00003960| 67 75 6f 75 73 20 77 69 | 74 68 20 74 68 65 20 66 |guous wi|th the f|
|00003970| 69 6c 65 27 73 20 70 72 | 65 76 69 6f 75 73 20 6c |ile's pr|evious l|
|00003980| 61 73 74 20 73 65 63 74 | 6f 72 3b 20 74 68 65 20 |ast sect|or; the |
|00003990| 66 69 6c 65 0a 73 79 73 | 74 65 6d 20 6d 65 72 65 |file.sys|tem mere|
|000039a0| 6c 79 20 6e 65 65 64 73 | 20 74 6f 20 69 6e 63 72 |ly needs| to incr|
|000039b0| 65 6d 65 6e 74 20 74 68 | 65 20 73 69 7a 65 20 64 |ement th|e size d|
|000039c0| 6f 75 62 6c 65 77 6f 72 | 64 20 6f 66 20 74 68 65 |oublewor|d of the|
|000039d0| 20 66 69 6c 65 27 73 20 | 6c 61 73 74 20 72 75 6e | file's |last run|
|000039e0| 0a 70 6f 69 6e 74 65 72 | 20 61 6e 64 20 63 6c 65 |.pointer| and cle|
|000039f0| 61 72 20 74 68 65 20 73 | 65 63 74 6f 72 27 73 20 |ar the s|ector's |
|00003a00| 62 69 74 20 69 6e 20 74 | 68 65 20 61 70 70 72 6f |bit in t|he appro|
|00003a10| 70 72 69 61 74 65 20 66 | 72 65 65 73 70 61 63 65 |priate f|reespace|
|00003a20| 20 62 69 74 6d 61 70 2e | 0a 20 0a 5c 73 65 63 74 | bitmap.|. .\sect|
|00003a30| 69 6f 6e 7b 5c 68 65 61 | 64 73 20 44 69 72 65 63 |ion{\hea|ds Direc|
|00003a40| 74 6f 72 69 65 73 7d 0a | 20 0a 44 69 72 65 63 74 |tories}.| .Direct|
|00003a50| 6f 72 69 65 73 2c 20 6c | 69 6b 65 20 66 69 6c 65 |ories, l|ike file|
|00003a60| 73 2c 20 61 72 65 20 61 | 6e 63 68 6f 72 65 64 20 |s, are a|nchored |
|00003a70| 6f 6e 20 46 6e 6f 64 65 | 73 2e 20 20 41 20 70 6f |on Fnode|s. A po|
|00003a80| 69 6e 74 65 72 20 74 6f | 20 74 68 65 20 46 6e 6f |inter to| the Fno|
|00003a90| 64 65 20 66 6f 72 0a 74 | 68 65 20 72 6f 6f 74 20 |de for.t|he root |
|00003aa0| 64 69 72 65 63 74 6f 72 | 79 20 69 73 20 66 6f 75 |director|y is fou|
|00003ab0| 6e 64 20 69 6e 20 74 68 | 65 20 53 75 70 65 72 42 |nd in th|e SuperB|
|00003ac0| 6c 6f 63 6b 2e 20 20 54 | 68 65 20 46 6e 6f 64 65 |lock. T|he Fnode|
|00003ad0| 73 20 66 6f 72 20 64 69 | 72 65 63 74 6f 72 69 65 |s for di|rectorie|
|00003ae0| 73 0a 6f 74 68 65 72 20 | 74 68 61 6e 20 74 68 65 |s.other |than the|
|00003af0| 20 72 6f 6f 74 20 61 72 | 65 20 72 65 61 63 68 65 | root ar|e reache|
|00003b00| 64 20 74 68 72 6f 75 67 | 68 20 73 75 62 64 69 72 |d throug|h subdir|
|00003b10| 65 63 74 6f 72 79 20 65 | 6e 74 72 69 65 73 20 69 |ectory e|ntries i|
|00003b20| 6e 20 74 68 65 69 72 20 | 70 61 72 65 6e 74 0a 64 |n their |parent.d|
|00003b30| 69 72 65 63 74 6f 72 69 | 65 73 2e 0a 20 0a 44 69 |irectori|es.. .Di|
|00003b40| 72 65 63 74 6f 72 69 65 | 73 20 63 61 6e 20 67 72 |rectorie|s can gr|
|00003b50| 6f 77 20 74 6f 20 61 6e | 79 20 73 69 7a 65 20 61 |ow to an|y size a|
|00003b60| 6e 64 20 61 72 65 20 62 | 75 69 6c 74 20 75 70 20 |nd are b|uilt up |
|00003b70| 66 72 6f 6d 20 32 4b 62 | 20 64 69 72 65 63 74 6f |from 2Kb| directo|
|00003b80| 72 79 20 62 6c 6f 63 6b | 73 2c 0a 77 68 69 63 68 |ry block|s,.which|
|00003b90| 20 61 72 65 20 61 6c 6c | 6f 63 61 74 65 64 20 61 | are all|ocated a|
|00003ba0| 73 20 66 6f 75 72 20 63 | 6f 6e 73 65 63 75 74 69 |s four c|onsecuti|
|00003bb0| 76 65 20 73 65 63 74 6f | 72 73 20 6f 6e 20 74 68 |ve secto|rs on th|
|00003bc0| 65 20 64 69 73 6b 2e 20 | 20 54 68 65 20 66 69 6c |e disk. | The fil|
|00003bd0| 65 20 73 79 73 74 65 6d | 0a 61 74 74 65 6d 70 74 |e system|.attempt|
|00003be0| 73 20 74 6f 20 61 6c 6c | 6f 63 61 74 65 20 64 69 |s to all|ocate di|
|00003bf0| 72 65 63 74 6f 72 79 20 | 62 6c 6f 63 6b 73 20 69 |rectory |blocks i|
|00003c00| 6e 20 74 68 65 20 64 69 | 72 65 63 74 6f 72 79 20 |n the di|rectory |
|00003c10| 62 61 6e 64 2c 20 77 68 | 69 63 68 20 69 73 20 6c |band, wh|ich is l|
|00003c20| 6f 63 61 74 65 64 0a 61 | 74 20 6f 72 20 6e 65 61 |ocated.a|t or nea|
|00003c30| 72 20 74 68 65 20 73 65 | 65 6b 20 63 65 6e 74 65 |r the se|ek cente|
|00003c40| 72 20 6f 66 20 74 68 65 | 20 64 69 73 6b 2e 20 20 |r of the| disk. |
|00003c50| 4f 6e 63 65 20 74 68 65 | 20 64 69 72 65 63 74 6f |Once the| directo|
|00003c60| 72 79 20 62 61 6e 64 20 | 69 73 20 66 75 6c 6c 2c |ry band |is full,|
|00003c70| 20 74 68 65 0a 64 69 72 | 65 63 74 6f 72 79 20 62 | the.dir|ectory b|
|00003c80| 6c 6f 63 6b 73 20 61 72 | 65 20 61 6c 6c 6f 63 61 |locks ar|e alloca|
|00003c90| 74 65 64 20 77 68 65 72 | 65 76 65 72 20 73 70 61 |ted wher|ever spa|
|00003ca0| 63 65 20 69 73 20 61 76 | 61 69 6c 61 62 6c 65 2e |ce is av|ailable.|
|00003cb0| 0a 20 0a 45 61 63 68 20 | 32 4b 62 20 64 69 72 65 |. .Each |2Kb dire|
|00003cc0| 63 74 6f 72 79 20 62 6c | 6f 63 6b 20 63 6f 6e 74 |ctory bl|ock cont|
|00003cd0| 61 69 6e 73 20 66 72 6f | 6d 20 6f 6e 65 20 74 6f |ains fro|m one to|
|00003ce0| 20 6d 61 6e 79 20 64 69 | 72 65 63 74 6f 72 79 20 | many di|rectory |
|00003cf0| 65 6e 74 72 69 65 73 2e | 20 20 41 0a 64 69 72 65 |entries.| A.dire|
|00003d00| 63 74 6f 72 79 20 65 6e | 74 72 79 20 63 6f 6e 74 |ctory en|try cont|
|00003d10| 61 69 6e 73 20 73 65 76 | 65 72 61 6c 20 66 69 65 |ains sev|eral fie|
|00003d20| 6c 64 73 2c 20 69 6e 63 | 6c 75 64 69 6e 67 20 74 |lds, inc|luding t|
|00003d30| 69 6d 65 20 61 6e 64 20 | 64 61 74 65 20 73 74 61 |ime and |date sta|
|00003d40| 6d 70 73 2c 20 61 6e 0a | 46 6e 6f 64 65 20 70 6f |mps, an.|Fnode po|
|00003d50| 69 6e 74 65 72 2c 20 61 | 20 75 73 61 67 65 20 63 |inter, a| usage c|
|00003d60| 6f 75 6e 74 20 66 6f 72 | 20 75 73 65 20 62 79 20 |ount for| use by |
|00003d70| 64 69 73 6b 20 6d 61 69 | 6e 74 65 6e 61 6e 63 65 |disk mai|ntenance|
|00003d80| 20 70 72 6f 67 72 61 6d | 73 2c 20 74 68 65 20 6c | program|s, the l|
|00003d90| 65 6e 67 74 68 0a 6f 66 | 20 74 68 65 20 66 69 6c |ength.of| the fil|
|00003da0| 65 20 6f 72 20 64 69 72 | 65 63 74 6f 72 79 20 6e |e or dir|ectory n|
|00003db0| 61 6d 65 2c 20 74 68 65 | 20 6e 61 6d 65 20 69 74 |ame, the| name it|
|00003dc0| 73 65 6c 66 2c 20 61 6e | 64 20 61 20 42 20 54 72 |self, an|d a B Tr|
|00003dd0| 65 65 20 70 6f 69 6e 74 | 65 72 2e 20 20 45 61 63 |ee point|er. Eac|
|00003de0| 68 0a 65 6e 74 72 79 20 | 62 65 67 69 6e 73 20 77 |h.entry |begins w|
|00003df0| 69 74 68 20 61 20 77 6f | 72 64 20 74 68 61 74 20 |ith a wo|rd that |
|00003e00| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 6c 65 6e |contains| the len|
|00003e10| 67 74 68 20 6f 66 20 74 | 68 65 20 65 6e 74 72 79 |gth of t|he entry|
|00003e20| 2e 20 20 54 68 69 73 0a | 70 72 6f 76 69 64 65 73 |. This.|provides|
|00003e30| 20 66 6f 72 20 61 20 76 | 61 72 69 61 62 6c 65 20 | for a v|ariable |
|00003e40| 61 6d 6f 75 6e 74 20 6f | 66 20 66 6c 65 78 20 73 |amount o|f flex s|
|00003e50| 70 61 63 65 20 61 74 20 | 74 68 65 20 65 6e 64 20 |pace at |the end |
|00003e60| 6f 66 20 65 61 63 68 20 | 65 6e 74 72 79 2c 20 77 |of each |entry, w|
|00003e70| 68 69 63 68 0a 63 61 6e | 20 62 65 20 75 73 65 64 |hich.can| be used|
|00003e80| 20 62 79 20 73 70 65 63 | 69 61 6c 20 76 65 72 73 | by spec|ial vers|
|00003e90| 69 6f 6e 73 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |ions of |the file|
|00003ea0| 20 73 79 73 74 65 6d 20 | 61 6e 64 20 61 6c 6c 6f | system |and allo|
|00003eb0| 77 73 20 74 68 65 20 64 | 69 72 65 63 74 6f 72 79 |ws the d|irectory|
|00003ec0| 0a 62 6c 6f 63 6b 20 74 | 6f 20 62 65 20 74 72 61 |.block t|o be tra|
|00003ed0| 76 65 72 73 65 64 20 76 | 65 72 79 20 71 75 69 63 |versed v|ery quic|
|00003ee0| 6b 6c 79 20 28 46 69 67 | 75 72 65 20 35 29 2e 0a |kly (Fig|ure 5)..|
|00003ef0| 20 0a 54 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | .The nu|mber of |
|00003f00| 65 6e 74 72 69 65 73 20 | 69 6e 20 61 20 64 69 72 |entries |in a dir|
|00003f10| 65 63 74 6f 72 79 20 62 | 6c 6f 63 6b 20 76 61 72 |ectory b|lock var|
|00003f20| 69 65 73 20 77 69 74 68 | 20 74 68 65 20 6c 65 6e |ies with| the len|
|00003f30| 67 74 68 20 6f 66 20 6e | 61 6d 65 73 2e 0a 49 66 |gth of n|ames..If|
|00003f40| 20 74 68 65 20 61 76 65 | 72 61 67 65 20 66 69 6c | the ave|rage fil|
|00003f50| 65 6e 61 6d 65 20 6c 65 | 6e 67 74 68 20 69 73 20 |ename le|ngth is |
|00003f60| 31 33 20 63 68 61 72 61 | 63 74 65 72 73 2c 20 61 |13 chara|cters, a|
|00003f70| 6e 20 61 76 65 72 61 67 | 65 20 64 69 72 65 63 74 |n averag|e direct|
|00003f80| 6f 72 79 20 62 6c 6f 63 | 6b 0a 77 69 6c 6c 20 68 |ory bloc|k.will h|
|00003f90| 6f 6c 64 20 61 62 6f 75 | 74 20 34 30 20 65 6e 74 |old abou|t 40 ent|
|00003fa0| 72 69 65 73 2e 20 20 54 | 68 65 20 65 6e 74 72 69 |ries. T|he entri|
|00003fb0| 65 73 20 69 6e 20 61 20 | 64 69 72 65 63 74 6f 72 |es in a |director|
|00003fc0| 79 20 62 6c 6f 63 6b 20 | 61 72 65 20 73 6f 72 74 |y block |are sort|
|00003fd0| 65 64 20 62 79 0a 74 68 | 65 20 62 69 6e 61 72 79 |ed by.th|e binary|
|00003fe0| 20 6c 65 78 69 63 61 6c | 20 6f 72 64 65 72 20 6f | lexical| order o|
|00003ff0| 66 20 74 68 65 69 72 20 | 6e 61 6d 65 20 66 69 65 |f their |name fie|
|00004000| 6c 64 73 20 28 74 68 69 | 73 20 68 61 70 70 65 6e |lds (thi|s happen|
|00004010| 73 20 74 6f 20 70 75 74 | 20 74 68 65 6d 20 69 6e |s to put| them in|
|00004020| 0a 61 6c 70 68 61 62 65 | 74 69 63 61 6c 20 6f 72 |.alphabe|tical or|
|00004030| 64 65 72 20 66 6f 72 20 | 74 68 65 20 55 2e 53 2e |der for |the U.S.|
|00004040| 20 61 6c 70 68 61 62 65 | 74 29 2e 20 20 54 68 65 | alphabe|t). The|
|00004050| 20 6c 61 73 74 20 65 6e | 74 72 79 20 69 6e 20 61 | last en|try in a|
|00004060| 20 64 69 72 65 63 74 6f | 72 79 0a 62 6c 6f 63 6b | directo|ry.block|
|00004070| 20 69 73 20 61 20 64 75 | 6d 6d 79 20 72 65 63 6f | is a du|mmy reco|
|00004080| 72 64 20 74 68 61 74 20 | 6d 61 72 6b 73 20 74 68 |rd that |marks th|
|00004090| 65 20 65 6e 64 20 6f 66 | 20 74 68 65 20 62 6c 6f |e end of| the blo|
|000040a0| 63 6b 2e 0a 20 0a 57 68 | 65 6e 20 61 20 64 69 72 |ck.. .Wh|en a dir|
|000040b0| 65 63 74 6f 72 79 20 67 | 65 74 73 20 74 6f 6f 20 |ectory g|ets too |
|000040c0| 6c 61 72 67 65 20 74 6f | 20 62 65 20 73 74 6f 72 |large to| be stor|
|000040d0| 65 64 20 69 6e 20 6f 6e | 65 20 62 6c 6f 63 6b 2c |ed in on|e block,|
|000040e0| 20 69 74 20 69 6e 63 72 | 65 61 73 65 73 20 69 6e | it incr|eases in|
|000040f0| 0a 73 69 7a 65 20 62 79 | 20 74 68 65 20 61 64 64 |.size by| the add|
|00004100| 69 74 69 6f 6e 20 6f 66 | 20 32 4b 62 20 62 6c 6f |ition of| 2Kb blo|
|00004110| 63 6b 73 20 74 68 61 74 | 20 61 72 65 20 6f 72 67 |cks that| are org|
|00004120| 61 6e 69 7a 65 64 20 61 | 73 20 61 20 42 20 54 72 |anized a|s a B Tr|
|00004130| 65 65 20 28 60 60 42 20 | 54 72 65 65 73 20 61 6e |ee (``B |Trees an|
|00004140| 64 0a 42 2b 20 54 72 65 | 65 73 22 29 2e 20 20 57 |d.B+ Tre|es"). W|
|00004150| 68 65 6e 20 73 65 61 72 | 63 68 69 6e 67 20 66 6f |hen sear|ching fo|
|00004160| 72 20 61 20 73 70 65 63 | 69 66 69 63 20 6e 61 6d |r a spec|ific nam|
|00004170| 65 2c 20 74 68 65 20 66 | 69 6c 65 20 73 79 73 74 |e, the f|ile syst|
|00004180| 65 6d 20 74 72 61 76 65 | 72 73 65 73 20 61 0a 64 |em trave|rses a.d|
|00004190| 69 72 65 63 74 6f 72 79 | 20 62 6c 6f 63 6b 20 75 |irectory| block u|
|000041a0| 6e 74 69 6c 20 69 74 20 | 65 69 74 68 65 72 20 66 |ntil it |either f|
|000041b0| 69 6e 64 73 20 61 20 6d | 61 74 63 68 20 6f 72 20 |inds a m|atch or |
|000041c0| 66 69 6e 64 73 20 61 20 | 6e 61 6d 65 20 74 68 61 |finds a |name tha|
|000041d0| 74 20 69 73 0a 6c 65 78 | 69 63 61 6c 6c 79 20 67 |t is.lex|ically g|
|000041e0| 72 65 61 74 65 72 20 74 | 68 61 6e 20 74 68 65 20 |reater t|han the |
|000041f0| 74 61 72 67 65 74 2e 20 | 20 49 6e 20 74 68 65 20 |target. | In the |
|00004200| 6c 61 74 74 65 72 20 63 | 61 73 65 2c 20 74 68 65 |latter c|ase, the|
|00004210| 20 66 69 6c 65 20 73 79 | 73 74 65 6d 0a 65 78 74 | file sy|stem.ext|
|00004220| 72 61 63 74 73 20 74 68 | 65 20 42 20 54 72 65 65 |racts th|e B Tree|
|00004230| 20 70 6f 69 6e 74 65 72 | 20 66 72 6f 6d 20 74 68 | pointer| from th|
|00004240| 65 20 65 6e 74 72 79 2e | 20 20 49 66 20 74 68 65 |e entry.| If the|
|00004250| 72 65 20 69 73 20 6e 6f | 20 70 6f 69 6e 74 65 72 |re is no| pointer|
|00004260| 2c 20 74 68 65 0a 73 65 | 61 72 63 68 20 66 61 69 |, the.se|arch fai|
|00004270| 6c 65 64 3b 20 6f 74 68 | 65 72 77 69 73 65 20 74 |led; oth|erwise t|
|00004280| 68 65 20 66 69 6c 65 20 | 73 79 73 74 65 6d 20 66 |he file |system f|
|00004290| 6f 6c 6c 6f 77 73 20 74 | 68 65 20 70 6f 69 6e 74 |ollows t|he point|
|000042a0| 65 72 20 74 6f 20 74 68 | 65 20 6e 65 78 74 0a 64 |er to th|e next.d|
|000042b0| 69 72 65 63 74 6f 72 79 | 20 62 6c 6f 63 6b 20 69 |irectory| block i|
|000042c0| 6e 20 74 68 65 20 74 72 | 65 65 20 61 6e 64 20 63 |n the tr|ee and c|
|000042d0| 6f 6e 74 69 6e 75 65 73 | 20 74 68 65 20 73 65 61 |ontinues| the sea|
|000042e0| 72 63 68 2e 0a 20 0a 41 | 20 6c 69 74 74 6c 65 20 |rch.. .A| little |
|000042f0| 62 61 63 6b 2d 6f 66 2d | 74 68 65 2d 65 6e 76 65 |back-of-|the-enve|
|00004300| 6c 6f 70 65 20 61 72 69 | 74 68 6d 65 74 69 63 20 |lope ari|thmetic |
|00004310| 79 69 65 6c 64 73 20 73 | 6f 6d 65 20 69 6d 70 72 |yields s|ome impr|
|00004320| 65 73 73 69 76 65 20 73 | 74 61 74 69 73 74 69 63 |essive s|tatistic|
|00004330| 73 2e 0a 41 73 73 75 6d | 69 6e 67 20 34 30 20 65 |s..Assum|ing 40 e|
|00004340| 6e 74 72 69 65 73 20 70 | 65 72 20 62 6c 6f 63 6b |ntries p|er block|
|00004350| 2c 20 61 20 74 77 6f 2d | 6c 65 76 65 6c 20 74 72 |, a two-|level tr|
|00004360| 65 65 20 6f 66 20 64 69 | 72 65 63 74 6f 72 79 20 |ee of di|rectory |
|00004370| 62 6c 6f 63 6b 73 20 63 | 61 6e 20 68 6f 6c 64 0a |blocks c|an hold.|
|00004380| 31 36 34 30 20 64 69 72 | 65 63 74 6f 72 79 20 65 |1640 dir|ectory e|
|00004390| 6e 74 72 69 65 73 20 61 | 6e 64 20 61 20 74 68 72 |ntries a|nd a thr|
|000043a0| 65 65 2d 6c 65 76 65 6c | 20 74 72 65 65 20 63 61 |ee-level| tree ca|
|000043b0| 6e 20 68 6f 6c 64 20 61 | 6e 20 61 73 74 6f 6e 69 |n hold a|n astoni|
|000043c0| 73 68 69 6e 67 20 36 35 | 2c 36 34 30 0a 65 6e 74 |shing 65|,640.ent|
|000043d0| 72 69 65 73 2e 20 20 49 | 6e 20 6f 74 68 65 72 20 |ries. I|n other |
|000043e0| 77 6f 72 64 73 2c 20 61 | 20 70 61 72 74 69 63 75 |words, a| particu|
|000043f0| 6c 61 72 20 66 69 6c 65 | 20 63 61 6e 20 62 65 20 |lar file| can be |
|00004400| 66 6f 75 6e 64 20 28 6f | 72 20 73 68 6f 77 6e 20 |found (o|r shown |
|00004410| 6e 6f 74 20 74 6f 0a 65 | 78 69 73 74 29 20 69 6e |not to.e|xist) in|
|00004420| 20 61 20 74 79 70 69 63 | 61 6c 20 64 69 72 65 63 | a typic|al direc|
|00004430| 74 6f 72 79 20 6f 66 20 | 36 35 2c 36 34 30 20 66 |tory of |65,640 f|
|00004440| 69 6c 65 73 20 77 69 74 | 68 20 61 20 6d 61 78 69 |iles wit|h a maxi|
|00004450| 6d 75 6d 20 6f 66 20 74 | 68 72 65 65 20 64 69 73 |mum of t|hree dis|
|00004460| 6b 0a 68 69 74 73 2d 2d | 2d 74 68 65 20 61 63 74 |k.hits--|-the act|
|00004470| 75 61 6c 20 6e 75 6d 62 | 65 72 20 6f 66 20 64 69 |ual numb|er of di|
|00004480| 73 6b 20 61 63 63 65 73 | 73 65 73 20 64 65 70 65 |sk acces|ses depe|
|00004490| 6e 64 69 6e 67 20 6f 6e | 20 63 61 63 68 65 20 63 |nding on| cache c|
|000044a0| 6f 6e 74 65 6e 74 73 20 | 61 6e 64 20 74 68 65 0a |ontents |and the.|
|000044b0| 6c 6f 63 61 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |location| of the |
|000044c0| 66 69 6c 65 27 73 20 6e | 61 6d 65 20 69 6e 20 74 |file's n|ame in t|
|000044d0| 68 65 20 64 69 72 65 63 | 74 6f 72 79 20 62 6c 6f |he direc|tory blo|
|000044e0| 63 6b 20 42 20 54 72 65 | 65 2e 20 20 54 68 61 74 |ck B Tre|e. That|
|000044f0| 27 73 20 71 75 69 74 65 | 20 61 0a 63 6f 6e 74 72 |'s quite| a.contr|
|00004500| 61 73 74 20 74 6f 20 74 | 68 65 20 46 41 54 20 66 |ast to t|he FAT f|
|00004510| 69 6c 65 20 73 79 73 74 | 65 6d 2c 20 77 68 65 72 |ile syst|em, wher|
|00004520| 65 20 69 6e 20 74 68 65 | 20 77 6f 72 73 74 20 63 |e in the| worst c|
|00004530| 61 73 65 20 6d 6f 72 65 | 20 74 68 61 6e 20 34 30 |ase more| than 40|
|00004540| 30 30 0a 73 65 63 74 6f | 72 73 20 77 6f 75 6c 64 |00.secto|rs would|
|00004550| 20 68 61 76 65 20 74 6f | 20 62 65 20 72 65 61 64 | have to| be read|
|00004560| 20 74 6f 20 65 73 74 61 | 62 6c 69 73 68 20 74 68 | to esta|blish th|
|00004570| 61 74 20 61 20 66 69 6c | 65 20 77 61 73 20 6f 72 |at a fil|e was or|
|00004580| 20 77 61 73 20 6e 6f 74 | 20 70 72 65 73 65 6e 74 | was not| present|
|00004590| 0a 69 6e 20 61 20 64 69 | 72 65 63 74 6f 72 79 20 |.in a di|rectory |
|000045a0| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 74 68 65 20 73 |containi|ng the s|
|000045b0| 61 6d 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 66 69 |ame numb|er of fi|
|000045c0| 6c 65 73 2e 0a 20 0a 54 | 68 65 20 42 20 54 72 65 |les.. .T|he B Tre|
|000045d0| 65 20 64 69 72 65 63 74 | 6f 72 79 20 73 74 72 75 |e direct|ory stru|
|000045e0| 63 74 75 72 65 20 68 61 | 73 20 69 6e 74 65 72 65 |cture ha|s intere|
|000045f0| 73 74 69 6e 67 20 69 6d | 70 6c 69 63 61 74 69 6f |sting im|plicatio|
|00004600| 6e 73 20 62 65 79 6f 6e | 64 20 69 74 73 20 65 66 |ns beyon|d its ef|
|00004610| 66 65 63 74 0a 6f 6e 20 | 6f 70 65 6e 20 61 6e 64 |fect.on |open and|
|00004620| 20 66 69 6e 64 20 6f 70 | 65 72 61 74 69 6f 6e 73 | find op|erations|
|00004630| 2e 20 20 41 20 66 69 6c | 65 20 63 72 65 61 74 69 |. A fil|e creati|
|00004640| 6f 6e 2c 20 72 65 6e 61 | 6d 69 6e 67 2c 20 6f 72 |on, rena|ming, or|
|00004650| 20 64 65 6c 65 74 69 6f | 6e 20 6d 61 79 0a 72 65 | deletio|n may.re|
|00004660| 73 75 6c 74 20 69 6e 20 | 61 20 63 61 73 63 61 64 |sult in |a cascad|
|00004670| 65 20 6f 66 20 63 6f 6d | 70 6c 65 78 20 6f 70 65 |e of com|plex ope|
|00004680| 72 61 74 69 6f 6e 73 2c | 20 61 73 20 64 69 72 65 |rations,| as dire|
|00004690| 63 74 6f 72 79 20 62 6c | 6f 63 6b 73 20 61 72 65 |ctory bl|ocks are|
|000046a0| 20 61 64 64 65 64 20 6f | 72 0a 66 72 65 65 64 20 | added o|r.freed |
|000046b0| 6f 72 20 6e 61 6d 65 73 | 20 61 72 65 20 6d 6f 76 |or names| are mov|
|000046c0| 65 64 20 66 72 6f 6d 20 | 6f 6e 65 20 62 6c 6f 63 |ed from |one bloc|
|000046d0| 6b 20 74 6f 20 74 68 65 | 20 6f 74 68 65 72 20 74 |k to the| other t|
|000046e0| 6f 20 6b 65 65 70 20 74 | 68 65 20 74 72 65 65 0a |o keep t|he tree.|
|000046f0| 62 61 6c 61 6e 63 65 64 | 2e 20 20 49 6e 20 66 61 |balanced|. In fa|
|00004700| 63 74 2c 20 61 20 72 65 | 6e 61 6d 65 20 6f 70 65 |ct, a re|name ope|
|00004710| 72 61 74 69 6f 6e 20 63 | 6f 75 6c 64 20 74 68 65 |ration c|ould the|
|00004720| 6f 72 65 74 69 63 61 6c | 6c 79 20 66 61 69 6c 20 |oretical|ly fail |
|00004730| 66 6f 72 20 6c 61 63 6b | 20 6f 66 0a 64 69 73 6b |for lack| of.disk|
|00004740| 20 73 70 61 63 65 20 65 | 76 65 6e 20 74 68 6f 75 | space e|ven thou|
|00004750| 67 68 20 74 68 65 20 66 | 69 6c 65 20 69 74 73 65 |gh the f|ile itse|
|00004760| 6c 66 20 69 73 20 6e 6f | 74 20 67 72 6f 77 69 6e |lf is no|t growin|
|00004770| 67 2e 20 20 49 6e 20 6f | 72 64 65 72 20 74 6f 20 |g. In o|rder to |
|00004780| 61 76 6f 69 64 0a 74 68 | 69 73 20 73 6f 72 74 20 |avoid.th|is sort |
|00004790| 6f 66 20 64 69 73 61 73 | 74 65 72 2c 20 74 68 65 |of disas|ter, the|
|000047a0| 20 48 50 46 53 20 6d 61 | 69 6e 74 61 69 6e 73 20 | HPFS ma|intains |
|000047b0| 61 20 73 6d 61 6c 6c 20 | 70 6f 6f 6c 20 6f 66 20 |a small |pool of |
|000047c0| 66 72 65 65 20 62 6c 6f | 63 6b 73 20 74 68 61 74 |free blo|cks that|
|000047d0| 0a 63 61 6e 20 62 65 20 | 64 72 61 77 6e 20 66 72 |.can be |drawn fr|
|000047e0| 6f 6d 20 69 6e 20 61 20 | 64 69 72 65 63 74 6f 72 |om in a |director|
|000047f0| 79 20 65 6d 65 72 67 65 | 6e 63 79 3b 20 61 20 70 |y emerge|ncy; a p|
|00004800| 6f 69 6e 74 65 72 20 74 | 6f 20 74 68 69 73 20 70 |ointer t|o this p|
|00004810| 6f 6f 6c 20 6f 66 20 66 | 72 65 65 0a 62 6c 6f 63 |ool of f|ree.bloc|
|00004820| 6b 73 20 69 73 20 73 74 | 6f 72 65 64 20 69 6e 20 |ks is st|ored in |
|00004830| 74 68 65 20 53 70 61 72 | 65 42 6c 6f 63 6b 2e 0a |the Spar|eBlock..|
|00004840| 20 0a 5c 73 65 63 74 69 | 6f 6e 7b 5c 68 65 61 64 | .\secti|on{\head|
|00004850| 73 20 45 78 74 65 6e 64 | 65 64 20 41 74 74 72 69 |s Extend|ed Attri|
|00004860| 62 75 74 65 73 7d 0a 20 | 0a 46 69 6c 65 20 61 74 |butes}. |.File at|
|00004870| 74 72 69 62 75 74 65 73 | 20 61 72 65 20 69 6e 66 |tributes| are inf|
|00004880| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 61 |ormation| about a|
|00004890| 20 66 69 6c 65 20 74 68 | 61 74 20 69 73 20 6d 61 | file th|at is ma|
|000048a0| 69 6e 74 61 69 6e 65 64 | 20 62 79 20 74 68 65 0a |intained| by the.|
|000048b0| 6f 70 65 72 61 74 69 6e | 67 20 73 79 73 74 65 6d |operatin|g system|
|000048c0| 20 6f 75 74 73 69 64 65 | 20 74 68 65 20 66 69 6c | outside| the fil|
|000048d0| 65 27 73 20 6f 76 65 72 | 74 20 73 74 6f 72 61 67 |e's over|t storag|
|000048e0| 65 20 61 72 65 61 2e 20 | 20 54 68 65 20 46 41 54 |e area. | The FAT|
|000048f0| 20 66 69 6c 65 20 73 79 | 73 74 65 6d 0a 73 75 70 | file sy|stem.sup|
|00004900| 70 6f 72 74 73 20 6f 6e | 6c 79 20 61 20 66 65 77 |ports on|ly a few|
|00004910| 20 73 69 6d 70 6c 65 20 | 61 74 74 72 69 62 75 74 | simple |attribut|
|00004920| 65 73 20 28 72 65 61 64 | 20 6f 6e 6c 79 2c 20 73 |es (read| only, s|
|00004930| 79 73 74 65 6d 2c 20 68 | 69 64 64 65 6e 2c 20 61 |ystem, h|idden, a|
|00004940| 6e 64 0a 61 72 63 68 69 | 76 65 29 20 74 68 61 74 |nd.archi|ve) that|
|00004950| 20 61 72 65 20 61 63 74 | 75 61 6c 6c 79 20 73 74 | are act|ually st|
|00004960| 6f 72 65 64 20 61 73 20 | 62 69 74 20 66 6c 61 67 |ored as |bit flag|
|00004970| 73 20 69 6e 20 74 68 65 | 20 66 69 6c 65 27 73 20 |s in the| file's |
|00004980| 64 69 72 65 63 74 6f 72 | 79 20 65 6e 74 72 79 3b |director|y entry;|
|00004990| 0a 74 68 65 73 65 20 61 | 74 74 72 69 62 75 74 65 |.these a|ttribute|
|000049a0| 73 20 61 72 65 20 69 6e | 73 70 65 63 74 65 64 20 |s are in|spected |
|000049b0| 6f 72 20 6d 6f 64 69 66 | 69 65 64 20 62 79 20 73 |or modif|ied by s|
|000049c0| 70 65 63 69 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 |pecial f|unction |
|000049d0| 63 61 6c 6c 73 20 61 6e | 64 20 61 72 65 0a 6e 6f |calls an|d are.no|
|000049e0| 74 20 61 63 63 65 73 73 | 69 62 6c 65 20 74 68 72 |t access|ible thr|
|000049f0| 6f 75 67 68 20 74 68 65 | 20 6e 6f 72 6d 61 6c 20 |ough the| normal |
|00004a00| 66 69 6c 65 20 6f 70 65 | 6e 2c 20 72 65 61 64 2c |file ope|n, read,|
|00004a10| 20 61 6e 64 20 77 72 69 | 74 65 20 63 61 6c 6c 73 | and wri|te calls|
|00004a20| 2e 0a 20 0a 54 68 65 20 | 48 50 46 53 20 73 75 70 |.. .The |HPFS sup|
|00004a30| 70 6f 72 74 73 20 74 68 | 65 20 73 61 6d 65 20 61 |ports th|e same a|
|00004a40| 74 74 72 69 62 75 74 65 | 73 20 61 73 20 74 68 65 |ttribute|s as the|
|00004a50| 20 46 41 54 20 66 69 6c | 65 20 73 79 73 74 65 6d | FAT fil|e system|
|00004a60| 20 66 6f 72 20 68 69 73 | 74 6f 72 69 63 61 6c 0a | for his|torical.|
|00004a70| 72 65 61 73 6f 6e 73 2c | 20 62 75 74 20 69 74 20 |reasons,| but it |
|00004a80| 61 6c 73 6f 20 73 75 70 | 70 6f 72 74 73 20 61 20 |also sup|ports a |
|00004a90| 6e 65 77 20 66 6f 72 6d | 20 6f 66 20 66 69 6c 65 |new form| of file|
|00004aa0| 2d 61 73 73 6f 63 69 61 | 74 65 64 2c 20 68 69 67 |-associa|ted, hig|
|00004ab0| 68 6c 79 0a 67 65 6e 65 | 72 61 6c 69 7a 65 64 20 |hly.gene|ralized |
|00004ac0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 63 61 6c 6c |informat|ion call|
|00004ad0| 65 64 20 45 78 74 65 6e | 64 65 64 20 41 74 74 72 |ed Exten|ded Attr|
|00004ae0| 69 62 75 74 65 73 20 28 | 45 41 73 29 2e 20 20 45 |ibutes (|EAs). E|
|00004af0| 61 63 68 20 45 41 20 69 | 73 0a 63 6f 6e 63 65 70 |ach EA i|s.concep|
|00004b00| 74 75 61 6c 6c 79 20 73 | 69 6d 69 6c 61 72 20 74 |tually s|imilar t|
|00004b10| 6f 20 61 6e 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |o an env|ironment|
|00004b20| 20 76 61 72 69 61 62 6c | 65 2c 20 74 61 6b 69 6e | variabl|e, takin|
|00004b30| 67 20 74 68 65 20 66 6f | 72 6d 0a 5c 62 65 67 69 |g the fo|rm.\begi|
|00004b40| 6e 7b 63 65 6e 74 65 72 | 7d 0a 6e 61 6d 65 2d 2d |n{center|}.name--|
|00004b50| 76 61 6c 75 65 0a 5c 65 | 6e 64 7b 63 65 6e 74 65 |value.\e|nd{cente|
|00004b60| 72 7d 0a 65 78 63 65 70 | 74 20 74 68 61 74 20 74 |r}.excep|t that t|
|00004b70| 68 65 20 76 61 6c 75 65 | 20 70 6f 72 74 69 6f 6e |he value| portion|
|00004b80| 20 63 61 6e 20 62 65 20 | 65 69 74 68 65 72 20 61 | can be |either a|
|00004b90| 20 6e 75 6c 6c 2d 74 65 | 72 6d 69 6e 61 74 65 64 | null-te|rminated|
|00004ba0| 20 28 41 53 43 49 49 5a | 29 20 73 74 72 69 6e 67 | (ASCIIZ|) string|
|00004bb0| 0a 6f 72 20 62 69 6e 61 | 72 79 20 64 61 74 61 2e |.or bina|ry data.|
|00004bc0| 20 49 6e 20 4f 53 2f 32 | 20 31 2e 32 2c 20 65 61 | In OS/2| 1.2, ea|
|00004bd0| 63 68 20 66 69 6c 65 20 | 6f 72 20 64 69 72 65 63 |ch file |or direc|
|00004be0| 74 6f 72 79 20 63 61 6e | 20 68 61 76 65 20 61 20 |tory can| have a |
|00004bf0| 6d 61 78 69 6d 75 6d 20 | 6f 66 0a 36 34 4b 62 20 |maximum |of.64Kb |
|00004c00| 6f 66 20 45 41 73 20 61 | 74 74 61 63 68 65 64 20 |of EAs a|ttached |
|00004c10| 74 6f 20 69 74 2e 20 20 | 54 68 69 73 20 6c 69 6d |to it. |This lim|
|00004c20| 69 74 20 6d 61 79 20 62 | 65 20 6c 69 66 74 65 64 |it may b|e lifted|
|00004c30| 20 69 6e 20 61 20 6c 61 | 74 65 72 20 72 65 6c 65 | in a la|ter rele|
|00004c40| 61 73 65 20 6f 66 0a 4f | 53 2f 32 2e 0a 20 0a 54 |ase of.O|S/2.. .T|
|00004c50| 68 65 20 73 74 6f 72 61 | 67 65 20 6d 65 74 68 6f |he stora|ge metho|
|00004c60| 64 20 66 6f 72 20 45 41 | 73 20 63 61 6e 20 76 61 |d for EA|s can va|
|00004c70| 72 79 2e 20 20 49 66 20 | 74 68 65 20 45 41 73 20 |ry. If |the EAs |
|00004c80| 61 73 73 6f 63 69 61 74 | 65 64 20 77 69 74 68 20 |associat|ed with |
|00004c90| 61 20 67 69 76 65 6e 20 | 66 69 6c 65 0a 6f 72 20 |a given |file.or |
|00004ca0| 64 69 72 65 63 74 6f 72 | 79 20 61 72 65 20 73 6d |director|y are sm|
|00004cb0| 61 6c 6c 20 65 6e 6f 75 | 67 68 2c 20 74 68 65 79 |all enou|gh, they|
|00004cc0| 20 77 69 6c 6c 20 62 65 | 20 73 74 6f 72 65 64 20 | will be| stored |
|00004cd0| 72 69 67 68 74 20 69 6e | 20 74 68 65 20 46 6e 6f |right in| the Fno|
|00004ce0| 64 65 2e 20 20 49 66 0a | 74 68 65 20 74 6f 74 61 |de. If.|the tota|
|00004cf0| 6c 20 73 69 7a 65 20 6f | 66 20 74 68 65 20 45 41 |l size o|f the EA|
|00004d00| 73 20 69 73 20 74 6f 6f | 20 6c 61 72 67 65 2c 20 |s is too| large, |
|00004d10| 74 68 65 79 20 61 72 65 | 20 73 74 6f 72 65 64 20 |they are| stored |
|00004d20| 6f 75 74 73 69 64 65 20 | 74 68 65 20 46 6e 6f 64 |outside |the Fnod|
|00004d30| 65 20 69 6e 0a 73 65 63 | 74 6f 72 20 72 75 6e 73 |e in.sec|tor runs|
|00004d40| 2c 20 61 6e 64 20 61 20 | 42 2b 20 54 72 65 65 20 |, and a |B+ Tree |
|00004d50| 6f 66 20 61 6c 6c 6f 63 | 61 74 69 6f 6e 20 73 65 |of alloc|ation se|
|00004d60| 63 74 6f 72 73 20 63 61 | 6e 20 62 65 20 63 72 65 |ctors ca|n be cre|
|00004d70| 61 74 65 64 20 74 6f 20 | 64 65 73 63 72 69 62 65 |ated to |describe|
|00004d80| 0a 74 68 65 20 72 75 6e | 73 2e 20 20 49 66 20 61 |.the run|s. If a|
|00004d90| 20 73 69 6e 67 6c 65 20 | 45 41 20 67 65 74 73 20 | single |EA gets |
|00004da0| 74 6f 6f 20 6c 61 72 67 | 65 2c 20 69 74 20 63 61 |too larg|e, it ca|
|00004db0| 6e 20 62 65 20 70 75 73 | 68 65 64 20 6f 75 74 73 |n be pus|hed outs|
|00004dc0| 69 64 65 20 74 68 65 20 | 46 6e 6f 64 65 0a 69 6e |ide the |Fnode.in|
|00004dd0| 74 6f 20 61 20 42 2b 20 | 54 72 65 65 20 6f 66 20 |to a B+ |Tree of |
|00004de0| 69 74 73 20 6f 77 6e 2e | 0a 20 0a 54 68 65 20 6b |its own.|. .The k|
|00004df0| 65 72 6e 65 6c 20 41 50 | 49 20 66 75 6e 63 74 69 |ernel AP|I functi|
|00004e00| 6f 6e 73 20 44 6f 73 51 | 46 69 6c 65 49 6e 66 6f |ons DosQ|FileInfo|
|00004e10| 20 61 6e 64 20 44 6f 73 | 53 65 74 46 69 6c 65 49 | and Dos|SetFileI|
|00004e20| 6e 66 6f 20 68 61 76 65 | 20 62 65 65 6e 20 65 78 |nfo have| been ex|
|00004e30| 70 61 6e 64 65 64 0a 77 | 69 74 68 20 6e 65 77 20 |panded.w|ith new |
|00004e40| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 6c 65 76 65 |informat|ion leve|
|00004e50| 6c 73 20 74 68 61 74 20 | 61 6c 6c 6f 77 20 61 70 |ls that |allow ap|
|00004e60| 70 6c 69 63 61 74 69 6f | 6e 20 70 72 6f 67 72 61 |plicatio|n progra|
|00004e70| 6d 73 20 74 6f 20 6d 61 | 6e 69 70 75 6c 61 74 65 |ms to ma|nipulate|
|00004e80| 0a 65 78 74 65 6e 64 65 | 64 20 61 74 74 72 69 62 |.extende|d attrib|
|00004e90| 75 74 65 73 20 66 6f 72 | 20 66 69 6c 65 73 2e 20 |utes for| files. |
|00004ea0| 20 54 68 65 20 6e 65 77 | 20 66 75 6e 63 74 69 6f | The new| functio|
|00004eb0| 6e 73 20 44 6f 73 51 50 | 61 74 68 49 6e 66 6f 20 |ns DosQP|athInfo |
|00004ec0| 61 6e 64 0a 44 6f 73 53 | 65 74 50 61 74 68 49 6e |and.DosS|etPathIn|
|00004ed0| 66 6f 20 61 72 65 20 75 | 73 65 64 20 74 6f 20 72 |fo are u|sed to r|
|00004ee0| 65 61 64 20 6f 72 20 77 | 72 69 74 65 20 74 68 65 |ead or w|rite the|
|00004ef0| 20 45 41 73 20 61 73 73 | 6f 63 69 61 74 65 64 20 | EAs ass|ociated |
|00004f00| 77 69 74 68 20 61 72 62 | 69 74 72 61 72 79 0a 70 |with arb|itrary.p|
|00004f10| 61 74 68 6e 61 6d 65 73 | 2e 20 20 41 6e 20 61 70 |athnames|. An ap|
|00004f20| 70 6c 69 63 61 74 69 6f | 6e 20 70 72 6f 67 72 61 |plicatio|n progra|
|00004f30| 6d 20 63 61 6e 20 65 69 | 74 68 65 72 20 61 73 6b |m can ei|ther ask|
|00004f40| 20 66 6f 72 20 74 68 65 | 20 76 61 6c 75 65 20 6f | for the| value o|
|00004f50| 66 20 61 20 73 70 65 63 | 69 66 69 63 0a 45 41 20 |f a spec|ific.EA |
|00004f60| 28 73 75 70 70 6c 79 69 | 6e 67 20 61 20 6e 61 6d |(supplyi|ng a nam|
|00004f70| 65 20 74 6f 20 62 65 20 | 6d 61 74 63 68 65 64 29 |e to be |matched)|
|00004f80| 20 6f 72 20 63 61 6e 20 | 6f 62 74 61 69 6e 20 61 | or can |obtain a|
|00004f90| 6c 6c 20 6f 66 20 74 68 | 65 20 45 41 73 20 66 6f |ll of th|e EAs fo|
|00004fa0| 72 20 74 68 65 20 66 69 | 6c 65 0a 6f 72 20 64 69 |r the fi|le.or di|
|00004fb0| 72 65 63 74 6f 72 79 20 | 61 74 20 6f 6e 63 65 2e |rectory |at once.|
|00004fc0| 0a 20 0a 41 6c 74 68 6f | 75 67 68 20 61 70 70 6c |. .Altho|ugh appl|
|00004fd0| 69 63 61 74 69 6f 6e 20 | 70 72 6f 67 72 61 6d 73 |ication |programs|
|00004fe0| 20 63 61 6e 20 62 65 67 | 69 6e 20 74 6f 20 74 61 | can beg|in to ta|
|00004ff0| 6b 65 20 61 64 76 61 6e | 74 61 67 65 20 6f 66 20 |ke advan|tage of |
|00005000| 45 41 73 20 61 73 20 73 | 6f 6f 6e 20 61 73 0a 74 |EAs as s|oon as.t|
|00005010| 68 65 20 48 50 46 53 20 | 69 73 20 72 65 6c 65 61 |he HPFS |is relea|
|00005020| 73 65 64 2c 20 73 75 70 | 70 6f 72 74 20 66 6f 72 |sed, sup|port for|
|00005030| 20 45 41 73 20 69 73 20 | 61 6e 20 65 73 73 65 6e | EAs is |an essen|
|00005040| 74 69 61 6c 20 63 6f 6d | 70 6f 6e 65 6e 74 20 69 |tial com|ponent i|
|00005050| 6e 0a 4d 69 63 72 6f 73 | 6f 66 74 27 73 20 6c 6f |n.Micros|oft's lo|
|00005060| 6e 67 2d 72 61 6e 67 65 | 20 70 6c 61 6e 73 20 66 |ng-range| plans f|
|00005070| 6f 72 20 6f 62 6a 65 63 | 74 2d 6f 72 69 65 6e 74 |or objec|t-orient|
|00005080| 65 64 20 66 69 6c 65 20 | 73 79 73 74 65 6d 73 2e |ed file |systems.|
|00005090| 20 49 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 66 0a | Informa|tion of.|
|000050a0| 61 6c 6d 6f 73 74 20 61 | 6e 79 20 74 79 70 65 20 |almost a|ny type |
|000050b0| 63 61 6e 20 62 65 20 73 | 74 6f 72 65 64 20 69 6e |can be s|tored in|
|000050c0| 20 45 41 73 2c 20 72 61 | 6e 67 69 6e 67 20 66 72 | EAs, ra|nging fr|
|000050d0| 6f 6d 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |om the n|ame of t|
|000050e0| 68 65 0a 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 74 |he.appli|cation t|
|000050f0| 68 61 74 20 6f 77 6e 73 | 20 74 68 65 20 66 69 6c |hat owns| the fil|
|00005100| 65 20 74 6f 20 6e 61 6d | 65 73 20 6f 66 20 64 65 |e to nam|es of de|
|00005110| 70 65 6e 64 65 6e 74 20 | 66 69 6c 65 73 20 74 6f |pendent |files to|
|00005120| 20 69 63 6f 6e 73 20 74 | 6f 0a 65 78 65 63 75 74 | icons t|o.execut|
|00005130| 61 62 6c 65 20 63 6f 64 | 65 2e 20 20 41 73 20 74 |able cod|e. As t|
|00005140| 68 65 20 48 50 46 53 20 | 65 76 6f 6c 76 65 73 2c |he HPFS |evolves,|
|00005150| 20 69 74 73 20 66 61 63 | 69 6c 69 74 69 65 73 20 | its fac|ilities |
|00005160| 66 6f 72 20 6d 61 6e 69 | 70 75 6c 61 74 69 6e 67 |for mani|pulating|
|00005170| 20 45 41 73 0a 61 72 65 | 20 6c 69 6b 65 6c 79 20 | EAs.are| likely |
|00005180| 74 6f 20 62 65 63 6f 6d | 65 20 6d 75 63 68 20 6d |to becom|e much m|
|00005190| 6f 72 65 20 73 6f 70 68 | 69 73 74 69 63 61 74 65 |ore soph|isticate|
|000051a0| 64 2e 20 20 49 74 27 73 | 20 65 61 73 79 20 74 6f |d. It's| easy to|
|000051b0| 20 69 6d 61 67 69 6e 65 | 2c 20 66 6f 72 0a 65 78 | imagine|, for.ex|
|000051c0| 61 6d 70 6c 65 2c 20 74 | 68 61 74 20 69 6e 20 66 |ample, t|hat in f|
|000051d0| 75 74 75 72 65 20 76 65 | 72 73 69 6f 6e 73 20 74 |uture ve|rsions t|
|000051e0| 68 65 20 41 50 49 20 6d | 69 67 68 74 20 62 65 20 |he API m|ight be |
|000051f0| 65 78 74 65 6e 64 65 64 | 20 77 69 74 68 20 45 41 |extended| with EA|
|00005200| 20 66 75 6e 63 74 69 6f | 6e 73 0a 74 68 61 74 20 | functio|ns.that |
|00005210| 61 72 65 20 61 6e 61 6c | 6f 67 6f 75 73 20 74 6f |are anal|ogous to|
|00005220| 20 44 6f 73 46 69 6e 64 | 46 69 72 73 74 20 61 6e | DosFind|First an|
|00005230| 64 20 44 6f 73 46 69 6e | 64 4e 65 78 74 20 61 6e |d DosFin|dNext an|
|00005240| 64 20 45 41 20 64 61 74 | 61 20 6d 69 67 68 74 20 |d EA dat|a might |
|00005250| 67 65 74 0a 6f 72 67 61 | 6e 69 7a 65 64 20 69 6e |get.orga|nized in|
|00005260| 74 6f 20 42 20 54 72 65 | 65 73 2e 0a 20 0a 49 20 |to B Tre|es.. .I |
|00005270| 73 68 6f 75 6c 64 20 6e | 6f 74 65 20 68 65 72 65 |should n|ote here|
|00005280| 20 74 68 61 74 20 69 6e | 20 61 64 64 69 74 69 6f | that in| additio|
|00005290| 6e 20 74 6f 20 45 41 73 | 2c 20 74 68 65 20 4c 41 |n to EAs|, the LA|
|000052a0| 4e 20 4d 61 6e 61 67 65 | 72 20 76 65 72 73 69 6f |N Manage|r versio|
|000052b0| 6e 20 6f 66 20 48 50 46 | 53 0a 77 69 6c 6c 20 73 |n of HPF|S.will s|
|000052c0| 75 70 70 6f 72 74 20 61 | 6e 6f 74 68 65 72 20 63 |upport a|nother c|
|000052d0| 6c 61 73 73 20 6f 66 20 | 66 69 6c 65 2d 61 73 73 |lass of |file-ass|
|000052e0| 6f 63 69 61 74 65 64 20 | 69 6e 66 6f 72 6d 61 74 |ociated |informat|
|000052f0| 69 6f 6e 20 63 61 6c 6c | 65 64 20 41 63 63 65 73 |ion call|ed Acces|
|00005300| 73 0a 43 6f 6e 74 72 6f | 6c 20 4c 69 73 74 73 20 |s.Contro|l Lists |
|00005310| 28 41 43 4c 73 29 2e 20 | 20 41 43 4c 73 20 68 61 |(ACLs). | ACLs ha|
|00005320| 76 65 20 74 68 65 20 73 | 61 6d 65 20 67 65 6e 65 |ve the s|ame gene|
|00005330| 72 61 6c 20 61 70 70 65 | 61 72 61 6e 63 65 20 61 |ral appe|arance a|
|00005340| 73 20 45 41 73 20 61 6e | 64 20 61 72 65 0a 6d 61 |s EAs an|d are.ma|
|00005350| 6e 69 70 75 6c 61 74 65 | 64 20 69 6e 20 61 20 73 |nipulate|d in a s|
|00005360| 69 6d 69 6c 61 72 20 6d | 61 6e 6e 65 72 2c 20 62 |imilar m|anner, b|
|00005370| 75 74 20 74 68 65 79 20 | 61 72 65 20 75 73 65 64 |ut they |are used|
|00005380| 20 74 6f 20 73 74 6f 72 | 65 20 61 63 63 65 73 73 | to stor|e access|
|00005390| 20 72 69 67 68 74 73 2c | 0a 70 61 73 73 77 6f 72 | rights,|.passwor|
|000053a0| 64 73 2c 20 61 6e 64 20 | 6f 74 68 65 72 20 69 6e |ds, and |other in|
|000053b0| 66 6f 72 6d 61 74 69 6f | 6e 20 6f 66 20 69 6e 74 |formatio|n of int|
|000053c0| 65 72 65 73 74 20 69 6e | 20 61 20 6e 65 74 77 6f |erest in| a netwo|
|000053d0| 72 6b 69 6e 67 20 6d 75 | 6c 74 69 75 73 65 72 0a |rking mu|ltiuser.|
|000053e0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 2e 0a 20 0a 5c |environm|ent.. .\|
|000053f0| 73 65 63 74 69 6f 6e 7b | 5c 68 65 61 64 73 20 49 |section{|\heads I|
|00005400| 6e 73 74 61 6c 6c 61 62 | 6c 65 20 46 69 6c 65 20 |nstallab|le File |
|00005410| 53 79 73 74 65 6d 73 7d | 0a 20 0a 53 75 70 70 6f |Systems}|. .Suppo|
|00005420| 72 74 20 66 6f 72 20 69 | 6e 73 74 61 6c 6c 61 62 |rt for i|nstallab|
|00005430| 6c 65 20 66 69 6c 65 20 | 73 79 73 74 65 6d 73 20 |le file |systems |
|00005440| 68 61 73 20 62 65 65 6e | 20 6f 6e 65 20 6f 66 20 |has been| one of |
|00005450| 74 68 65 20 6d 6f 73 74 | 20 65 61 67 65 72 6c 79 |the most| eagerly|
|00005460| 0a 61 6e 74 69 63 69 70 | 61 74 65 64 20 66 65 61 |.anticip|ated fea|
|00005470| 74 75 72 65 73 20 6f 66 | 20 4f 53 2f 32 20 56 65 |tures of| OS/2 Ve|
|00005480| 72 73 69 6f 6e 20 31 2e | 32 2e 20 20 49 74 20 77 |rsion 1.|2. It w|
|00005490| 69 6c 6c 20 6d 61 6b 65 | 20 69 74 20 70 6f 73 73 |ill make| it poss|
|000054a0| 69 62 6c 65 20 74 6f 20 | 61 63 63 65 73 73 0a 6d |ible to |access.m|
|000054b0| 75 6c 74 69 70 6c 65 20 | 69 6e 63 6f 6d 70 61 74 |ultiple |incompat|
|000054c0| 69 62 6c 65 20 76 6f 6c | 75 6d 65 20 73 74 72 75 |ible vol|ume stru|
|000054d0| 63 74 75 72 65 73 2d 2d | 2d 46 41 54 2c 20 48 50 |ctures--|-FAT, HP|
|000054e0| 46 53 2c 20 43 44 20 52 | 4f 4d 2c 20 61 6e 64 20 |FS, CD R|OM, and |
|000054f0| 70 65 72 68 61 70 73 20 | 65 76 65 6e 0a 55 4e 49 |perhaps |even.UNI|
|00005500| 58 2d 2d 2d 6f 6e 20 74 | 68 65 20 73 61 6d 65 20 |X---on t|he same |
|00005510| 4f 53 2f 32 20 73 79 73 | 74 65 6d 20 61 74 20 74 |OS/2 sys|tem at t|
|00005520| 68 65 20 73 61 6d 65 20 | 74 69 6d 65 2c 20 77 69 |he same |time, wi|
|00005530| 6c 6c 20 73 69 6d 70 6c | 69 66 79 20 74 68 65 20 |ll simpl|ify the |
|00005540| 6c 69 66 65 20 6f 66 0a | 6e 65 74 77 6f 72 6b 20 |life of.|network |
|00005550| 69 6d 70 6c 65 6d 65 6e | 74 6f 72 73 2c 20 61 6e |implemen|tors, an|
|00005560| 64 20 77 69 6c 6c 20 6f | 70 65 6e 20 74 68 65 20 |d will o|pen the |
|00005570| 64 6f 6f 72 20 74 6f 20 | 72 61 70 69 64 20 66 69 |door to |rapid fi|
|00005580| 6c 65 20 73 79 73 74 65 | 6d 20 65 76 6f 6c 75 74 |le syste|m evolut|
|00005590| 69 6f 6e 0a 61 6e 64 20 | 69 6e 6e 6f 76 61 74 69 |ion.and |innovati|
|000055a0| 6f 6e 2e 20 20 49 6e 73 | 74 61 6c 6c 61 62 6c 65 |on. Ins|tallable|
|000055b0| 20 66 69 6c 65 20 73 79 | 73 74 65 6d 73 20 61 72 | file sy|stems ar|
|000055c0| 65 2c 20 68 6f 77 65 76 | 65 72 2c 20 6f 6e 6c 79 |e, howev|er, only|
|000055d0| 20 72 65 6c 65 76 61 6e | 74 20 74 6f 20 74 68 65 | relevan|t to the|
|000055e0| 0a 48 50 46 53 20 69 6e | 73 6f 66 61 72 20 61 73 |.HPFS in|sofar as|
|000055f0| 20 74 68 65 79 20 6d 61 | 6b 65 20 75 73 65 20 6f | they ma|ke use o|
|00005600| 66 20 74 68 65 20 48 50 | 46 53 20 6f 70 74 69 6f |f the HP|FS optio|
|00005610| 6e 61 6c 2e 20 20 54 68 | 65 20 46 41 54 20 66 69 |nal. Th|e FAT fi|
|00005620| 6c 65 20 73 79 73 74 65 | 6d 20 69 73 0a 73 74 69 |le syste|m is.sti|
|00005630| 6c 6c 20 65 6d 62 65 64 | 64 65 64 20 69 6e 20 74 |ll embed|ded in t|
|00005640| 68 65 20 4f 53 2f 32 20 | 6b 65 72 6e 65 6c 2c 20 |he OS/2 |kernel, |
|00005650| 61 73 20 69 74 20 77 61 | 73 20 69 6e 20 4f 53 2f |as it wa|s in OS/|
|00005660| 32 20 31 2e 30 20 61 6e | 64 20 31 2e 31 2c 20 61 |2 1.0 an|d 1.1, a|
|00005670| 6e 64 20 77 69 6c 6c 0a | 72 65 6d 61 69 6e 20 74 |nd will.|remain t|
|00005680| 68 65 72 65 20 61 73 20 | 74 68 65 20 63 6f 6d 70 |here as |the comp|
|00005690| 61 74 69 62 69 6c 69 74 | 79 20 66 69 6c 65 20 73 |atibilit|y file s|
|000056a0| 79 73 74 65 6d 20 66 6f | 72 20 73 6f 6d 65 20 74 |ystem fo|r some t|
|000056b0| 69 6d 65 20 74 6f 20 63 | 6f 6d 65 2e 0a 20 0a 41 |ime to c|ome.. .A|
|000056c0| 6e 20 69 6e 73 74 61 6c | 6c 61 62 6c 65 20 66 69 |n instal|lable fi|
|000056d0| 6c 65 20 73 79 73 74 65 | 6d 20 64 72 69 76 65 72 |le syste|m driver|
|000056e0| 20 28 46 53 44 29 20 69 | 73 20 61 6e 61 6c 6f 67 | (FSD) i|s analog|
|000056f0| 6f 75 73 20 69 6e 20 6d | 61 6e 79 20 77 61 79 73 |ous in m|any ways|
|00005700| 20 74 6f 20 61 20 64 65 | 76 69 63 65 0a 64 72 69 | to a de|vice.dri|
|00005710| 76 65 72 2e 20 20 41 6e | 20 46 53 44 20 72 65 73 |ver. An| FSD res|
|00005720| 69 64 65 73 20 6f 6e 20 | 74 68 65 20 64 69 73 6b |ides on |the disk|
|00005730| 20 69 6e 20 61 20 66 69 | 6c 65 20 74 68 61 74 20 | in a fi|le that |
|00005740| 69 73 20 73 74 72 75 63 | 74 75 72 65 64 20 6c 69 |is struc|tured li|
|00005750| 6b 65 20 61 0a 64 79 6e | 61 6d 69 63 2d 6c 69 6e |ke a.dyn|amic-lin|
|00005760| 6b 20 6c 69 62 72 61 72 | 79 20 28 44 4c 4c 29 2c |k librar|y (DLL),|
|00005770| 20 74 79 70 69 63 61 6c | 6c 79 20 77 69 74 68 20 | typical|ly with |
|00005780| 61 20 53 59 53 20 6f 72 | 20 49 46 53 20 65 78 74 |a SYS or| IFS ext|
|00005790| 65 6e 73 69 6f 6e 2c 20 | 61 6e 64 20 69 73 0a 6c |ension, |and is.l|
|000057a0| 6f 61 64 65 64 20 64 75 | 72 69 6e 67 20 73 79 73 |oaded du|ring sys|
|000057b0| 74 65 6d 20 69 6e 69 74 | 69 61 6c 69 7a 61 74 69 |tem init|ializati|
|000057c0| 6f 6e 20 62 79 20 49 46 | 53 3d 20 73 74 61 74 65 |on by IF|S= state|
|000057d0| 6d 65 6e 74 73 20 69 6e | 20 74 68 65 20 43 4f 4e |ments in| the CON|
|000057e0| 46 49 47 2e 53 59 53 0a | 66 69 6c 65 2e 20 20 49 |FIG.SYS.|file. I|
|000057f0| 46 53 3d 20 64 69 72 65 | 63 74 69 76 65 73 20 61 |FS= dire|ctives a|
|00005800| 72 65 20 70 72 6f 63 65 | 73 73 65 64 20 69 6e 20 |re proce|ssed in |
|00005810| 74 68 65 20 6f 72 64 65 | 72 20 74 68 65 79 20 61 |the orde|r they a|
|00005820| 72 65 20 65 6e 63 6f 75 | 6e 74 65 72 65 64 20 61 |re encou|ntered a|
|00005830| 6e 64 0a 61 72 65 20 61 | 6c 73 6f 20 73 65 6e 73 |nd.are a|lso sens|
|00005840| 69 74 69 76 65 20 74 6f | 20 74 68 65 20 6f 72 64 |itive to| the ord|
|00005850| 65 72 20 6f 66 20 44 45 | 56 49 43 45 3d 20 73 74 |er of DE|VICE= st|
|00005860| 61 74 65 6d 65 6e 74 73 | 20 66 6f 72 20 64 65 76 |atements| for dev|
|00005870| 69 63 65 20 64 72 69 76 | 65 72 73 2e 0a 54 68 69 |ice driv|ers..Thi|
|00005880| 73 20 6c 65 74 73 20 79 | 6f 75 20 6c 6f 61 64 20 |s lets y|ou load |
|00005890| 61 20 64 65 76 69 63 65 | 20 64 72 69 76 65 72 20 |a device| driver |
|000058a0| 66 6f 72 20 61 20 6e 6f | 6e 73 74 61 6e 64 61 72 |for a no|nstandar|
|000058b0| 64 20 64 65 76 69 63 65 | 2c 20 6c 6f 61 64 20 61 |d device|, load a|
|000058c0| 20 66 69 6c 65 0a 73 79 | 73 74 65 6d 20 64 72 69 | file.sy|stem dri|
|000058d0| 76 65 72 20 66 72 6f 6d | 20 61 20 76 6f 6c 75 6d |ver from| a volum|
|000058e0| 65 20 6f 6e 20 74 68 61 | 74 20 64 65 76 69 63 65 |e on tha|t device|
|000058f0| 2c 20 61 6e 64 20 73 6f | 20 6f 6e 2e 0a 20 0a 4f |, and so| on.. .O|
|00005900| 6e 63 65 20 61 6e 20 46 | 53 44 20 69 73 20 69 6e |nce an F|SD is in|
|00005910| 73 74 61 6c 6c 65 64 20 | 61 6e 64 20 69 6e 69 74 |stalled |and init|
|00005920| 69 61 6c 69 7a 65 64 2c | 20 74 68 65 20 6b 65 72 |ialized,| the ker|
|00005930| 6e 65 6c 20 63 6f 6d 6d | 75 6e 69 63 61 74 65 73 |nel comm|unicates|
|00005940| 20 77 69 74 68 20 69 74 | 20 69 6e 0a 74 65 72 6d | with it| in.term|
|00005950| 73 20 6f 66 20 6c 6f 67 | 69 63 61 6c 20 72 65 71 |s of log|ical req|
|00005960| 75 65 73 74 73 20 66 6f | 72 20 66 69 6c 65 20 6f |uests fo|r file o|
|00005970| 70 65 6e 73 2c 20 72 65 | 61 64 73 2c 20 77 72 69 |pens, re|ads, wri|
|00005980| 74 65 73 2c 20 73 65 65 | 6b 73 2c 20 63 6c 6f 73 |tes, see|ks, clos|
|00005990| 65 73 2c 20 61 6e 64 0a | 73 6f 20 6f 6e 2e 20 20 |es, and.|so on. |
|000059a0| 54 68 65 20 46 53 44 20 | 74 72 61 6e 73 6c 61 74 |The FSD |translat|
|000059b0| 65 73 20 74 68 65 73 65 | 20 72 65 71 75 65 73 74 |es these| request|
|000059c0| 73 2d 2d 2d 75 73 69 6e | 67 20 63 6f 6e 74 72 6f |s---usin|g contro|
|000059d0| 6c 20 73 74 72 75 63 74 | 75 72 65 73 20 61 6e 64 |l struct|ures and|
|000059e0| 0a 74 61 62 6c 65 73 0a | 66 6f 75 6e 64 20 6f 6e |.tables.|found on|
|000059f0| 20 74 68 65 20 76 6f 6c | 75 6d 65 20 69 74 73 65 | the vol|ume itse|
|00005a00| 6c 66 2d 2d 2d 69 6e 74 | 6f 20 72 65 71 75 65 73 |lf---int|o reques|
|00005a10| 74 73 20 66 6f 72 20 73 | 65 63 74 6f 72 20 72 65 |ts for s|ector re|
|00005a20| 61 64 73 20 61 6e 64 20 | 77 72 69 74 65 73 20 66 |ads and |writes f|
|00005a30| 6f 72 0a 77 68 69 63 68 | 20 69 74 20 63 61 6e 20 |or.which| it can |
|00005a40| 63 61 6c 6c 20 73 70 65 | 63 69 61 6c 20 6b 65 72 |call spe|cial ker|
|00005a50| 6e 65 6c 20 65 6e 74 72 | 79 20 70 6f 69 6e 74 73 |nel entr|y points|
|00005a60| 20 63 61 6c 6c 65 64 20 | 46 69 6c 65 20 53 79 73 | called |File Sys|
|00005a70| 74 65 6d 20 48 65 6c 70 | 65 72 73 0a 28 46 73 48 |tem Help|ers.(FsH|
|00005a80| 6c 70 73 29 2e 20 20 54 | 68 65 20 6b 65 72 6e 65 |lps). T|he kerne|
|00005a90| 6c 20 70 61 73 73 65 73 | 20 74 68 65 20 64 65 6d |l passes| the dem|
|00005aa0| 61 6e 64 73 20 66 6f 72 | 20 73 65 63 74 6f 72 20 |ands for| sector |
|00005ab0| 49 2f 4f 20 74 6f 20 74 | 68 65 20 61 70 70 72 6f |I/O to t|he appro|
|00005ac0| 70 72 69 61 74 65 0a 64 | 65 76 69 63 65 20 64 72 |priate.d|evice dr|
|00005ad0| 69 76 65 72 20 61 6e 64 | 20 72 65 74 75 72 6e 73 |iver and| returns|
|00005ae0| 20 74 68 65 20 72 65 73 | 75 6c 74 73 20 74 6f 20 | the res|ults to |
|00005af0| 74 68 65 20 46 53 44 20 | 28 46 69 67 75 72 65 20 |the FSD |(Figure |
|00005b00| 36 29 2e 0a 20 0a 54 68 | 65 20 70 72 6f 63 65 64 |6).. .Th|e proced|
|00005b10| 75 72 65 20 75 73 65 64 | 20 62 79 20 74 68 65 20 |ure used| by the |
|00005b20| 6f 70 65 72 61 74 69 6e | 67 20 73 79 73 74 65 6d |operatin|g system|
|00005b30| 20 74 6f 20 61 73 73 6f | 63 69 61 74 65 20 76 6f | to asso|ciate vo|
|00005b40| 6c 75 6d 65 73 20 77 69 | 74 68 20 46 53 44 73 20 |lumes wi|th FSDs |
|00005b50| 69 73 0a 63 61 6c 6c 65 | 64 20 64 79 6e 61 6d 69 |is.calle|d dynami|
|00005b60| 63 20 6d 6f 75 6e 74 69 | 6e 67 20 61 6e 64 20 77 |c mounti|ng and w|
|00005b70| 6f 72 6b 73 20 61 73 20 | 66 6f 6c 6c 6f 77 73 2e |orks as |follows.|
|00005b80| 20 20 57 68 65 6e 65 76 | 65 72 20 61 20 76 6f 6c | Whenev|er a vol|
|00005b90| 75 6d 65 20 69 73 20 66 | 69 72 73 74 0a 61 63 63 |ume is f|irst.acc|
|00005ba0| 65 73 73 65 64 2c 20 6f | 72 20 61 66 74 65 72 20 |essed, o|r after |
|00005bb0| 69 74 20 68 61 73 20 62 | 65 65 6e 20 6c 6f 63 6b |it has b|een lock|
|00005bc0| 65 64 20 66 6f 72 20 64 | 69 72 65 63 74 20 61 63 |ed for d|irect ac|
|00005bd0| 63 65 73 73 20 61 6e 64 | 20 74 68 65 6e 20 75 6e |cess and| then un|
|00005be0| 6c 6f 63 6b 65 64 0a 28 | 66 6f 72 20 65 78 61 6d |locked.(|for exam|
|00005bf0| 70 6c 65 2c 20 62 79 20 | 61 20 46 4f 52 4d 41 54 |ple, by |a FORMAT|
|00005c00| 20 6f 70 65 72 61 74 69 | 6f 6e 29 2c 20 4f 53 2f | operati|on), OS/|
|00005c10| 32 20 70 72 65 73 65 6e | 74 73 20 69 64 65 6e 74 |2 presen|ts ident|
|00005c20| 69 66 79 69 6e 67 20 69 | 6e 66 6f 72 6d 61 74 69 |ifying i|nformati|
|00005c30| 6f 6e 0a 66 72 6f 6d 20 | 74 68 65 20 76 6f 6c 75 |on.from |the volu|
|00005c40| 6d 65 20 74 6f 20 65 61 | 63 68 20 6f 66 20 74 68 |me to ea|ch of th|
|00005c50| 65 20 46 53 44 73 20 69 | 6e 20 74 75 72 6e 20 75 |e FSDs i|n turn u|
|00005c60| 6e 74 69 6c 20 6f 6e 65 | 20 6f 66 20 74 68 65 6d |ntil one| of them|
|00005c70| 20 72 65 63 6f 67 6e 69 | 7a 65 73 20 74 68 65 0a | recogni|zes the.|
|00005c80| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2e 20 20 57 68 |informat|ion. Wh|
|00005c90| 65 6e 20 61 6e 20 46 53 | 44 20 63 6c 61 69 6d 73 |en an FS|D claims|
|00005ca0| 20 74 68 65 20 76 6f 6c | 75 6d 65 2c 20 74 68 65 | the vol|ume, the|
|00005cb0| 20 76 6f 6c 75 6d 65 20 | 69 73 20 6d 6f 75 6e 74 | volume |is mount|
|00005cc0| 65 64 20 61 6e 64 20 61 | 6c 6c 0a 73 75 62 73 65 |ed and a|ll.subse|
|00005cd0| 71 75 65 6e 74 20 66 69 | 6c 65 20 49 2f 4f 20 72 |quent fi|le I/O r|
|00005ce0| 65 71 75 65 73 74 73 20 | 66 6f 72 20 74 68 65 20 |equests |for the |
|00005cf0| 76 6f 6c 75 6d 65 20 61 | 72 65 20 72 6f 75 74 65 |volume a|re route|
|00005d00| 64 20 74 6f 20 74 68 61 | 74 20 46 53 44 2e 0a 20 |d to tha|t FSD.. |
|00005d10| 0a 5c 73 65 63 74 69 6f | 6e 7b 5c 68 65 61 64 73 |.\sectio|n{\heads|
|00005d20| 20 50 65 72 66 6f 72 6d | 61 6e 63 65 20 49 73 73 | Perform|ance Iss|
|00005d30| 75 65 73 7d 0a 20 0a 54 | 68 65 20 48 50 46 53 20 |ues}. .T|he HPFS |
|00005d40| 61 74 74 61 63 6b 73 20 | 70 6f 74 65 6e 74 69 61 |attacks |potentia|
|00005d50| 6c 20 62 6f 74 74 6c 65 | 6e 65 63 6b 73 20 69 6e |l bottle|necks in|
|00005d60| 20 64 69 73 6b 20 74 68 | 72 6f 75 67 68 70 75 74 | disk th|roughput|
|00005d70| 20 61 74 20 6d 75 6c 74 | 69 70 6c 65 20 6c 65 76 | at mult|iple lev|
|00005d80| 65 6c 73 2e 0a 49 74 20 | 75 73 65 73 20 61 64 76 |els..It |uses adv|
|00005d90| 61 6e 63 65 64 20 64 61 | 74 61 20 73 74 72 75 63 |anced da|ta struc|
|00005da0| 74 75 72 65 73 2c 20 63 | 6f 6e 74 69 67 75 6f 75 |tures, c|ontiguou|
|00005db0| 73 20 73 65 63 74 6f 72 | 20 61 6c 6c 6f 63 61 74 |s sector| allocat|
|00005dc0| 69 6f 6e 2c 20 69 6e 74 | 65 6c 6c 69 67 65 6e 74 |ion, int|elligent|
|00005dd0| 0a 63 61 63 68 69 6e 67 | 2c 20 72 65 61 64 2d 61 |.caching|, read-a|
|00005de0| 68 65 61 64 2c 20 61 6e | 64 20 64 65 66 65 72 72 |head, an|d deferr|
|00005df0| 65 64 20 77 72 69 74 65 | 73 20 69 6e 20 6f 72 64 |ed write|s in ord|
|00005e00| 65 72 20 74 6f 20 62 6f | 6f 73 74 20 70 65 72 66 |er to bo|ost perf|
|00005e10| 6f 72 6d 61 6e 63 65 2e | 0a 20 0a 46 69 72 73 74 |ormance.|. .First|
|00005e20| 2c 20 74 68 65 20 48 50 | 46 53 20 6d 61 74 63 68 |, the HP|FS match|
|00005e30| 65 73 20 69 74 73 20 64 | 61 74 61 20 73 74 72 75 |es its d|ata stru|
|00005e40| 63 74 75 72 65 73 20 74 | 6f 20 74 68 65 20 74 61 |ctures t|o the ta|
|00005e50| 73 6b 20 61 74 20 68 61 | 6e 64 3a 0a 73 6f 70 68 |sk at ha|nd:.soph|
|00005e60| 69 73 74 69 63 61 74 65 | 64 20 64 61 74 61 20 73 |isticate|d data s|
|00005e70| 74 72 75 63 74 75 72 65 | 73 20 28 42 20 54 72 65 |tructure|s (B Tre|
|00005e80| 65 73 20 61 6e 64 20 42 | 2b 20 54 72 65 65 73 29 |es and B|+ Trees)|
|00005e90| 20 66 6f 72 20 66 61 73 | 74 20 72 61 6e 64 6f 6d | for fas|t random|
|00005ea0| 20 61 63 63 65 73 73 0a | 74 6f 20 66 69 6c 65 6e | access.|to filen|
|00005eb0| 61 6d 65 73 2c 20 64 69 | 72 65 63 74 6f 72 79 20 |ames, di|rectory |
|00005ec0| 6e 61 6d 65 73 2c 20 61 | 6e 64 20 6c 69 73 74 73 |names, a|nd lists|
|00005ed0| 20 6f 66 20 73 65 63 74 | 6f 72 73 20 61 6c 6c 6f | of sect|ors allo|
|00005ee0| 63 61 74 65 64 20 74 6f | 20 66 69 6c 65 73 20 6f |cated to| files o|
|00005ef0| 72 0a 64 69 72 65 63 74 | 6f 72 69 65 73 2c 20 61 |r.direct|ories, a|
|00005f00| 6e 64 20 73 69 6d 70 6c | 65 20 63 6f 6d 70 61 63 |nd simpl|e compac|
|00005f10| 74 20 64 61 74 61 20 73 | 74 72 75 63 74 75 72 65 |t data s|tructure|
|00005f20| 73 20 28 62 69 74 6d 61 | 70 73 29 20 66 6f 72 20 |s (bitma|ps) for |
|00005f30| 6c 6f 63 61 74 69 6e 67 | 20 63 68 75 6e 6b 73 0a |locating| chunks.|
|00005f40| 6f 66 20 66 72 65 65 20 | 73 70 61 63 65 20 6f 66 |of free |space of|
|00005f50| 20 74 68 65 20 61 70 70 | 72 6f 70 72 69 61 74 65 | the app|ropriate|
|00005f60| 20 73 69 7a 65 2e 20 20 | 54 68 65 20 72 6f 75 74 | size. |The rout|
|00005f70| 69 6e 65 73 20 74 68 61 | 74 20 6d 61 6e 69 70 75 |ines tha|t manipu|
|00005f80| 6c 61 74 65 20 74 68 65 | 73 65 0a 64 61 74 61 20 |late the|se.data |
|00005f90| 73 74 72 75 63 74 75 72 | 65 73 20 61 72 65 20 77 |structur|es are w|
|00005fa0| 72 69 74 74 65 6e 20 69 | 6e 20 61 73 73 65 6d 62 |ritten i|n assemb|
|00005fb0| 6c 79 20 6c 61 6e 67 75 | 61 67 65 20 61 6e 64 20 |ly langu|age and |
|00005fc0| 68 61 76 65 20 62 65 65 | 6e 20 70 61 69 6e 73 74 |have bee|n painst|
|00005fd0| 61 6b 69 6e 67 6c 79 0a | 74 75 6e 65 64 2c 20 77 |akingly.|tuned, w|
|00005fe0| 69 74 68 20 73 70 65 63 | 69 61 6c 20 66 6f 63 75 |ith spec|ial focu|
|00005ff0| 73 20 6f 6e 20 74 68 65 | 20 72 6f 75 74 69 6e 65 |s on the| routine|
|00006000| 73 20 74 68 61 74 20 73 | 65 61 72 63 68 20 74 68 |s that s|earch th|
|00006010| 65 20 66 72 65 65 73 70 | 61 63 65 20 62 69 74 6d |e freesp|ace bitm|
|00006020| 61 70 73 0a 66 6f 72 20 | 70 61 74 74 65 72 6e 73 |aps.for |patterns|
|00006030| 20 6f 66 20 73 65 74 20 | 62 69 74 73 20 28 75 6e | of set |bits (un|
|00006040| 75 73 65 64 20 73 65 63 | 74 6f 72 73 29 2e 0a 20 |used sec|tors).. |
|00006050| 0a 4e 65 78 74 2c 20 74 | 68 65 20 48 50 46 53 27 |.Next, t|he HPFS'|
|00006060| 73 20 6d 61 69 6e 20 67 | 6f 61 6c 2d 2d 2d 69 74 |s main g|oal---it|
|00006070| 73 20 70 72 69 6d 65 20 | 64 69 72 65 63 74 69 76 |s prime |directiv|
|00006080| 65 2c 20 69 66 20 79 6f | 75 20 77 69 6c 6c 2d 2d |e, if yo|u will--|
|00006090| 2d 69 73 20 74 6f 20 61 | 73 73 69 67 6e 0a 63 6f |-is to a|ssign.co|
|000060a0| 6e 73 65 63 75 74 69 76 | 65 20 73 65 63 74 6f 72 |nsecutiv|e sector|
|000060b0| 73 20 74 6f 20 66 69 6c | 65 73 20 77 68 65 6e 65 |s to fil|es whene|
|000060c0| 76 65 72 20 70 6f 73 73 | 69 62 6c 65 2e 20 20 54 |ver poss|ible. T|
|000060d0| 68 65 20 74 69 6d 65 20 | 72 65 71 75 69 72 65 64 |he time |required|
|000060e0| 20 74 6f 20 6d 6f 76 65 | 0a 74 68 65 20 64 69 73 | to move|.the dis|
|000060f0| 6b 27 73 20 72 65 61 64 | 2f 77 72 69 74 65 20 68 |k's read|/write h|
|00006100| 65 61 64 20 66 72 6f 6d | 20 6f 6e 65 20 74 72 61 |ead from| one tra|
|00006110| 63 6b 20 74 6f 20 61 6e | 6f 74 68 65 72 20 66 61 |ck to an|other fa|
|00006120| 72 20 6f 75 74 77 65 69 | 67 68 73 20 74 68 65 20 |r outwei|ghs the |
|00006130| 6f 74 68 65 72 0a 70 6f | 73 73 69 62 6c 65 20 64 |other.po|ssible d|
|00006140| 65 6c 61 79 73 2c 20 73 | 6f 20 74 68 65 20 48 50 |elays, s|o the HP|
|00006150| 46 53 20 77 6f 72 6b 73 | 20 68 61 72 64 20 74 6f |FS works| hard to|
|00006160| 20 61 76 6f 69 64 20 6f | 72 20 6d 69 6e 69 6d 69 | avoid o|r minimi|
|00006170| 7a 65 20 73 75 63 68 20 | 68 65 61 64 0a 6d 6f 76 |ze such |head.mov|
|00006180| 65 6d 65 6e 74 73 20 62 | 79 20 61 6c 6c 6f 63 61 |ements b|y alloca|
|00006190| 74 69 6e 67 20 66 69 6c | 65 20 73 70 61 63 65 20 |ting fil|e space |
|000061a0| 63 6f 6e 74 69 67 75 6f | 75 73 6c 79 20 61 6e 64 |contiguo|usly and|
|000061b0| 20 62 79 20 6b 65 65 70 | 69 6e 67 20 63 6f 6e 74 | by keep|ing cont|
|000061c0| 72 6f 6c 0a 73 74 72 75 | 63 74 75 72 65 73 20 73 |rol.stru|ctures s|
|000061d0| 75 63 68 20 61 73 20 46 | 6e 6f 64 65 73 20 61 6e |uch as F|nodes an|
|000061e0| 64 20 66 72 65 65 73 70 | 61 63 65 20 62 69 74 6d |d freesp|ace bitm|
|000061f0| 61 70 73 20 6e 65 61 72 | 20 74 68 65 20 74 68 69 |aps near| the thi|
|00006200| 6e 67 73 20 74 68 65 79 | 20 63 6f 6e 74 72 6f 6c |ngs they| control|
|00006210| 2e 0a 48 69 67 68 6c 79 | 20 63 6f 6e 74 69 67 75 |..Highly| contigu|
|00006220| 6f 75 73 20 66 69 6c 65 | 73 20 61 6c 73 6f 20 68 |ous file|s also h|
|00006230| 65 6c 70 20 74 68 65 20 | 66 69 6c 65 20 73 79 73 |elp the |file sys|
|00006240| 74 65 6d 20 6d 61 6b 65 | 20 66 65 77 65 72 20 72 |tem make| fewer r|
|00006250| 65 71 75 65 73 74 73 20 | 6f 66 20 74 68 65 0a 64 |equests |of the.d|
|00006260| 69 73 6b 20 64 72 69 76 | 65 72 20 66 6f 72 20 6d |isk driv|er for m|
|00006270| 6f 72 65 20 73 65 63 74 | 6f 72 73 20 61 74 20 61 |ore sect|ors at a|
|00006280| 20 74 69 6d 65 2c 20 61 | 6c 6c 6f 77 20 74 68 65 | time, a|llow the|
|00006290| 20 64 69 73 6b 20 64 72 | 69 76 65 72 20 74 6f 20 | disk dr|iver to |
|000062a0| 65 78 70 6c 6f 69 74 20 | 74 68 65 0a 6d 75 6c 74 |exploit |the.mult|
|000062b0| 69 73 65 63 74 6f 72 20 | 74 72 61 6e 73 66 65 72 |isector |transfer|
|000062c0| 20 63 61 70 61 62 69 6c | 69 74 69 65 73 20 6f 66 | capabil|ities of|
|000062d0| 20 74 68 65 20 64 69 73 | 6b 20 63 6f 6e 74 72 6f | the dis|k contro|
|000062e0| 6c 6c 65 72 2c 20 61 6e | 64 20 72 65 64 75 63 65 |ller, an|d reduce|
|000062f0| 20 74 68 65 0a 6e 75 6d | 62 65 72 20 6f 66 20 64 | the.num|ber of d|
|00006300| 69 73 6b 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 20 69 |isk comp|letion i|
|00006310| 6e 74 65 72 72 75 70 74 | 73 20 74 68 61 74 20 6d |nterrupt|s that m|
|00006320| 75 73 74 20 62 65 20 73 | 65 72 76 69 63 65 64 2e |ust be s|erviced.|
|00006330| 0a 20 0a 4f 66 20 63 6f | 75 72 73 65 2c 20 74 72 |. .Of co|urse, tr|
|00006340| 79 69 6e 67 20 74 6f 20 | 6b 65 65 70 20 66 69 6c |ying to |keep fil|
|00006350| 65 73 20 66 72 6f 6d 20 | 62 65 63 6f 6d 69 6e 67 |es from |becoming|
|00006360| 20 66 72 61 67 6d 65 6e | 74 65 64 20 69 6e 20 61 | fragmen|ted in a|
|00006370| 20 6d 75 6c 74 69 74 61 | 73 6b 69 6e 67 0a 73 79 | multita|sking.sy|
|00006380| 73 74 65 6d 20 69 6e 20 | 77 68 69 63 68 20 6d 61 |stem in |which ma|
|00006390| 6e 79 20 66 69 6c 65 73 | 20 61 72 65 20 62 65 69 |ny files| are bei|
|000063a0| 6e 67 20 75 70 64 61 74 | 65 64 20 63 6f 6e 63 75 |ng updat|ed concu|
|000063b0| 72 72 65 6e 74 6c 79 20 | 69 73 20 6e 6f 20 65 61 |rrently |is no ea|
|000063c0| 73 79 20 63 68 6f 72 65 | 2e 0a 4f 6e 65 20 73 74 |sy chore|..One st|
|000063d0| 72 61 74 65 67 79 20 74 | 68 65 20 48 50 46 53 20 |rategy t|he HPFS |
|000063e0| 75 73 65 73 20 69 73 20 | 74 6f 20 73 63 61 74 74 |uses is |to scatt|
|000063f0| 65 72 20 6e 65 77 6c 79 | 20 63 72 65 61 74 65 64 |er newly| created|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.