DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: e

⟦68399cd28⟧

    Length: 4967 (0x1367)
    Names: »extentsize.3«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat3/extentsize.3« 

Default Hex Dump

0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f   ┆   _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74   ┆ u_ a_ l           Library Funct┆
0x0040…0060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 65 78 74 65 6e 74 73 69 7a 65 28 33 29 0a 0a 0a 0a   ┆ions           extentsize(3)    ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20   ┆N N N NA A A AM M M ME E E E    ┆
0x0080…00a0 20 20 65 78 74 65 6e 74 73 69 7a 65 2c 20 62 65 73 74 65 78 74 73 69 7a 65 2c 20 66 62 65 73 74   ┆  extentsize, bestextsize, fbest┆
0x00a0…00c0 65 78 74 73 69 7a 65 20 2d 20 20 67 65 74 20 54 58 20 73 69 7a 65 73 20 66 6f 72 0a 20 20 20 20   ┆extsize -  get TX sizes for     ┆
0x00c0…00e0 20 70 72 69 6d 61 72 79 20 61 6e 64 20 73 65 63 6f 6e 64 61 72 79 20 64 69 73 6b 2d 66 69 6c 65   ┆ primary and secondary disk-file┆
0x00e0…0100 20 65 78 74 65 6e 74 73 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54   ┆ extents  S S S SY Y Y YN N N NT┆
0x0100…0120 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 65 08 65 08 65 08   ┆ T T TA A A AX X X X      e e e ┆
0x0120…0140 65 78 08 78 08 78 08 78 74 08 74 08 74 08 74 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08 74   ┆ex x x xt t t te e e en n n nt t┆
0x0140…0160 08 74 08 74 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65   ┆ t ts s s si i i iz z z ze e e e┆
0x0160…0180 28 08 28 08 28 08 28 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08   ┆( ( ( (f f f fi i i il l l le e ┆
0x0180…01a0 65 08 65 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 2c   ┆e es s s si i i iz z z ze e e e,┆
0x01a0…01c0 08 2c 08 2c 08 2c 20 70 08 70 08 70 08 70 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6d 08 6d 08   ┆ , , , p p p pr r r ri i i im m ┆
0x01c0…01e0 6d 08 6d 2d 08 2d 08 2d 08 2d 65 08 65 08 65 08 65 78 08 78 08 78 08 78 74 08 74 08 74 08 74 65   ┆m m- - - -e e e ex x x xt t t te┆
0x01e0…0200 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 2c 08 2c 08 2c 08 2c 20 73 08 73 08   ┆ e e en n n nt t t t, , , , s s ┆
0x0200…0220 73 08 73 65 08 65 08 65 08 65 63 08 63 08 63 08 63 2d 08 2d 08 2d 08 2d 65 08 65 08 65 08 65 78   ┆s se e e ec c c c- - - -e e e ex┆
0x0220…0240 08 78 08 78 08 78 74 08 74 08 74 08 74 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08 74 08 74   ┆ x x xt t t te e e en n n nt t t┆
0x0240…0260 08 74 29 08 29 08 29 08 29 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08   ┆ t) ) ) )       i i i in n n nt ┆
0x0260…0280 74 08 74 08 74 20 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65   ┆t t t f f f fi i i il l l le e e┆
0x0280…02a0 08 65 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 3b 08   ┆ es s s si i i iz z z ze e e e; ┆
0x02a0…02c0 3b 08 3b 08 3b 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74   ┆; ; ;      i i i in n n nt t t t┆
0x02c0…02e0 20 2a 08 2a 08 2a 08 2a 70 08 70 08 70 08 70 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6d 08 6d   ┆ * * * *p p p pr r r ri i i im m┆
0x02e0…0300 08 6d 08 6d 2d 08 2d 08 2d 08 2d 65 08 65 08 65 08 65 78 08 78 08 78 08 78 74 08 74 08 74 08 74   ┆ m m- - - -e e e ex x x xt t t t┆
0x0300…0320 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 3b 08 3b 08 3b 08 3b 0a 20 20 20   ┆e e e en n n nt t t t; ; ; ;    ┆
0x0320…0340 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 2a 08 2a 08 2a 08 2a 73   ┆  i i i in n n nt t t t * * * *s┆
0x0340…0360 08 73 08 73 08 73 65 08 65 08 65 08 65 63 08 63 08 63 08 63 2d 08 2d 08 2d 08 2d 65 08 65 08 65   ┆ s s se e e ec c c c- - - -e e e┆
0x0360…0380 08 65 78 08 78 08 78 08 78 74 08 74 08 74 08 74 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08   ┆ ex x x xt t t te e e en n n nt ┆
0x0380…03a0 74 08 74 08 74 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 62 08 62 08 62 08 62 65 08 65 08 65 08   ┆t t t; ; ; ;       b b b be e e ┆
0x03a0…03c0 65 73 08 73 08 73 08 73 74 08 74 08 74 08 74 65 08 65 08 65 08 65 78 08 78 08 78 08 78 74 08 74   ┆es s s st t t te e e ex x x xt t┆
0x03c0…03e0 08 74 08 74 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65   ┆ t ts s s si i i iz z z ze e e e┆
0x03e0…0400 28 08 28 08 28 08 28 70 08 70 08 70 08 70 61 08 61 08 61 08 61 74 08 74 08 74 08 74 68 08 68 08   ┆( ( ( (p p p pa a a at t t th h ┆
0x0400…0420 68 08 68 2c 08 2c 08 2c 08 2c 20 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c   ┆h h, , , , f f f fi i i il l l l┆
0x0420…0440 65 08 65 08 65 08 65 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08   ┆e e e es s s si i i iz z z ze e ┆
0x0440…0460 65 08 65 2c 08 2c 08 2c 08 2c 20 70 08 70 08 70 08 70 72 08 72 08 72 08 72 69 08 69 08 69 08 69   ┆e e, , , , p p p pr r r ri i i i┆
0x0460…0480 6d 08 6d 08 6d 08 6d 2d 08 2d 08 2d 08 2d 65 08 65 08 65 08 65 78 08 78 08 78 08 78 74 08 74 08   ┆m m m m- - - -e e e ex x x xt t ┆
0x0480…04a0 74 08 74 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 2c 08 2c 08 2c 08 2c 20   ┆t te e e en n n nt t t t, , , , ┆
0x04a0…04c0 73 08 73 08 73 08 73 65 08 65 08 65 08 65 63 08 63 08 63 08 63 2d 08 2d 08 2d 08 2d 65 08 65 08   ┆s s s se e e ec c c c- - - -e e ┆
0x04c0…04e0 65 08 65 78 08 78 08 78 08 78 74 08 74 08 74 08 74 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74   ┆e ex x x xt t t te e e en n n nt┆
0x04e0…0500 08 74 08 74 08 74 29 08 29 08 29 08 29 0a 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68   ┆ t t t) ) ) )       c c c ch h h┆
0x0500…0520 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 70 08 70 08 70 08 70 61   ┆ ha a a ar r r r * * * *p p p pa┆
0x0520…0540 08 61 08 61 08 61 74 08 74 08 74 08 74 68 08 68 08 68 08 68 3b 08 3b 08 3b 08 3b 0a 20 20 20 20   ┆ a a at t t th h h h; ; ; ;     ┆
0x0540…0560 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 66 08 66 08 66 08 66 69 08   ┆ i i i in n n nt t t t f f f fi ┆
0x0560…0580 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 73 08 73 08 73 08 73 69 08 69 08 69 08   ┆i i il l l le e e es s s si i i ┆
0x0580…05a0 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 69 08 69 08   ┆iz z z ze e e e; ; ; ;      i i ┆
0x05a0…05c0 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 2a 08 2a 08 2a 08 2a 70 08 70 08 70 08 70   ┆i in n n nt t t t * * * *p p p p┆
0x05c0…05e0 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 2d 08 2d 08 2d 08 2d 65 08 65 08   ┆r r r ri i i im m m m- - - -e e ┆
0x05e0…0600 65 08 65 78 08 78 08 78 08 78 74 08 74 08 74 08 74 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74   ┆e ex x x xt t t te e e en n n nt┆
0x0600…0620 08 74 08 74 08 74 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08   ┆ t t t; ; ; ;      i i i in n n ┆
0x0620…0640 6e 74 08 74 08 74 08 74 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 65 08 65 08 65 08 65 63 08   ┆nt t t t * * * *s s s se e e ec ┆
0x0640…0660 63 08 63 08 63 2d 08 2d 08 2d 08 2d 65 08 65 08 65 08 65 78 08 78 08 78 08 78 74 08 74 08 74 08   ┆c c c- - - -e e e ex x x xt t t ┆
0x0660…0680 74 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 3b 08 3b 08 3b 08 3b 0a 0a 20   ┆te e e en n n nt t t t; ; ; ;   ┆
0x0680…06a0 20 20 20 20 66 08 66 08 66 08 66 62 08 62 08 62 08 62 65 08 65 08 65 08 65 73 08 73 08 73 08 73   ┆    f f f fb b b be e e es s s s┆
0x06a0…06c0 74 08 74 08 74 08 74 65 08 65 08 65 08 65 78 08 78 08 78 08 78 74 08 74 08 74 08 74 73 08 73 08   ┆t t t te e e ex x x xt t t ts s ┆
0x06c0…06e0 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 28 08 28 08 28 08 28 66   ┆s si i i iz z z ze e e e( ( ( (f┆
0x06e0…0700 08 66 08 66 08 66 64 08 64 08 64 08 64 2c 08 2c 08 2c 08 2c 20 66 08 66 08 66 08 66 69 08 69 08   ┆ f f fd d d d, , , , f f f fi i ┆
0x0700…0720 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a   ┆i il l l le e e es s s si i i iz┆
0x0720…0740 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 70 08 70 08 70 08 70 72 08 72 08   ┆ z z ze e e e, , , , p p p pr r ┆
0x0740…0760 72 08 72 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 2d 08 2d 08 2d 08 2d 65 08 65 08 65 08 65 78   ┆r ri i i im m m m- - - -e e e ex┆
0x0760…0780 08 78 08 78 08 78 74 08 74 08 74 08 74 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08 74 08 74   ┆ x x xt t t te e e en n n nt t t┆
0x0780…07a0 08 74 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 65 08 65 08 65 08 65 63 08 63 08 63 08 63 2d   ┆ t, , , , s s s se e e ec c c c-┆
0x07a0…07c0 08 2d 08 2d 08 2d 65 08 65 08 65 08 65 78 08 78 08 78 08 78 74 08 74 08 74 08 74 65 08 65 08 65   ┆ - - -e e e ex x x xt t t te e e┆
0x07c0…07e0 08 65 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 29 08 29 08 29 08 29 0a 0a 20 20 20 20 20 69 08   ┆ en n n nt t t t) ) ) )       i ┆
0x07e0…0800 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 66 08 66 08 66 08 66 64 08 64 08 64   ┆i i in n n nt t t t f f f fd d d┆
0x0800…0820 08 64 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74   ┆ d; ; ; ;      i i i in n n nt t┆
0x0820…0840 08 74 08 74 20 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08   ┆ t t f f f fi i i il l l le e e ┆
0x0840…0860 65 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 3b 08 3b   ┆es s s si i i iz z z ze e e e; ;┆
0x0860…0880 08 3b 08 3b 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20   ┆ ; ;      i i i in n n nt t t t ┆
0x0880…08a0 2a 08 2a 08 2a 08 2a 70 08 70 08 70 08 70 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6d 08 6d 08   ┆* * * *p p p pr r r ri i i im m ┆
0x08a0…08c0 6d 08 6d 2d 08 2d 08 2d 08 2d 65 08 65 08 65 08 65 78 08 78 08 78 08 78 74 08 74 08 74 08 74 65   ┆m m- - - -e e e ex x x xt t t te┆
0x08c0…08e0 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 3b 08 3b 08 3b 08 3b 0a 20 20 20 20   ┆ e e en n n nt t t t; ; ; ;     ┆
0x08e0…0900 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 2a 08 2a 08 2a 08 2a 73 08   ┆ i i i in n n nt t t t * * * *s ┆
0x0900…0920 73 08 73 08 73 65 08 65 08 65 08 65 63 08 63 08 63 08 63 2d 08 2d 08 2d 08 2d 65 08 65 08 65 08   ┆s s se e e ec c c c- - - -e e e ┆
0x0920…0940 65 78 08 78 08 78 08 78 74 08 74 08 74 08 74 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08 74   ┆ex x x xt t t te e e en n n nt t┆
0x0940…0960 08 74 08 74 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53   ┆ t t; ; ; ;  D D D DE E E ES S S┆
0x0960…0980 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08   ┆ SC C C CR R R RI I I IP P P PT ┆
0x0980…09a0 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20   ┆T T TI I I IO O O ON N N N      ┆
0x09a0…09c0 54 68 65 73 65 20 66 75 6e 63 74 69 6f 6e 73 20 63 61 6c 63 75 6c 61 74 65 20 61 70 70 72 6f 70   ┆These functions calculate approp┆
0x09c0…09e0 72 69 61 74 65 20 70 72 69 6d 61 72 79 2d 20 61 6e 64 0a 20 20 20 20 20 73 65 63 6f 6e 64 61 72   ┆riate primary- and      secondar┆
0x09e0…0a00 79 2d 65 78 74 65 6e 74 20 73 69 7a 65 73 20 66 6f 72 20 61 20 67 69 76 65 6e 20 66 69 6c 65 20   ┆y-extent sizes for a given file ┆
0x0a00…0a20 73 69 7a 65 2e 20 20 54 68 65 20 73 69 7a 65 73 20 61 72 65 0a 20 20 20 20 20 73 65 6c 65 63 74   ┆size.  The sizes are      select┆
0x0a20…0a40 65 64 20 73 6f 20 74 68 61 74 20 74 68 65 20 65 6e 74 69 72 65 20 66 69 6c 65 20 69 73 20 61 64   ┆ed so that the entire file is ad┆
0x0a40…0a60 64 72 65 73 73 65 64 20 62 79 20 64 69 72 65 63 74 0a 20 20 20 20 20 70 6f 69 6e 74 65 72 73 2c   ┆dressed by direct      pointers,┆
0x0a60…0a80 20 69 66 20 70 6f 73 73 69 62 6c 65 2e 20 20 54 68 61 74 20 69 73 2c 20 6e 6f 20 69 6e 64 69 72   ┆ if possible.  That is, no indir┆
0x0a80…0aa0 65 63 74 20 62 6c 6f 63 6b 73 20 61 72 65 0a 20 20 20 20 20 72 65 71 75 69 72 65 64 2e 20 20 54   ┆ect blocks are      required.  T┆
0x0aa0…0ac0 68 65 20 72 65 74 75 72 6e 65 64 20 65 78 74 65 6e 74 20 73 69 7a 65 73 20 63 61 6e 20 74 68 65   ┆he returned extent sizes can the┆
0x0ac0…0ae0 6e 20 62 65 20 75 73 65 64 20 61 73 0a 20 20 20 20 20 69 6e 70 75 74 20 74 6f 20 74 68 65 20 5f   ┆n be used as      input to the _┆
0x0ae0…0b00 08 73 5f 08 65 5f 08 74 5f 08 65 5f 08 78 5f 08 74 20 63 61 6c 6c 2e 0a 0a 20 20 20 20 20 54 68   ┆ s_ e_ t_ e_ x_ t call.       Th┆
0x0b00…0b20 65 20 5f 08 65 5f 08 78 5f 08 74 5f 08 65 5f 08 6e 5f 08 74 5f 08 73 5f 08 69 5f 08 7a 5f 08 65   ┆e _ e_ x_ t_ e_ n_ t_ s_ i_ z_ e┆
0x0b20…0b40 20 63 61 6c 6c 20 69 73 20 63 61 6c 63 75 6c 61 74 69 6e 67 20 74 68 65 20 65 78 74 65 6e 73 69   ┆ call is calculating the extensi┆
0x0b40…0b60 7a 65 73 20 74 6f 20 62 65 0a 20 20 20 20 20 6f 70 74 69 6d 61 6c 20 61 6e 64 20 77 69 74 68 6f   ┆zes to be      optimal and witho┆
0x0b60…0b80 75 74 20 61 6e 79 20 72 65 6c 61 74 69 6f 6e 20 74 6f 20 61 6e 20 61 63 74 75 61 6c 20 66 69 6c   ┆ut any relation to an actual fil┆
0x0b80…0ba0 65 2e 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 62 5f 08 65 5f 08 73 5f 08 74 5f 08 65 5f 08 78 5f   ┆e.       The _ b_ e_ s_ t_ e_ x_┆
0x0ba0…0bc0 08 74 5f 08 73 5f 08 69 5f 08 7a 5f 08 65 20 63 61 6c 6c 20 74 61 6b 65 73 20 61 20 66 69 6c 65   ┆ t_ s_ i_ z_ e call takes a file┆
0x0bc0…0be0 20 6e 61 6d 65 20 66 6f 72 20 61 6e 20 65 78 69 73 74 69 6e 67 20 66 69 6c 65 0a 20 20 20 20 20   ┆ name for an existing file      ┆
0x0be0…0c00 61 6e 64 20 63 61 6c 63 75 6c 61 74 65 73 20 74 68 65 20 65 78 74 65 6e 74 73 69 7a 65 73 20 77   ┆and calculates the extentsizes w┆
0x0c00…0c20 69 74 68 20 72 65 73 70 65 63 74 20 74 6f 20 74 68 65 20 61 76 61 69 6c 61 62 6c 65 0a 20 20 20   ┆ith respect to the available    ┆
0x0c20…0c40 20 20 73 70 61 63 65 20 69 6e 20 74 68 65 20 66 69 6c 65 20 73 79 73 74 65 6d 20 77 68 65 72 65   ┆  space in the file system where┆
0x0c40…0c60 20 74 68 65 20 66 69 6c 65 20 69 73 20 6c 6f 63 61 74 65 64 2e 0a 20 20 20 20 20 5f 08 66 5f 08   ┆ the file is located.      _ f_ ┆
0x0c60…0c80 62 5f 08 65 5f 08 73 5f 08 74 5f 08 65 5f 08 78 5f 08 74 5f 08 73 5f 08 69 5f 08 7a 5f 08 65 20   ┆b_ e_ s_ t_ e_ x_ t_ s_ i_ z_ e ┆
0x0c80…0ca0 74 61 6b 65 73 20 61 20 66 69 6c 65 20 64 65 73 63 72 69 70 74 6f 72 20 69 6e 73 74 65 61 64 20   ┆takes a file descriptor instead ┆
0x0ca0…0cc0 6f 66 20 61 20 66 69 6c 65 20 6e 61 6d 65 0a 20 20 20 20 20 61 73 20 61 6e 20 61 72 67 75 6d 65   ┆of a file name      as an argume┆
0x0cc0…0ce0 6e 74 2c 20 61 6e 64 20 77 6f 72 6b 73 20 69 6e 20 74 68 65 20 73 61 6d 65 20 77 61 79 20 61 73   ┆nt, and works in the same way as┆
0x0ce0…0d00 20 5f 08 62 5f 08 65 5f 08 73 5f 08 74 5f 08 65 5f 08 78 5f 08 74 5f 08 73 5f 08 69 5f 08 7a 5f   ┆ _ b_ e_ s_ t_ e_ x_ t_ s_ i_ z_┆
0x0d00…0d20 08 65 2e 0a 20 20 20 20 20 54 68 65 79 20 72 65 74 75 72 6e 20 2d 31 20 69 66 20 69 74 20 6e 6f   ┆ e.      They return -1 if it no┆
0x0d20…0d40 74 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 63 61 6c 63 75 6c 61 74 65 20 65 78 74 65 6e 74 73 69   ┆t possible to calculate extentsi┆
0x0d40…0d60 7a 65 73 0a 20 20 20 20 20 74 68 61 74 20 67 75 61 72 61 6e 74 65 65 73 20 74 68 61 74 20 74 68   ┆zes      that guarantees that th┆
0x0d60…0d80 65 20 66 69 6c 65 20 63 61 6e 20 62 65 20 61 6c 6c 6f 63 61 74 65 64 20 77 69 74 68 20 74 68 65   ┆e file can be allocated with the┆
0x0d80…0da0 0a 20 20 20 20 20 67 69 76 65 6e 20 66 69 6c 65 73 69 7a 65 20 28 6f 72 20 69 66 20 74 68 65 72   ┆      given filesize (or if ther┆
0x0da0…0dc0 65 20 69 73 20 61 6e 79 20 6f 74 68 65 72 20 65 72 72 6f 72 29 2e 20 20 54 68 65 79 0a 20 20 20   ┆e is any other error).  They    ┆
0x0dc0…0de0 20 20 72 65 74 75 72 6e 20 30 20 28 7a 65 72 6f 29 20 69 66 20 74 68 65 20 72 65 74 75 72 6e 20   ┆  return 0 (zero) if the return ┆
0x0de0…0e00 76 61 6c 75 65 73 20 6f 66 20 74 68 65 20 65 78 74 65 6e 74 73 69 7a 65 20 61 72 65 0a 20 20 20   ┆values of the extentsize are    ┆
0x0e00…0e20 20 20 74 68 65 20 73 61 6d 65 20 61 73 20 69 66 20 5f 08 65 5f 08 78 5f 08 74 5f 08 65 5f 08 6e   ┆  the same as if _ e_ x_ t_ e_ n┆
0x0e20…0e40 5f 08 74 5f 08 73 5f 08 69 5f 08 7a 5f 08 65 20 68 61 64 20 62 65 65 6e 20 63 61 6c 6c 65 64 20   ┆_ t_ s_ i_ z_ e had been called ┆
0x0e40…0e60 28 6f 70 74 69 6d 61 6c 20 65 78 74 65 6e 74 73 29 2c 0a 20 20 20 20 20 61 6e 64 20 74 68 65 79   ┆(optimal extents),      and they┆
0x0e60…0e80 20 72 65 74 75 72 6e 20 31 20 69 66 20 74 68 65 72 65 20 69 73 20 73 70 61 63 65 20 65 6e 6f 75   ┆ return 1 if there is space enou┆
0x0e80…0ea0 67 68 20 69 6e 20 74 68 65 20 66 69 6c 65 20 73 79 73 2d 0a 20 20 20 20 20 74 65 6d 20 74 6f 20   ┆gh in the file sys-      tem to ┆
0x0ea0…0ec0 61 6c 6c 6f 63 61 74 65 20 74 68 65 20 66 69 6c 65 2c 20 62 75 74 20 6e 6f 74 20 77 69 74 68 20   ┆allocate the file, but not with ┆
0x0ec0…0ee0 6f 70 74 69 6d 61 6c 20 65 78 74 65 6e 74 73 69 7a 65 73 2e 0a 0a 20 20 20 20 20 70 08 70 08 70   ┆optimal extentsizes.       p p p┆
0x0ee0…0f00 08 70 61 08 61 08 61 08 61 74 08 74 08 74 08 74 68 08 68 08 68 08 68 20 20 20 20 20 50 61 74 68   ┆ pa a a at t t th h h h     Path┆
0x0f00…0f20 20 6f 66 20 74 68 65 20 66 69 6c 65 20 74 6f 20 73 65 74 20 65 78 74 65 6e 74 73 69 7a 65 73 20   ┆ of the file to set extentsizes ┆
0x0f20…0f40 66 6f 72 2e 0a 0a 20 20 20 20 20 66 08 66 08 66 08 66 64 08 64 08 64 08 64 20 20 20 20 20 20 20   ┆for.       f f f fd d d d       ┆
0x0f40…0f60 46 69 6c 65 20 64 65 73 63 72 69 70 74 6f 72 20 66 6f 72 20 74 68 65 20 66 69 6c 65 20 74 6f 20   ┆File descriptor for the file to ┆
0x0f60…0f80 73 65 74 20 65 78 74 65 6e 74 73 69 7a 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f   ┆set extentsizes               fo┆
0x0f80…0fa0 72 2e 0a 0a 20 20 20 20 20 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08   ┆r.       f f f fi i i il l l le ┆
0x0fa0…0fc0 65 08 65 08 65 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08   ┆e e es s s si i i iz z z ze e e ┆
0x0fc0…0fe0 65 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 79 74 65 73 20   ┆e Specifies the number of bytes ┆
0x0fe0…1000 74 6f 20 62 65 20 61 6c 6c 6f 63 61 74 65 64 20 66 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20   ┆to be allocated for             ┆
0x1000…1020 20 20 74 68 65 20 66 69 6c 65 2e 20 20 54 68 65 20 73 69 7a 65 20 63 61 6e 20 62 65 20 65 69 74   ┆  the file.  The size can be eit┆
0x1020…1040 68 65 72 20 61 6e 20 61 63 74 75 61 6c 20 73 69 7a 65 20 6f 72 0a 20 20 20 20 20 20 20 20 20 20   ┆her an actual size or           ┆
0x1040…1060 20 20 20 20 61 6e 20 65 73 74 69 6d 61 74 65 64 20 66 69 6c 65 20 73 69 7a 65 2e 20 20 49 66 20   ┆    an estimated file size.  If ┆
0x1060…1080 74 68 65 20 66 69 6c 65 20 73 69 7a 65 20 69 73 20 6d 6f 72 65 0a 20 20 20 20 20 20 20 20 20 20   ┆the file size is more           ┆
0x1080…10a0 20 20 20 20 74 68 61 6e 20 36 34 20 6d 65 67 61 62 79 74 65 73 2c 20 79 6f 75 20 73 68 6f 75 6c   ┆    than 64 megabytes, you shoul┆
0x10a0…10c0 64 20 61 6c 6c 6f 63 61 74 65 20 74 68 65 20 65 78 74 65 6e 74 73 0a 20 20 20 20 20 20 20 20 20   ┆d allocate the extents          ┆
0x10c0…10e0 20 20 20 20 20 79 6f 75 72 73 65 6c 66 20 28 72 61 74 68 65 72 20 74 68 61 6e 20 75 73 69 6e 67   ┆     yourself (rather than using┆
0x10e0…1100 20 74 68 69 73 20 66 75 6e 63 74 69 6f 6e 29 2e 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 70 08 70 08   ┆ this function).            p p ┆
0x1100…1120 70 08 70 72 08 72 08 72 08 72 69 08 69 08 69 08 69 65 08 65 08 65 08 65 78 08 78 08 78 08 78 74   ┆p pr r r ri i i ie e e ex x x xt┆
0x1120…1140 08 74 08 74 08 74 20 20 20 52 65 74 75 72 6e 20 76 61 6c 75 65 3a 20 70 72 69 6d 61 72 79 20 65   ┆ t t t   Return value: primary e┆
0x1140…1160 78 74 65 6e 74 20 73 69 7a 65 2c 20 69 6e 20 62 79 74 65 73 2e 0a 0a 20 20 20 20 20 73 08 73 08   ┆xtent size, in bytes.       s s ┆
0x1160…1180 73 08 73 65 08 65 08 65 08 65 63 08 63 08 63 08 63 65 08 65 08 65 08 65 78 08 78 08 78 08 78 74   ┆s se e e ec c c ce e e ex x x xt┆
0x1180…11a0 08 74 08 74 08 74 20 20 20 52 65 74 75 72 6e 20 76 61 6c 75 65 3a 20 73 65 63 6f 6e 64 61 72 79   ┆ t t t   Return value: secondary┆
0x11a0…11c0 20 65 78 74 65 6e 74 20 73 69 7a 65 2c 20 69 6e 20 62 79 74 65 73 2e 0a 0a 45 08 45 08 45 08 45   ┆ extent size, in bytes.  E E E E┆
0x11c0…11e0 58 08 58 08 58 08 58 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 50 08 50 08 50 08 50 4c 08 4c 08   ┆X X X XA A A AM M M MP P P PL L ┆
0x11e0…1200 4c 08 4c 45 08 45 08 45 08 45 0a 20 20 20 20 20 20 20 20 20 20 23 69 6e 63 6c 75 64 65 20 3c 73   ┆L LE E E E           #include <s┆
0x1200…1220 79 73 2f 66 69 6c 65 2e 68 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 73 74 72 75 63 74 20 65 78 74   ┆ys/file.h>            struct ext┆
0x1220…1240 65 6e 74 5f 64 65 73 63 72 69 70 74 6f 72 20 65 64 3b 0a 20 20 20 20 20 20 20 20 20 20 65 78 74   ┆ent_descriptor ed;           ext┆
0x1240…1260 65 6e 74 73 69 7a 65 28 66 69 6c 65 73 69 7a 65 2c 20 26 65 64 2e 70 72 69 6d 61 72 79 2c 20 26   ┆entsize(filesize, &ed.primary, &┆
0x1260…1280 65 64 2e 73 65 63 6f 6e 64 61 72 79 29 0a 0a 20 20 20 20 20 20 20 20 20 20 73 65 74 65 78 74 28   ┆ed.secondary)            setext(┆
0x1280…12a0 66 69 6c 65 64 65 73 63 2c 20 26 65 64 29 3b 0a 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45   ┆filedesc, &ed);   S S S SE E E E┆
0x12a0…12c0 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f   ┆E E E E A A A AL L L LS S S SO O┆
0x12c0…12e0 08 4f 08 4f 0a 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28 32 29 3a 20 20 73 65 74   ┆ O O      System Calls (2):  set┆
0x12e0…1300 65 78 74 2c 20 63 72 65 61 74 65 66 69 6c 65 2c 20 73 79 73 69 6e 66 6f 0a 0a 41 75 67 75 73 74   ┆ext, createfile, sysinfo  August┆
0x1300…1320 20 31 39 39 31 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ 1991                           ┆
0x1320…1340 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a   ┆  TX Programmer's Reference     ┆
0x1340…1360 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a   ┆                                ┆
0x1360…1367 0a 0a 0a 0a 0a 0a 0a                                                                              ┆       ┆