home *** CD-ROM | disk | FTP | other *** search
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: part01
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 6d 69 73 63 0a 46 72 |.sources|.misc.Fr|
|00000020| 6f 6d 3a 20 63 68 69 70 | 40 63 68 69 6e 61 63 61 |om: chip|@chinaca|
|00000030| 74 2e 75 6e 69 63 6f 6d | 2e 63 6f 6d 20 28 43 68 |t.unicom|.com (Ch|
|00000040| 69 70 20 52 6f 73 65 6e | 74 68 61 6c 29 0a 53 75 |ip Rosen|thal).Su|
|00000050| 62 6a 65 63 74 3a 20 76 | 33 39 69 30 33 35 3a 20 |bject: v|39i035: |
|00000060| 65 6e 68 2d 64 75 32 20 | 2d 20 65 6e 68 61 6e 63 |enh-du2 |- enhanc|
|00000070| 65 64 20 64 75 20 28 64 | 69 73 6b 20 75 73 61 67 |ed du (d|isk usag|
|00000080| 65 29 20 76 32 2e 30 20 | 2b 20 75 74 69 6c 69 74 |e) v2.0 |+ utilit|
|00000090| 69 65 73 2c 20 50 61 72 | 74 30 31 2f 30 32 0a 4d |ies, Par|t01/02.M|
|000000a0| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 63 73 6d 2d |essage-I|D: <csm-|
|000000b0| 76 33 39 69 30 33 35 3d | 65 6e 68 2d 64 75 32 2e |v39i035=|enh-du2.|
|000000c0| 32 30 32 34 31 32 40 73 | 70 61 72 6b 79 2e 53 74 |202412@s|parky.St|
|000000d0| 65 72 6c 69 6e 67 2e 43 | 4f 4d 3e 0a 58 2d 4d 64 |erling.C|OM>.X-Md|
|000000e0| 34 2d 53 69 67 6e 61 74 | 75 72 65 3a 20 38 61 62 |4-Signat|ure: 8ab|
|000000f0| 66 34 64 34 62 38 37 36 | 30 63 65 32 39 61 33 34 |f4d4b876|0ce29a34|
|00000100| 64 36 62 35 66 34 61 36 | 31 61 66 35 30 0a 53 65 |d6b5f4a6|1af50.Se|
|00000110| 6e 64 65 72 3a 20 6b 65 | 6e 74 40 73 70 61 72 6b |nder: ke|nt@spark|
|00000120| 79 2e 73 74 65 72 6c 69 | 6e 67 2e 63 6f 6d 20 28 |y.sterli|ng.com (|
|00000130| 4b 65 6e 74 20 4c 61 6e | 64 66 69 65 6c 64 29 0a |Kent Lan|dfield).|
|00000140| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 55 6e |Organiza|tion: Un|
|00000150| 69 63 6f 6d 20 53 79 73 | 74 65 6d 73 20 44 65 76 |icom Sys|tems Dev|
|00000160| 65 6c 6f 70 6d 65 6e 74 | 2c 20 41 75 73 74 69 6e |elopment|, Austin|
|00000170| 2c 20 54 58 0a 44 61 74 | 65 3a 20 53 75 6e 2c 20 |, TX.Dat|e: Sun, |
|00000180| 32 32 20 41 75 67 20 31 | 39 39 33 20 30 31 3a 32 |22 Aug 1|993 01:2|
|00000190| 36 3a 30 32 20 47 4d 54 | 0a 41 70 70 72 6f 76 65 |6:02 GMT|.Approve|
|000001a0| 64 3a 20 6b 65 6e 74 40 | 73 70 61 72 6b 79 2e 73 |d: kent@|sparky.s|
|000001b0| 74 65 72 6c 69 6e 67 2e | 63 6f 6d 0a 0a 53 75 62 |terling.|com..Sub|
|000001c0| 6d 69 74 74 65 64 2d 62 | 79 3a 20 63 68 69 70 40 |mitted-b|y: chip@|
|000001d0| 63 68 69 6e 61 63 61 74 | 2e 75 6e 69 63 6f 6d 2e |chinacat|.unicom.|
|000001e0| 63 6f 6d 20 28 43 68 69 | 70 20 52 6f 73 65 6e 74 |com (Chi|p Rosent|
|000001f0| 68 61 6c 29 0a 50 6f 73 | 74 69 6e 67 2d 6e 75 6d |hal).Pos|ting-num|
|00000200| 62 65 72 3a 20 56 6f 6c | 75 6d 65 20 33 39 2c 20 |ber: Vol|ume 39, |
|00000210| 49 73 73 75 65 20 33 35 | 0a 41 72 63 68 69 76 65 |Issue 35|.Archive|
|00000220| 2d 6e 61 6d 65 3a 20 65 | 6e 68 2d 64 75 32 2f 70 |-name: e|nh-du2/p|
|00000230| 61 72 74 30 31 0a 45 6e | 76 69 72 6f 6e 6d 65 6e |art01.En|vironmen|
|00000240| 74 3a 20 55 4e 49 58 0a | 53 75 70 65 72 73 65 64 |t: UNIX.|Supersed|
|00000250| 65 73 3a 20 65 6e 68 2d | 64 75 3a 20 56 6f 6c 75 |es: enh-|du: Volu|
|00000260| 6d 65 20 31 34 2c 20 49 | 73 73 75 65 20 38 38 0a |me 14, I|ssue 88.|
|00000270| 0a 3e 46 72 6f 6d 20 74 | 68 65 20 52 45 41 44 4d |.>From t|he READM|
|00000280| 45 3a 0a 0a 20 20 20 20 | 22 65 6e 68 2d 64 75 32 |E:.. |"enh-du2|
|00000290| 22 20 69 73 20 61 20 68 | 69 67 68 6c 79 2d 70 6f |" is a h|ighly-po|
|000002a0| 72 74 61 62 6c 65 2c 20 | 68 69 67 68 2d 70 65 72 |rtable, |high-per|
|000002b0| 66 6f 72 6d 61 6e 63 65 | 2c 20 50 4f 53 49 58 2d |formance|, POSIX-|
|000002c0| 63 6f 6e 66 6f 72 6d 61 | 6e 74 0a 20 20 20 20 72 |conforma|nt. r|
|000002d0| 65 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 20 |eimpleme|ntation |
|000002e0| 6f 66 20 74 68 65 20 22 | 64 75 22 20 63 6f 6d 6d |of the "|du" comm|
|000002f0| 61 6e 64 2e 20 20 49 74 | 20 61 6c 73 6f 20 61 64 |and. It| also ad|
|00000300| 64 73 20 73 6f 6d 65 20 | 68 65 6c 70 66 75 6c 0a |ds some |helpful.|
|00000310| 20 20 20 20 66 65 61 74 | 75 72 65 73 20 79 6f 75 | feat|ures you|
|00000320| 72 20 73 79 73 74 65 6d | 20 22 64 75 22 20 6c 61 |r system| "du" la|
|00000330| 63 6b 73 2e 20 20 49 66 | 20 79 6f 75 20 66 69 6e |cks. If| you fin|
|00000340| 64 20 79 6f 75 72 20 63 | 75 72 72 65 6e 74 20 73 |d your c|urrent s|
|00000350| 79 73 74 65 6d 20 22 64 | 75 22 0a 20 20 20 20 62 |ystem "d|u". b|
|00000360| 75 67 67 79 20 6f 72 20 | 75 6e 61 63 63 65 70 74 |uggy or |unaccept|
|00000370| 61 62 6c 79 20 73 6c 6f | 77 2c 20 6f 72 20 69 66 |ably slo|w, or if|
|00000380| 20 79 6f 75 20 66 69 6e | 64 20 73 6f 6d 65 20 6f | you fin|d some o|
|00000390| 66 20 74 68 65 20 66 65 | 61 74 75 72 65 73 20 69 |f the fe|atures i|
|000003a0| 6e 0a 20 20 20 20 74 68 | 69 73 20 76 65 72 73 69 |n. th|is versi|
|000003b0| 6f 6e 20 61 70 70 65 61 | 6c 69 6e 67 2c 20 79 6f |on appea|ling, yo|
|000003c0| 75 20 6d 69 67 68 74 20 | 77 61 6e 74 20 74 6f 20 |u might |want to |
|000003d0| 74 72 79 20 69 74 2e 0a | 0a 20 20 20 20 54 68 69 |try it..|. Thi|
|000003e0| 73 20 70 61 63 6b 61 67 | 65 20 69 6e 63 6c 75 64 |s packag|e includ|
|000003f0| 65 73 2c 20 69 6e 20 61 | 64 64 69 74 69 6f 6e 20 |es, in a|ddition |
|00000400| 74 6f 20 74 68 65 20 65 | 6e 68 61 6e 63 65 64 20 |to the e|nhanced |
|00000410| 22 64 75 22 20 63 6f 6d | 6d 61 6e 64 2c 20 61 0a |"du" com|mand, a.|
|00000420| 20 20 20 20 63 6f 75 70 | 6c 65 20 6f 66 20 68 61 | coup|le of ha|
|00000430| 6e 64 79 20 75 74 69 6c | 69 74 69 65 73 2e 20 20 |ndy util|ities. |
|00000440| 54 68 65 20 22 64 75 73 | 6f 72 74 22 20 66 69 6c |The "dus|ort" fil|
|00000450| 74 65 72 20 66 6f 72 6d | 61 74 73 20 74 68 65 20 |ter form|ats the |
|00000460| 6f 75 74 70 75 74 20 6f | 66 0a 20 20 20 20 22 64 |output o|f. "d|
|00000470| 75 22 20 6e 69 63 65 6c | 79 2e 20 20 28 45 76 65 |u" nicel|y. (Eve|
|00000480| 6e 20 69 66 20 79 6f 75 | 20 61 72 65 6e 27 74 20 |n if you| aren't |
|00000490| 69 6e 74 65 72 65 73 74 | 65 64 20 69 6e 20 74 68 |interest|ed in th|
|000004a0| 65 20 22 64 75 22 20 70 | 72 6f 67 72 61 6d 20 69 |e "du" p|rogram i|
|000004b0| 74 73 65 6c 66 0a 20 20 | 20 20 63 68 65 63 6b 20 |tself. | check |
|000004c0| 6f 75 74 20 74 68 69 73 | 20 66 69 6c 74 65 72 2e |out this| filter.|
|000004d0| 29 20 20 54 68 65 20 22 | 6e 67 73 69 7a 65 73 22 |) The "|ngsizes"|
|000004e0| 20 73 63 72 69 70 74 20 | 70 72 6f 64 75 63 65 73 | script |produces|
|000004f0| 20 61 20 73 75 6d 6d 61 | 72 79 20 6f 66 0a 20 20 | a summa|ry of. |
|00000500| 20 20 64 69 73 6b 20 73 | 70 61 63 65 20 75 73 65 | disk s|pace use|
|00000510| 64 20 62 79 20 74 68 65 | 20 75 73 65 6e 65 74 20 |d by the| usenet |
|00000520| 6e 65 77 73 20 73 79 73 | 74 65 6d 2e 20 20 49 74 |news sys|tem. It|
|00000530| 20 70 75 74 73 20 73 6f | 6d 65 20 6f 66 20 74 68 | puts so|me of th|
|00000540| 65 0a 20 20 20 20 22 65 | 6e 68 2d 64 75 32 22 20 |e. "e|nh-du2" |
|00000550| 66 65 61 74 75 72 65 73 | 20 74 6f 20 67 6f 6f 64 |features| to good|
|00000560| 20 75 73 65 2e 0a 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | use..--|--------|
|00000570| 0a 23 21 20 2f 62 69 6e | 2f 73 68 0a 23 20 54 68 |.#! /bin|/sh.# Th|
|00000580| 69 73 20 69 73 20 61 20 | 73 68 65 6c 6c 20 61 72 |is is a |shell ar|
|00000590| 63 68 69 76 65 2e 20 20 | 52 65 6d 6f 76 65 20 61 |chive. |Remove a|
|000005a0| 6e 79 74 68 69 6e 67 20 | 62 65 66 6f 72 65 20 74 |nything |before t|
|000005b0| 68 69 73 20 6c 69 6e 65 | 2c 20 74 68 65 6e 20 66 |his line|, then f|
|000005c0| 65 65 64 20 69 74 0a 23 | 20 69 6e 74 6f 20 61 20 |eed it.#| into a |
|000005d0| 73 68 65 6c 6c 20 76 69 | 61 20 22 73 68 20 66 69 |shell vi|a "sh fi|
|000005e0| 6c 65 22 20 6f 72 20 73 | 69 6d 69 6c 61 72 2e 20 |le" or s|imilar. |
|000005f0| 20 54 6f 20 6f 76 65 72 | 77 72 69 74 65 20 65 78 | To over|write ex|
|00000600| 69 73 74 69 6e 67 20 66 | 69 6c 65 73 2c 0a 23 20 |isting f|iles,.# |
|00000610| 74 79 70 65 20 22 73 68 | 20 66 69 6c 65 20 2d 63 |type "sh| file -c|
|00000620| 22 2e 0a 23 20 43 6f 6e | 74 65 6e 74 73 3a 20 20 |"..# Con|tents: |
|00000630| 52 45 41 44 4d 45 20 64 | 75 2e 31 20 64 75 65 6e |README d|u.1 duen|
|00000640| 74 72 79 2e 63 20 66 73 | 69 6e 66 6f 2e 63 20 6e |try.c fs|info.c n|
|00000650| 67 73 69 7a 65 73 2e 31 | 0a 23 20 57 72 61 70 70 |gsizes.1|.# Wrapp|
|00000660| 65 64 20 62 79 20 6b 65 | 6e 74 40 73 70 61 72 6b |ed by ke|nt@spark|
|00000670| 79 20 6f 6e 20 53 61 74 | 20 41 75 67 20 32 31 20 |y on Sat| Aug 21 |
|00000680| 31 39 3a 35 39 3a 32 31 | 20 31 39 39 33 0a 50 41 |19:59:21| 1993.PA|
|00000690| 54 48 3d 2f 62 69 6e 3a | 2f 75 73 72 2f 62 69 6e |TH=/bin:|/usr/bin|
|000006a0| 3a 2f 75 73 72 2f 75 63 | 62 3a 2f 75 73 72 2f 6c |:/usr/uc|b:/usr/l|
|000006b0| 6f 63 61 6c 2f 62 69 6e | 3a 2f 75 73 72 2f 6c 62 |ocal/bin|:/usr/lb|
|000006c0| 69 6e 20 3b 20 65 78 70 | 6f 72 74 20 50 41 54 48 |in ; exp|ort PATH|
|000006d0| 0a 65 63 68 6f 20 49 66 | 20 74 68 69 73 20 61 72 |.echo If| this ar|
|000006e0| 63 68 69 76 65 20 69 73 | 20 63 6f 6d 70 6c 65 74 |chive is| complet|
|000006f0| 65 2c 20 79 6f 75 20 77 | 69 6c 6c 20 73 65 65 20 |e, you w|ill see |
|00000700| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 6d 65 |the foll|owing me|
|00000710| 73 73 61 67 65 3a 0a 65 | 63 68 6f 20 27 20 20 20 |ssage:.e|cho ' |
|00000720| 20 20 20 20 20 20 20 22 | 73 68 61 72 3a 20 45 6e | "|shar: En|
|00000730| 64 20 6f 66 20 61 72 63 | 68 69 76 65 20 31 20 28 |d of arc|hive 1 (|
|00000740| 6f 66 20 32 29 2e 22 27 | 0a 69 66 20 74 65 73 74 |of 2)."'|.if test|
|00000750| 20 2d 66 20 27 52 45 41 | 44 4d 45 27 20 2d 61 20 | -f 'REA|DME' -a |
|00000760| 22 24 7b 31 7d 22 20 21 | 3d 20 22 2d 63 22 20 3b |"${1}" !|= "-c" ;|
|00000770| 20 74 68 65 6e 20 0a 20 | 20 65 63 68 6f 20 73 68 | then . | echo sh|
|00000780| 61 72 3a 20 57 69 6c 6c | 20 6e 6f 74 20 63 6c 6f |ar: Will| not clo|
|00000790| 62 62 65 72 20 65 78 69 | 73 74 69 6e 67 20 66 69 |bber exi|sting fi|
|000007a0| 6c 65 20 5c 22 27 52 45 | 41 44 4d 45 27 5c 22 0a |le \"'RE|ADME'\".|
|000007b0| 65 6c 73 65 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |else. e|cho shar|
|000007c0| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|000007d0| 52 45 41 44 4d 45 27 5c | 22 20 5c 28 38 37 32 33 |README'\|" \(8723|
|000007e0| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 20 20 | charact|ers\). |
|000007f0| 73 65 64 20 22 73 2f 5e | 58 2f 2f 22 20 3e 27 52 |sed "s/^|X//" >'R|
|00000800| 45 41 44 4d 45 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |EADME' <|<'END_OF|
|00000810| 5f 46 49 4c 45 27 0a 58 | 40 28 23 29 20 52 45 41 |_FILE'.X|@(#) REA|
|00000820| 44 4d 45 20 31 2e 31 35 | 20 39 33 2f 30 38 2f 31 |DME 1.15| 93/08/1|
|00000830| 38 20 30 30 3a 30 38 3a | 35 37 0a 58 0a 58 22 65 |8 00:08:|57.X.X"e|
|00000840| 6e 68 2d 64 75 32 22 20 | 69 73 20 61 20 68 69 67 |nh-du2" |is a hig|
|00000850| 68 6c 79 2d 70 6f 72 74 | 61 62 6c 65 2c 20 68 69 |hly-port|able, hi|
|00000860| 67 68 2d 70 65 72 66 6f | 72 6d 61 6e 63 65 2c 20 |gh-perfo|rmance, |
|00000870| 50 4f 53 49 58 2d 63 6f | 6e 66 6f 72 6d 61 6e 74 |POSIX-co|nformant|
|00000880| 0a 58 72 65 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |.Xreimpl|ementati|
|00000890| 6f 6e 20 6f 66 20 74 68 | 65 20 22 64 75 22 20 63 |on of th|e "du" c|
|000008a0| 6f 6d 6d 61 6e 64 2e 20 | 20 49 74 20 61 6c 73 6f |ommand. | It also|
|000008b0| 20 61 64 64 73 20 73 6f | 6d 65 20 68 65 6c 70 66 | adds so|me helpf|
|000008c0| 75 6c 0a 58 66 65 61 74 | 75 72 65 73 20 79 6f 75 |ul.Xfeat|ures you|
|000008d0| 72 20 73 79 73 74 65 6d | 20 22 64 75 22 20 6c 61 |r system| "du" la|
|000008e0| 63 6b 73 2e 20 20 49 66 | 20 79 6f 75 20 66 69 6e |cks. If| you fin|
|000008f0| 64 20 79 6f 75 72 20 63 | 75 72 72 65 6e 74 20 73 |d your c|urrent s|
|00000900| 79 73 74 65 6d 20 22 64 | 75 22 0a 58 62 75 67 67 |ystem "d|u".Xbugg|
|00000910| 79 20 6f 72 20 75 6e 61 | 63 63 65 70 74 61 62 6c |y or una|cceptabl|
|00000920| 79 20 73 6c 6f 77 2c 20 | 6f 72 20 69 66 20 79 6f |y slow, |or if yo|
|00000930| 75 20 66 69 6e 64 20 73 | 6f 6d 65 20 6f 66 20 74 |u find s|ome of t|
|00000940| 68 65 20 66 65 61 74 75 | 72 65 73 20 69 6e 0a 58 |he featu|res in.X|
|00000950| 74 68 69 73 20 76 65 72 | 73 69 6f 6e 20 61 70 70 |this ver|sion app|
|00000960| 65 61 6c 69 6e 67 2c 20 | 79 6f 75 20 6d 69 67 68 |ealing, |you migh|
|00000970| 74 20 77 61 6e 74 20 74 | 6f 20 74 72 79 20 69 74 |t want t|o try it|
|00000980| 2e 0a 58 0a 58 54 68 69 | 73 20 70 61 63 6b 61 67 |..X.XThi|s packag|
|00000990| 65 20 69 6e 63 6c 75 64 | 65 73 2c 20 69 6e 20 61 |e includ|es, in a|
|000009a0| 64 64 69 74 69 6f 6e 20 | 74 6f 20 74 68 65 20 65 |ddition |to the e|
|000009b0| 6e 68 61 6e 63 65 64 20 | 22 64 75 22 20 63 6f 6d |nhanced |"du" com|
|000009c0| 6d 61 6e 64 2c 20 61 0a | 58 63 6f 75 70 6c 65 20 |mand, a.|Xcouple |
|000009d0| 6f 66 20 68 61 6e 64 79 | 20 75 74 69 6c 69 74 69 |of handy| utiliti|
|000009e0| 65 73 2e 20 20 54 68 65 | 20 22 64 75 73 6f 72 74 |es. The| "dusort|
|000009f0| 22 20 66 69 6c 74 65 72 | 20 66 6f 72 6d 61 74 73 |" filter| formats|
|00000a00| 20 74 68 65 20 6f 75 74 | 70 75 74 20 6f 66 0a 58 | the out|put of.X|
|00000a10| 22 64 75 22 20 6e 69 63 | 65 6c 79 2e 20 20 28 45 |"du" nic|ely. (E|
|00000a20| 76 65 6e 20 69 66 20 79 | 6f 75 20 61 72 65 6e 27 |ven if y|ou aren'|
|00000a30| 74 20 69 6e 74 65 72 65 | 73 74 65 64 20 69 6e 20 |t intere|sted in |
|00000a40| 74 68 65 20 22 64 75 22 | 20 70 72 6f 67 72 61 6d |the "du"| program|
|00000a50| 20 69 74 73 65 6c 66 0a | 58 63 68 65 63 6b 20 6f | itself.|Xcheck o|
|00000a60| 75 74 20 74 68 69 73 20 | 66 69 6c 74 65 72 2e 29 |ut this |filter.)|
|00000a70| 20 20 54 68 65 20 22 6e | 67 73 69 7a 65 73 22 20 | The "n|gsizes" |
|00000a80| 73 63 72 69 70 74 20 70 | 72 6f 64 75 63 65 73 20 |script p|roduces |
|00000a90| 61 20 73 75 6d 6d 61 72 | 79 20 6f 66 0a 58 64 69 |a summar|y of.Xdi|
|00000aa0| 73 6b 20 73 70 61 63 65 | 20 75 73 65 64 20 62 79 |sk space| used by|
|00000ab0| 20 74 68 65 20 75 73 65 | 6e 65 74 20 6e 65 77 73 | the use|net news|
|00000ac0| 20 73 79 73 74 65 6d 2e | 20 20 49 74 20 70 75 74 | system.| It put|
|00000ad0| 73 20 73 6f 6d 65 20 6f | 66 20 74 68 65 0a 58 22 |s some o|f the.X"|
|00000ae0| 65 6e 68 2d 64 75 32 22 | 20 66 65 61 74 75 72 65 |enh-du2"| feature|
|00000af0| 73 20 74 6f 20 67 6f 6f | 64 20 75 73 65 2e 0a 58 |s to goo|d use..X|
|00000b00| 0a 58 0a 58 3d 3d 3d 20 | 43 6f 6e 74 65 6e 74 73 |.X.X=== |Contents|
|00000b10| 20 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d | =======|========|
|00000b20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000b30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000b40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000b50| 3d 3d 0a 58 0a 58 09 2d | 20 4f 76 65 72 76 69 65 |==.X.X.-| Overvie|
|00000b60| 77 0a 58 09 2d 20 49 6e | 73 74 61 6c 6c 61 74 69 |w.X.- In|stallati|
|00000b70| 6f 6e 0a 58 09 2d 20 43 | 72 65 64 69 74 73 0a 58 |on.X.- C|redits.X|
|00000b80| 0a 58 0a 58 3d 3d 3d 20 | 4f 76 65 72 76 69 65 77 |.X.X=== |Overview|
|00000b90| 20 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d | =======|========|
|00000ba0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000bb0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000bc0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000bd0| 3d 3d 0a 58 0a 58 57 6f | 72 64 20 74 6f 20 74 68 |==.X.XWo|rd to th|
|00000be0| 65 20 69 6d 70 61 74 69 | 65 6e 74 3a 20 20 45 64 |e impati|ent: Ed|
|00000bf0| 69 74 20 22 4d 61 6b 65 | 66 69 6c 65 22 20 61 6e |it "Make|file" an|
|00000c00| 64 20 22 63 6f 6e 66 69 | 67 2e 68 22 2c 20 74 68 |d "confi|g.h", th|
|00000c10| 65 6e 20 72 75 6e 20 22 | 6d 61 6b 65 22 2e 0a 58 |en run "|make"..X|
|00000c20| 0a 58 54 68 69 73 20 76 | 65 72 73 69 6f 6e 20 73 |.XThis v|ersion s|
|00000c30| 75 70 65 72 63 65 64 65 | 73 20 74 68 65 20 22 65 |upercede|s the "e|
|00000c40| 6e 68 2d 64 75 22 20 70 | 75 62 6c 69 73 68 65 64 |nh-du" p|ublished|
|00000c50| 20 69 6e 20 63 6f 6d 70 | 2e 73 6f 75 72 63 65 73 | in comp|.sources|
|00000c60| 2e 6d 69 73 63 0a 58 76 | 6f 6c 75 6d 65 20 31 34 |.misc.Xv|olume 14|
|00000c70| 2e 20 20 54 68 65 20 75 | 70 64 61 74 65 20 69 73 |. The u|pdate is|
|00000c80| 20 6e 6f 74 20 69 6e 74 | 65 6e 64 65 64 20 74 6f | not int|ended to|
|00000c90| 20 70 72 6f 76 69 64 65 | 20 61 6e 20 65 78 70 6c | provide| an expl|
|00000ca0| 6f 73 69 6f 6e 20 6f 66 | 0a 58 63 68 72 6f 6d 65 |osion of|.Xchrome|
|00000cb0| 20 61 6e 64 20 62 6c 6f | 61 74 20 28 61 6b 61 20 | and blo|at (aka |
|00000cc0| 22 67 72 61 74 75 69 74 | 6f 75 73 20 66 65 61 74 |"gratuit|ous feat|
|00000cd0| 75 72 65 73 22 29 2e 20 | 20 54 68 69 73 20 72 65 |ures"). | This re|
|00000ce0| 6c 65 61 73 65 20 6d 61 | 69 6e 6c 79 0a 58 69 6d |lease ma|inly.Xim|
|00000cf0| 70 72 6f 76 65 73 20 70 | 6f 72 74 61 62 69 6c 69 |proves p|ortabili|
|00000d00| 74 79 2c 20 65 73 70 65 | 63 69 61 6c 6c 79 20 69 |ty, espe|cially i|
|00000d10| 6e 20 68 65 74 65 72 6f | 67 65 6e 65 6f 75 73 20 |n hetero|geneous |
|00000d20| 6e 65 74 77 6f 72 6b 65 | 64 20 65 6e 76 69 72 6f |networke|d enviro|
|00000d30| 6e 6d 65 6e 74 73 2e 0a | 58 0a 58 54 68 65 20 6f |nments..|X.XThe o|
|00000d40| 72 69 67 69 6e 61 6c 20 | 22 65 6e 68 2d 64 75 22 |riginal |"enh-du"|
|00000d50| 20 77 61 73 20 77 72 69 | 74 74 65 6e 20 74 6f 20 | was wri|tten to |
|00000d60| 61 64 64 72 65 73 73 20 | 73 65 76 65 72 61 6c 20 |address |several |
|00000d70| 70 72 6f 62 6c 65 6d 73 | 2e 20 20 54 68 65 72 65 |problems|. There|
|00000d80| 0a 58 77 65 72 65 20 73 | 6f 6d 65 20 74 68 69 6e |.Xwere s|ome thin|
|00000d90| 67 73 20 49 20 63 6f 75 | 6c 64 6e 27 74 20 64 6f |gs I cou|ldn't do|
|00000da0| 20 77 69 74 68 20 74 68 | 65 20 76 65 6e 64 6f 72 | with th|e vendor|
|00000db0| 2d 70 72 6f 76 69 64 65 | 64 20 22 64 75 22 2e 20 |-provide|d "du". |
|00000dc0| 20 53 6f 6d 65 74 69 6d | 65 73 2c 0a 58 66 6f 72 | Sometim|es,.Xfor|
|00000dd0| 20 65 78 61 6d 70 6c 65 | 2c 20 49 20 77 61 6e 74 | example|, I want|
|00000de0| 65 64 20 74 6f 20 73 65 | 65 20 75 73 61 67 65 20 |ed to se|e usage |
|00000df0| 69 6e 20 31 4b 20 62 6c | 6f 63 6b 73 20 69 6e 73 |in 1K bl|ocks ins|
|00000e00| 74 65 61 64 20 6f 66 20 | 35 31 32 2d 62 79 74 65 |tead of |512-byte|
|00000e10| 0a 58 62 6c 6f 63 6b 73 | 2c 20 6f 72 20 49 20 77 |.Xblocks|, or I w|
|00000e20| 61 6e 74 65 64 20 74 6f | 20 6c 6f 6f 6b 20 61 74 |anted to| look at|
|00000e30| 20 64 69 73 6b 20 75 73 | 61 67 65 20 77 69 74 68 | disk us|age with|
|00000e40| 6f 75 74 20 61 63 63 75 | 6d 75 6c 61 74 69 6e 67 |out accu|mulating|
|00000e50| 0a 58 73 75 62 64 69 72 | 65 63 74 6f 72 79 20 75 |.Xsubdir|ectory u|
|00000e60| 73 61 67 65 20 69 6e 74 | 6f 20 70 61 72 65 6e 74 |sage int|o parent|
|00000e70| 20 64 69 72 65 63 74 6f | 72 69 65 73 2e 20 20 4d | directo|ries. M|
|00000e80| 6f 72 65 6f 76 65 72 2c | 20 49 20 66 6f 75 6e 64 |oreover,| I found|
|00000e90| 20 74 68 61 74 0a 58 6d | 61 6e 79 20 76 65 6e 64 | that.Xm|any vend|
|00000ea0| 6f 72 73 20 73 68 69 70 | 70 65 64 20 76 65 72 73 |ors ship|ped vers|
|00000eb0| 69 6f 6e 73 20 6f 66 20 | 22 64 75 22 20 74 68 61 |ions of |"du" tha|
|00000ec0| 74 20 77 65 72 65 20 62 | 72 6f 6b 65 6e 20 28 6d |t were b|roken (m|
|00000ed0| 6f 73 74 20 63 6f 6d 6d | 6f 6e 0a 58 62 75 67 20 |ost comm|on.Xbug |
|00000ee0| 77 61 73 20 69 6e 63 6f | 72 72 65 63 74 20 69 6e |was inco|rrect in|
|00000ef0| 64 69 72 65 63 74 20 62 | 6c 6f 63 6b 20 6f 76 65 |direct b|lock ove|
|00000f00| 72 68 65 61 64 20 63 61 | 6c 63 75 6c 61 74 69 6f |rhead ca|lculatio|
|00000f10| 6e 73 29 20 6f 72 20 73 | 6c 75 67 67 69 73 68 2e |ns) or s|luggish.|
|00000f20| 0a 58 0a 58 49 20 74 68 | 69 6e 6b 20 74 68 65 20 |.X.XI th|ink the |
|00000f30| 6f 72 69 67 69 6e 61 6c | 20 72 65 6c 65 61 73 65 |original| release|
|00000f40| 20 6d 65 74 20 74 68 6f | 73 65 20 67 6f 61 6c 73 | met tho|se goals|
|00000f50| 2e 20 20 54 68 69 73 20 | 76 65 72 73 69 6f 6e 20 |. This |version |
|00000f60| 61 64 64 72 65 73 73 65 | 73 0a 58 61 20 63 6f 75 |addresse|s.Xa cou|
|00000f70| 70 6c 65 20 6f 66 20 61 | 64 64 69 74 69 6f 6e 61 |ple of a|dditiona|
|00000f80| 6c 20 69 73 73 75 65 73 | 2e 20 20 49 74 20 69 73 |l issues|. It is|
|00000f90| 20 6d 6f 72 65 20 70 6f | 72 74 61 62 6c 65 2e 20 | more po|rtable. |
|00000fa0| 20 49 74 20 69 73 20 6d | 6f 72 65 0a 58 72 65 6c | It is m|ore.Xrel|
|00000fb0| 69 61 62 6c 65 2c 20 70 | 61 72 74 69 63 75 6c 61 |iable, p|articula|
|00000fc0| 72 6c 79 20 69 6e 20 6e | 65 74 77 6f 72 6b 65 64 |rly in n|etworked|
|00000fd0| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 73 20 77 68 | environ|ments wh|
|00000fe0| 65 72 65 20 6f 6e 65 20 | 6f 72 20 6d 6f 72 65 0a |ere one |or more.|
|00000ff0| 58 76 65 6e 64 6f 72 73 | 20 64 6f 6e 27 74 20 64 |Xvendors| don't d|
|00001000| 6f 20 73 74 61 74 28 32 | 29 20 63 6f 72 72 65 63 |o stat(2|) correc|
|00001010| 74 6c 79 2e 20 20 49 74 | 20 73 68 6f 75 6c 64 20 |tly. It| should |
|00001020| 6e 6f 74 20 62 65 20 63 | 6f 6d 70 61 74 69 62 6c |not be c|ompatibl|
|00001030| 65 20 77 69 74 68 0a 58 | 50 6f 73 69 78 20 31 30 |e with.X|Posix 10|
|00001040| 30 33 2e 31 2e 20 20 4f | 68 20 79 65 61 68 2c 20 |03.1. O|h yeah, |
|00001050| 61 6e 64 20 69 74 20 64 | 6f 65 73 20 61 64 64 20 |and it d|oes add |
|00001060| 61 20 66 65 77 20 6e 65 | 77 20 66 65 61 74 75 72 |a few ne|w featur|
|00001070| 65 73 2e 0a 58 0a 58 49 | 6e 20 74 68 65 20 74 69 |es..X.XI|n the ti|
|00001080| 6d 65 20 73 69 6e 63 65 | 20 74 68 65 20 6f 72 69 |me since| the ori|
|00001090| 67 69 6e 61 6c 20 22 65 | 6e 68 2d 64 75 22 20 77 |ginal "e|nh-du" w|
|000010a0| 61 73 20 72 65 6c 65 61 | 73 65 64 2c 20 6d 61 6e |as relea|sed, man|
|000010b0| 79 20 76 65 6e 64 6f 72 | 73 0a 58 68 61 76 65 20 |y vendor|s.Xhave |
|000010c0| 67 6f 74 74 65 6e 20 74 | 68 65 69 72 20 61 63 74 |gotten t|heir act|
|000010d0| 20 74 6f 67 65 74 68 65 | 72 2c 20 70 72 6f 76 69 | togethe|r, provi|
|000010e0| 64 69 6e 67 20 76 65 72 | 73 69 6f 6e 73 20 6f 66 |ding ver|sions of|
|000010f0| 20 22 64 75 22 20 74 68 | 61 74 20 66 69 78 65 64 | "du" th|at fixed|
|00001100| 0a 58 74 68 65 20 62 75 | 67 73 20 61 6e 64 20 69 |.Xthe bu|gs and i|
|00001110| 6d 70 72 6f 76 65 64 20 | 70 65 72 66 6f 72 6d 61 |mproved |performa|
|00001120| 6e 63 65 2e 20 20 4e 6f | 6e 65 20 74 68 65 20 6c |nce. No|ne the l|
|00001130| 65 73 73 2c 20 49 27 76 | 65 20 66 6f 75 6e 64 20 |ess, I'v|e found |
|00001140| 74 68 61 74 0a 58 22 65 | 6e 68 2d 64 75 32 22 20 |that.X"e|nh-du2" |
|00001150| 70 65 72 66 6f 72 6d 73 | 20 66 61 76 6f 72 61 62 |performs| favorab|
|00001160| 6c 79 20 77 69 74 68 20 | 72 65 73 70 65 63 74 20 |ly with |respect |
|00001170| 74 6f 20 65 76 65 72 79 | 20 61 6c 74 65 72 6e 61 |to every| alterna|
|00001180| 74 69 76 65 20 49 20 68 | 61 76 65 0a 58 74 72 69 |tive I h|ave.Xtri|
|00001190| 65 64 20 2d 2d 20 69 6e | 63 6c 75 64 69 6e 67 20 |ed -- in|cluding |
|000011a0| 62 6f 74 68 20 76 65 6e | 64 6f 72 20 73 75 70 70 |both ven|dor supp|
|000011b0| 6c 69 65 64 20 61 6e 64 | 20 66 72 65 65 6c 79 20 |lied and| freely |
|000011c0| 61 76 61 69 6c 61 62 6c | 65 20 76 65 72 73 69 6f |availabl|e versio|
|000011d0| 6e 73 2e 0a 58 54 68 69 | 73 20 6d 65 61 6e 73 20 |ns..XThi|s means |
|000011e0| 74 68 61 74 20 69 66 20 | 79 6f 75 20 75 73 65 20 |that if |you use |
|000011f0| 22 65 6e 68 2d 64 75 32 | 22 20 66 6f 72 20 74 68 |"enh-du2|" for th|
|00001200| 65 20 61 64 64 65 64 20 | 66 65 61 74 75 72 65 73 |e added |features|
|00001210| 2c 20 79 6f 75 20 73 68 | 6f 75 6c 64 0a 58 6e 6f |, you sh|ould.Xno|
|00001220| 74 20 70 61 79 20 61 20 | 70 65 72 66 6f 72 6d 61 |t pay a |performa|
|00001230| 6e 63 65 20 70 65 6e 61 | 6c 74 79 20 66 6f 72 20 |nce pena|lty for |
|00001240| 74 68 61 74 20 63 68 6f | 69 63 65 2e 0a 58 0a 58 |that cho|ice..X.X|
|00001250| 54 77 6f 20 6e 65 77 20 | 66 65 61 74 75 72 65 73 |Two new |features|
|00001260| 20 68 61 76 65 20 62 65 | 65 6e 20 61 64 64 65 64 | have be|en added|
|00001270| 20 74 6f 20 74 68 69 73 | 20 72 65 6c 65 61 73 65 | to this| release|
|00001280| 20 70 65 72 20 74 68 65 | 20 72 65 71 75 65 73 74 | per the| request|
|00001290| 73 20 6f 66 0a 58 73 65 | 76 65 72 61 6c 20 70 65 |s of.Xse|veral pe|
|000012a0| 6f 70 6c 65 2e 20 20 41 | 6e 20 22 2d 4c 22 20 73 |ople. A|n "-L" s|
|000012b0| 77 69 74 63 68 20 68 61 | 73 20 62 65 65 6e 20 61 |witch ha|s been a|
|000012c0| 64 64 65 64 20 74 6f 20 | 61 76 65 72 61 67 65 20 |dded to |average |
|000012d0| 74 68 65 20 75 73 61 67 | 65 20 6f 66 0a 58 6d 75 |the usag|e of.Xmu|
|000012e0| 6c 74 69 70 6c 79 2d 6c | 69 6e 6b 65 64 20 66 69 |ltiply-l|inked fi|
|000012f0| 6c 65 73 20 61 63 72 6f | 73 73 20 61 6c 6c 20 6f |les acro|ss all o|
|00001300| 66 20 74 68 65 20 6c 69 | 6e 6b 73 2e 20 20 41 20 |f the li|nks. A |
|00001310| 22 2d 43 22 20 73 77 69 | 74 63 68 20 68 61 73 0a |"-C" swi|tch has.|
|00001320| 58 62 65 65 6e 20 61 64 | 64 65 64 20 74 6f 20 64 |Xbeen ad|ded to d|
|00001330| 69 73 70 6c 61 79 20 61 | 20 66 69 6c 65 20 63 6f |isplay a| file co|
|00001340| 75 6e 74 20 69 6e 20 61 | 64 64 69 74 69 6f 6e 20 |unt in a|ddition |
|00001350| 74 6f 20 74 68 65 20 64 | 69 73 6b 20 75 73 61 67 |to the d|isk usag|
|00001360| 65 2e 0a 58 0a 58 54 6f | 20 67 69 76 65 20 79 6f |e..X.XTo| give yo|
|00001370| 75 20 61 20 66 65 65 6c | 20 66 6f 72 20 77 68 61 |u a feel| for wha|
|00001380| 74 20 74 68 69 73 20 70 | 72 6f 67 72 61 6d 20 63 |t this p|rogram c|
|00001390| 61 6e 20 64 6f 2c 20 68 | 65 72 65 20 69 73 20 74 |an do, h|ere is t|
|000013a0| 68 65 20 6f 75 74 70 75 | 74 0a 58 6f 66 20 22 64 |he outpu|t.Xof "d|
|000013b0| 75 20 2d 68 22 2e 20 20 | 50 6f 72 74 69 6f 6e 73 |u -h". |Portions|
|000013c0| 20 6f 66 20 74 68 69 73 | 20 6d 65 73 73 61 67 65 | of this| message|
|000013d0| 20 61 72 65 20 73 69 74 | 65 20 64 65 70 65 6e 64 | are sit|e depend|
|000013e0| 61 6e 74 2c 20 61 6e 64 | 20 73 6f 20 79 6f 75 72 |ant, and| so your|
|000013f0| 0a 58 6d 69 6c 65 61 67 | 65 20 6d 61 79 20 76 61 |.Xmileag|e may va|
|00001400| 72 79 2e 0a 58 0a 58 64 | 75 20 2d 20 76 65 72 73 |ry..X.Xd|u - vers|
|00001410| 69 6f 6e 20 32 2e 30 0a | 58 20 20 20 20 43 6f 70 |ion 2.0.|X Cop|
|00001420| 79 72 69 67 68 74 20 31 | 39 39 30 2d 31 39 39 33 |yright 1|990-1993|
|00001430| 2c 20 55 6e 69 63 6f 6d | 20 53 79 73 74 65 6d 73 |, Unicom| Systems|
|00001440| 20 44 65 76 65 6c 6f 70 | 6d 65 6e 74 2c 20 49 6e | Develop|ment, In|
|00001450| 63 2e 20 20 41 6c 6c 20 | 72 69 67 68 74 73 20 72 |c. All |rights r|
|00001460| 65 73 65 72 76 65 64 2e | 0a 58 55 73 61 67 65 3a |eserved.|.XUsage:|
|00001470| 0a 58 20 20 20 20 64 75 | 20 5b 20 6f 70 74 69 6f |.X du| [ optio|
|00001480| 6e 73 20 5d 20 5b 20 70 | 61 74 68 20 2e 2e 2e 20 |ns ] [ p|ath ... |
|00001490| 5d 0a 58 4f 70 74 69 6f | 6e 73 3a 0a 58 20 20 20 |].XOptio|ns:.X |
|000014a0| 20 2d 61 20 20 20 20 20 | 20 20 20 20 20 52 65 70 | -a | Rep|
|000014b0| 6f 72 74 20 61 6c 6c 20 | 65 6e 74 72 69 65 73 2c |ort all |entries,|
|000014c0| 20 69 2e 65 2e 20 66 69 | 6c 65 73 20 61 73 20 77 | i.e. fi|les as w|
|000014d0| 65 6c 6c 20 61 73 20 64 | 69 72 65 63 74 6f 72 69 |ell as d|irectori|
|000014e0| 65 73 2e 0a 58 20 20 20 | 20 2d 62 20 20 20 20 20 |es..X | -b |
|000014f0| 20 20 20 20 20 45 71 75 | 69 76 61 6c 65 6e 74 20 | Equ|ivalent |
|00001500| 74 6f 20 22 2d 42 20 31 | 22 2e 0a 58 20 20 20 20 |to "-B 1|"..X |
|00001510| 2d 42 20 6e 20 20 20 20 | 20 20 20 20 52 65 70 6f |-B n | Repo|
|00001520| 72 74 20 69 6e 20 62 6c | 6f 63 6b 73 20 6f 66 20 |rt in bl|ocks of |
|00001530| 22 6e 22 20 62 79 74 65 | 73 20 28 64 65 66 61 75 |"n" byte|s (defau|
|00001540| 6c 74 20 35 31 32 29 2e | 0a 58 20 20 20 20 20 20 |lt 512).|.X |
|00001550| 20 20 20 20 20 20 20 20 | 20 20 20 20 28 55 73 65 | | (Use|
|00001560| 20 22 30 22 20 74 6f 20 | 72 65 70 6f 72 74 20 69 | "0" to |report i|
|00001570| 6e 20 6e 61 74 69 76 65 | 20 66 69 6c 65 73 79 73 |n native| filesys|
|00001580| 74 65 6d 20 62 6c 6f 63 | 6b 73 2e 29 0a 58 20 20 |tem bloc|ks.).X |
|00001590| 20 20 2d 63 20 6e 2c 6e | 2c 2e 2e 2e 20 20 42 72 | -c n,n|,... Br|
|000015a0| 65 61 6b 64 6f 77 6e 20 | 62 79 20 61 67 65 2c 20 |eakdown |by age, |
|000015b0| 6f 6e 65 20 63 6f 6c 20 | 66 6f 72 20 65 61 63 68 |one col |for each|
|000015c0| 20 22 6e 22 20 64 61 79 | 73 20 6f 72 20 6f 6c 64 | "n" day|s or old|
|000015d0| 65 72 2e 0a 58 20 20 20 | 20 2d 43 20 20 20 20 20 |er..X | -C |
|000015e0| 20 20 20 20 20 44 69 73 | 70 6c 61 79 20 66 69 6c | Dis|play fil|
|000015f0| 65 20 63 6f 75 6e 74 73 | 20 61 73 20 77 65 6c 6c |e counts| as well|
|00001600| 20 61 73 20 64 69 73 6b | 20 75 73 61 67 65 2e 0a | as disk| usage..|
|00001610| 58 20 20 20 20 2d 66 20 | 20 20 20 20 20 20 20 20 |X -f | |
|00001620| 20 44 6f 20 6e 6f 74 20 | 63 72 6f 73 73 20 61 6e | Do not |cross an|
|00001630| 79 20 66 69 6c 65 73 79 | 73 74 65 6d 20 6d 6f 75 |y filesy|stem mou|
|00001640| 6e 74 20 70 6f 69 6e 74 | 73 2e 0a 58 20 20 20 20 |nt point|s..X |
|00001650| 2d 46 20 20 20 20 20 20 | 20 20 20 20 44 6f 20 6e |-F | Do n|
|00001660| 6f 74 20 63 72 6f 73 73 | 20 72 65 6d 6f 74 65 20 |ot cross| remote |
|00001670| 66 69 6c 65 73 79 73 74 | 65 6d 20 6d 6f 75 6e 74 |filesyst|em mount|
|00001680| 20 70 6f 69 6e 74 73 2e | 0a 58 20 20 20 20 2d 68 | points.|.X -h|
|00001690| 20 20 20 20 20 20 20 20 | 20 20 44 69 73 70 6c 61 | | Displa|
|000016a0| 79 20 74 68 69 73 20 68 | 65 6c 70 20 6d 65 73 73 |y this h|elp mess|
|000016b0| 61 67 65 2e 0a 58 20 20 | 20 20 2d 69 20 20 20 20 |age..X | -i |
|000016c0| 20 20 20 20 20 20 44 6f | 20 6e 6f 74 20 61 63 63 | Do| not acc|
|000016d0| 75 6d 75 6c 61 74 65 20 | 73 75 62 64 69 72 65 63 |umulate |subdirec|
|000016e0| 74 6f 72 79 20 75 73 61 | 67 65 73 20 69 6e 74 6f |tory usa|ges into|
|000016f0| 20 70 61 72 65 6e 74 20 | 64 69 72 2e 0a 58 20 20 | parent |dir..X |
|00001700| 20 20 2d 6b 20 20 20 20 | 20 20 20 20 20 20 45 71 | -k | Eq|
|00001710| 75 69 76 61 6c 65 6e 74 | 20 74 6f 20 22 2d 42 20 |uivalent| to "-B |
|00001720| 31 30 32 34 22 2e 0a 58 | 20 20 20 20 2d 6c 20 20 |1024"..X| -l |
|00001730| 20 20 20 20 20 20 20 20 | 43 6f 75 6e 74 20 6d 75 | |Count mu|
|00001740| 6c 74 69 70 6c 79 20 6c | 69 6e 6b 65 64 20 66 69 |ltiply l|inked fi|
|00001750| 6c 65 73 20 65 61 63 68 | 20 74 69 6d 65 20 65 6e |les each| time en|
|00001760| 63 6f 75 6e 74 65 72 65 | 64 2e 0a 58 20 20 20 20 |countere|d..X |
|00001770| 2d 4c 20 20 20 20 20 20 | 20 20 20 20 41 76 65 72 |-L | Aver|
|00001780| 61 67 65 20 75 73 61 67 | 65 20 6f 66 20 6d 75 6c |age usag|e of mul|
|00001790| 74 69 70 6c 79 20 6c 69 | 6e 6b 65 64 20 66 69 6c |tiply li|nked fil|
|000017a0| 65 73 20 61 63 72 6f 73 | 73 20 74 68 65 20 6c 69 |es acros|s the li|
|000017b0| 6e 6b 73 2e 0a 58 20 20 | 20 20 2d 73 20 20 20 20 |nks..X | -s |
|000017c0| 20 20 20 20 20 20 4f 6e | 6c 79 20 72 65 70 6f 72 | On|ly repor|
|000017d0| 74 20 61 20 74 6f 74 61 | 6c 20 66 6f 72 20 65 61 |t a tota|l for ea|
|000017e0| 63 68 20 61 72 67 75 6d | 65 6e 74 20 6f 6e 20 63 |ch argum|ent on c|
|000017f0| 6f 6d 6d 61 6e 64 20 6c | 69 6e 65 2e 0a 58 20 20 |ommand l|ine..X |
|00001800| 20 20 2d 74 20 20 20 20 | 20 20 20 20 20 20 52 65 | -t | Re|
|00001810| 70 6f 72 74 20 61 20 67 | 72 61 6e 64 20 74 6f 74 |port a g|rand tot|
|00001820| 61 6c 20 6f 66 20 61 6c | 6c 20 69 74 65 6d 73 2e |al of al|l items.|
|00001830| 0a 58 20 20 20 20 2d 75 | 20 20 20 20 20 20 20 20 |.X -u| |
|00001840| 20 20 53 6b 69 70 20 28 | 64 6f 20 6e 6f 74 20 63 | Skip (|do not c|
|00001850| 6f 75 6e 74 29 20 6d 75 | 6c 74 69 70 6c 79 20 6c |ount) mu|ltiply l|
|00001860| 69 6e 6b 65 64 20 66 69 | 6c 65 73 20 65 6e 74 69 |inked fi|les enti|
|00001870| 72 65 6c 79 2e 0a 58 20 | 20 20 20 2d 55 20 75 73 |rely..X | -U us|
|00001880| 65 72 20 20 20 20 20 52 | 65 70 6f 72 74 20 6f 6e |er R|eport on|
|00001890| 6c 79 20 75 73 61 67 65 | 20 62 79 20 67 69 76 65 |ly usage| by give|
|000018a0| 6e 20 75 73 65 72 20 28 | 73 70 65 63 69 66 79 20 |n user (|specify |
|000018b0| 6e 61 6d 65 20 6f 72 20 | 69 64 20 6e 75 6d 29 2e |name or |id num).|
|000018c0| 0a 58 0a 58 0a 58 3d 3d | 3d 20 49 6e 73 74 61 6c |.X.X.X==|= Instal|
|000018d0| 6c 61 74 69 6f 6e 20 3d | 3d 3d 3d 3d 3d 3d 3d 3d |lation =|========|
|000018e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000018f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001900| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001910| 3d 3d 3d 3d 0a 58 0a 58 | 65 6e 68 2d 64 75 32 20 |====.X.X|enh-du2 |
|00001920| 69 73 20 64 69 73 74 72 | 69 62 75 74 65 64 20 72 |is distr|ibuted r|
|00001930| 65 61 64 79 20 74 6f 20 | 67 6f 20 66 6f 72 20 61 |eady to |go for a|
|00001940| 6e 20 53 43 4f 20 55 6e | 69 78 20 33 2e 32 76 32 |n SCO Un|ix 3.2v2|
|00001950| 20 73 79 73 74 65 6d 2e | 20 20 49 66 20 79 6f 75 | system.| If you|
|00001960| 0a 58 61 72 65 20 75 73 | 69 6e 67 20 73 6f 6d 65 |.Xare us|ing some|
|00001970| 74 68 69 6e 67 20 65 6c | 73 65 2c 20 79 6f 75 27 |thing el|se, you'|
|00001980| 76 65 20 67 6f 74 20 61 | 20 62 69 74 20 6f 66 20 |ve got a| bit of |
|00001990| 77 6f 72 6b 20 74 6f 20 | 64 6f 2e 20 20 48 65 72 |work to |do. Her|
|000019a0| 65 20 61 72 65 20 74 68 | 65 0a 58 73 74 65 70 73 |e are th|e.Xsteps|
|000019b0| 20 74 6f 20 62 72 69 6e | 67 20 75 70 20 74 68 65 | to brin|g up the|
|000019c0| 20 70 61 63 6b 61 67 65 | 3a 0a 58 0a 58 20 20 2d | package|:.X.X -|
|000019d0| 20 43 75 73 74 6f 6d 69 | 7a 65 20 74 68 65 20 22 | Customi|ze the "|
|000019e0| 63 6f 6e 66 69 67 2e 68 | 22 20 66 69 6c 65 20 66 |config.h|" file f|
|000019f0| 6f 72 20 79 6f 75 72 20 | 73 79 73 74 65 6d 2e 0a |or your |system..|
|00001a00| 58 0a 58 20 20 2d 20 43 | 75 73 74 6f 6d 69 7a 65 |X.X - C|ustomize|
|00001a10| 20 74 68 65 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 | the def|initions|
|00001a20| 20 61 74 20 74 68 65 20 | 74 6f 70 20 6f 66 20 74 | at the |top of t|
|00001a30| 68 65 20 22 4d 61 6b 65 | 66 69 6c 65 22 2e 0a 58 |he "Make|file"..X|
|00001a40| 0a 58 20 20 2d 20 52 75 | 6e 20 22 6d 61 6b 65 22 |.X - Ru|n "make"|
|00001a50| 2e 0a 58 0a 58 20 20 2d | 20 54 72 79 20 69 74 2e |..X.X -| Try it.|
|00001a60| 20 20 49 66 20 79 6f 75 | 20 6c 69 6b 65 20 69 74 | If you| like it|
|00001a70| 20 72 75 6e 20 22 6d 61 | 6b 65 20 69 6e 73 74 61 | run "ma|ke insta|
|00001a80| 6c 6c 22 2e 20 20 59 6f | 75 20 77 69 6c 6c 2c 20 |ll". Yo|u will, |
|00001a90| 68 6f 77 65 76 65 72 2c | 0a 58 20 20 20 20 6e 65 |however,|.X ne|
|00001aa0| 65 64 20 74 6f 20 63 75 | 73 74 6f 6d 69 7a 65 20 |ed to cu|stomize |
|00001ab0| 61 20 62 75 6e 63 68 20 | 6f 66 20 64 65 66 69 6e |a bunch |of defin|
|00001ac0| 69 74 69 6f 6e 73 20 69 | 6e 20 74 68 65 20 22 4d |itions i|n the "M|
|00001ad0| 61 6b 65 66 69 6c 65 22 | 20 74 6f 0a 58 20 20 20 |akefile"| to.X |
|00001ae0| 20 74 65 6c 6c 20 74 68 | 65 20 69 6e 73 74 61 6c | tell th|e instal|
|00001af0| 6c 20 74 6f 20 64 6f 20 | 77 68 61 74 20 79 6f 75 |l to do |what you|
|00001b00| 20 77 61 6e 74 2e 0a 58 | 0a 58 49 20 68 61 76 65 | want..X|.XI have|
|00001b10| 20 72 65 70 6f 72 74 73 | 20 74 68 61 74 20 22 65 | reports| that "e|
|00001b20| 6e 68 2d 64 75 32 22 20 | 72 75 6e 73 20 6f 6e 20 |nh-du2" |runs on |
|00001b30| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 73 79 |the foll|owing sy|
|00001b40| 73 74 65 6d 73 3a 0a 58 | 0a 58 09 48 50 2f 39 30 |stems:.X|.X.HP/90|
|00001b50| 30 30 20 73 65 72 69 65 | 73 20 34 30 30 09 48 50 |00 serie|s 400.HP|
|00001b60| 2d 55 58 20 38 2e 30 32 | 0a 58 09 48 50 2f 39 30 |-UX 8.02|.X.HP/90|
|00001b70| 30 30 20 73 65 72 69 65 | 73 20 38 30 30 09 48 50 |00 serie|s 800.HP|
|00001b80| 2d 55 58 20 38 2e 30 32 | 0a 58 09 49 42 4d 20 52 |-UX 8.02|.X.IBM R|
|00001b90| 53 2f 36 30 30 30 09 09 | 41 49 58 33 2e 31 0a 58 |S/6000..|AIX3.1.X|
|00001ba0| 09 4e 43 52 20 54 6f 77 | 65 72 09 09 53 79 73 56 |.NCR Tow|er..SysV|
|00001bb0| 72 33 2e 31 20 28 4e 43 | 52 20 72 65 6c 65 61 73 |r3.1 (NC|R releas|
|00001bc0| 65 20 30 33 2e 30 30 2e | 30 30 29 0a 58 09 53 75 |e 03.00.|00).X.Su|
|00001bd0| 6e 20 53 50 41 52 43 09 | 09 53 75 6e 4f 53 20 34 |n SPARC.|.SunOS 4|
|00001be0| 2e 31 2e 32 2c 20 53 6f | 6c 61 72 69 73 20 32 2e |.1.2, So|laris 2.|
|00001bf0| 31 0a 58 09 41 54 26 54 | 20 33 42 31 09 09 53 79 |1.X.AT&T| 3B1..Sy|
|00001c00| 73 56 72 33 2e 32 20 28 | 76 65 72 20 33 2e 35 31 |sVr3.2 (|ver 3.51|
|00001c10| 6d 29 0a 58 09 41 54 26 | 54 20 33 42 32 09 09 53 |m).X.AT&|T 3B2..S|
|00001c20| 79 73 56 72 33 2e 31 0a | 58 09 33 38 36 09 09 09 |ysVr3.1.|X.386...|
|00001c30| 41 54 26 54 20 53 79 73 | 56 20 33 2e 32 2e 32 2e |AT&T Sys|V 3.2.2.|
|00001c40| 33 0a 58 09 33 38 36 09 | 09 09 49 53 43 20 53 79 |3.X.386.|..ISC Sy|
|00001c50| 73 56 72 33 2e 32 20 76 | 65 72 73 69 6f 6e 73 20 |sVr3.2 v|ersions |
|00001c60| 32 2e 30 2e 32 2c 20 32 | 2e 32 2c 20 33 2e 30 2e |2.0.2, 2|.2, 3.0.|
|00001c70| 31 0a 58 09 33 38 36 09 | 09 09 4d 69 63 72 6f 50 |1.X.386.|..MicroP|
|00001c80| 6f 72 74 20 53 79 73 56 | 20 33 2e 30 55 33 2e 30 |ort SysV| 3.0U3.0|
|00001c90| 65 0a 58 09 33 38 36 09 | 09 09 53 43 4f 20 58 65 |e.X.386.|..SCO Xe|
|00001ca0| 6e 69 78 20 32 2e 33 2e | 58 0a 58 09 33 38 36 09 |nix 2.3.|X.X.386.|
|00001cb0| 09 09 53 43 4f 20 55 6e | 69 78 20 33 2e 32 76 32 |..SCO Un|ix 3.2v2|
|00001cc0| 2c 20 33 2e 32 76 34 0a | 58 09 33 38 36 09 09 09 |, 3.2v4.|X.386...|
|00001cd0| 42 53 44 49 20 76 65 72 | 73 69 6f 6e 73 20 30 2e |BSDI ver|sions 0.|
|00001ce0| 39 2e 32 2c 20 31 2e 30 | 0a 58 0a 58 49 66 20 79 |9.2, 1.0|.X.XIf y|
|00001cf0| 6f 75 20 67 65 74 20 73 | 74 75 63 6b 20 63 6f 6e |ou get s|tuck con|
|00001d00| 66 69 67 75 72 69 6e 67 | 20 22 65 6e 68 2d 64 75 |figuring| "enh-du|
|00001d10| 22 2c 20 73 6f 6d 65 20 | 70 6f 73 73 69 62 6c 79 |", some |possibly|
|00001d20| 20 68 65 6c 70 66 75 6c | 20 69 6e 66 6f 72 6d 61 | helpful| informa|
|00001d30| 74 69 6f 6e 0a 58 66 6f | 6c 6c 6f 77 73 2e 20 20 |tion.Xfo|llows. |
|00001d40| 49 27 6c 6c 20 73 68 6f | 77 20 79 6f 75 20 74 68 |I'll sho|w you th|
|00001d50| 65 20 73 65 74 74 69 6e | 67 73 20 49 20 75 73 65 |e settin|gs I use|
|00001d60| 64 20 77 68 65 6e 20 74 | 65 73 74 69 6e 67 20 74 |d when t|esting t|
|00001d70| 68 65 20 70 61 63 6b 61 | 67 65 20 6f 6e 0a 58 76 |he packa|ge on.Xv|
|00001d80| 61 72 69 6f 75 73 20 73 | 79 73 74 65 6d 73 2e 0a |arious s|ystems..|
|00001d90| 58 0a 58 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |X.XThe f|ollowing|
|00001da0| 20 74 61 62 6c 65 20 73 | 68 6f 77 73 20 74 68 65 | table s|hows the|
|00001db0| 20 22 63 6f 6e 66 69 67 | 2e 68 22 20 73 65 74 74 | "config|.h" sett|
|00001dc0| 69 6e 67 73 2e 20 20 54 | 68 65 20 64 69 73 74 72 |ings. T|he distr|
|00001dd0| 69 62 75 74 65 64 0a 58 | 66 69 6c 65 20 69 73 20 |ibuted.X|file is |
|00001de0| 73 65 74 75 70 20 66 6f | 72 20 53 43 4f 20 55 6e |setup fo|r SCO Un|
|00001df0| 69 78 20 33 2e 32 76 32 | 2e 20 20 41 20 22 2d 22 |ix 3.2v2|. A "-"|
|00001e00| 20 69 6e 20 74 68 65 20 | 74 61 62 6c 65 20 6d 65 | in the |table me|
|00001e10| 61 6e 73 20 74 68 65 20 | 69 74 65 6d 0a 58 77 61 |ans the |item.Xwa|
|00001e20| 73 20 6e 6f 74 20 63 68 | 61 6e 67 65 64 20 66 72 |s not ch|anged fr|
|00001e30| 6f 6d 20 74 68 65 20 64 | 69 73 74 72 69 62 75 74 |om the d|istribut|
|00001e40| 65 64 20 73 65 74 74 69 | 6e 67 2e 20 20 22 65 6e |ed setti|ng. "en|
|00001e50| 61 62 22 20 6d 65 61 6e | 73 20 74 68 65 0a 58 64 |ab" mean|s the.Xd|
|00001e60| 65 66 69 6e 69 74 69 6f | 6e 20 77 61 73 20 65 6e |efinitio|n was en|
|00001e70| 61 62 6c 65 64 20 61 6e | 64 20 22 64 69 73 61 62 |abled an|d "disab|
|00001e80| 22 20 6d 65 61 6e 73 20 | 69 74 20 77 61 73 20 63 |" means |it was c|
|00001e90| 6f 6d 6d 65 6e 74 65 64 | 20 6f 75 74 2e 0a 58 0a |ommented| out..X.|
|00001ea0| 58 09 20 20 20 20 64 69 | 73 74 72 69 62 75 74 65 |X. di|stribute|
|00001eb0| 64 0a 58 09 20 20 20 63 | 6f 6e 66 69 67 75 72 61 |d.X. c|onfigura|
|00001ec0| 74 69 6f 6e 0a 58 09 09 | 20 7c 0a 58 09 09 20 7c |tion.X..| |.X.. ||
|00001ed0| 0a 58 09 09 5c 7c 2f 0a | 58 09 09 53 43 4f 09 53 |.X..\|/.|X..SCO.S|
|00001ee0| 43 50 09 53 43 4f 09 49 | 53 43 09 09 09 09 41 54 |CP.SCO.I|SC....AT|
|00001ef0| 26 54 20 33 42 32 0a 58 | 09 09 55 6e 69 78 09 55 |&T 3B2.X|..Unix.U|
|00001f00| 6e 69 78 09 58 65 6e 69 | 78 09 55 6e 69 78 09 53 |nix.Xeni|x.Unix.S|
|00001f10| 6f 6c 61 72 69 73 09 53 | 75 6e 4f 53 09 42 53 44 |olaris.S|unOS.BSD|
|00001f20| 49 09 61 6e 64 20 4e 43 | 52 0a 58 09 09 33 2e 32 |I.and NC|R.X..3.2|
|00001f30| 76 32 09 33 2e 32 76 34 | 09 32 2e 33 2e 34 09 32 |v2.3.2v4|.2.3.4.2|
|00001f40| 2e 32 2c 33 2e 30 09 32 | 2e 31 09 34 2e 31 2e 32 |.2,3.0.2|.1.4.1.2|
|00001f50| 09 31 2e 30 09 54 6f 77 | 65 72 0a 58 0a 58 55 53 |.1.0.Tow|er.X.XUS|
|00001f60| 45 5f 44 49 52 5f 78 78 | 78 78 09 44 49 52 45 4e |E_DIR_xx|xx.DIREN|
|00001f70| 54 09 2d 09 2d 09 2d 09 | 2d 09 2d 09 2d 09 2d 0a |T.-.-.-.|-.-.-.-.|
|00001f80| 58 55 53 45 5f 4d 4f 55 | 4e 54 5f 78 78 78 78 09 |XUSE_MOU|NT_xxxx.|
|00001f90| 4d 4e 54 54 41 42 09 2d | 09 2d 09 2d 09 52 34 4d |MNTTAB.-|.-.-.R4M|
|00001fa0| 4e 54 54 41 42 20 4d 4e | 54 45 4e 54 09 46 53 54 |NTTAB MN|TENT.FST|
|00001fb0| 41 42 09 2d 0a 58 55 53 | 45 5f 53 54 41 54 46 53 |AB.-.XUS|E_STATFS|
|00001fc0| 5f 78 78 78 78 09 53 59 | 53 56 09 2d 09 2d 09 2d |_xxxx.SY|SV.-.-.-|
|00001fd0| 09 2d 09 53 55 4e 09 42 | 53 44 09 2d 0a 58 55 53 |.-.SUN.B|SD.-.XUS|
|00001fe0| 45 5f 53 59 4d 4c 49 4e | 4b 53 09 64 69 73 61 62 |E_SYMLIN|KS.disab|
|00001ff0| 09 65 6e 61 62 09 2d 09 | 2d 09 65 6e 61 62 09 65 |.enab.-.|-.enab.e|
|00002000| 6e 61 62 09 65 6e 61 62 | 09 2d 0a 58 55 53 45 5f |nab.enab|.-.XUSE_|
|00002010| 53 54 42 4c 4f 43 4b 53 | 09 64 69 73 61 62 09 2d |STBLOCKS|.disab.-|
|00002020| 09 2d 09 2d 09 65 6e 61 | 62 09 65 6e 61 62 09 65 |.-.-.ena|b.enab.e|
|00002030| 6e 61 62 09 2d 0a 58 42 | 52 4f 4b 45 5f 53 54 42 |nab.-.XB|ROKE_STB|
|00002040| 4c 4f 43 4b 53 09 64 69 | 73 61 62 09 2d 09 2d 09 |LOCKS.di|sab.-.-.|
|00002050| 2d 09 2d 09 2d 09 2d 09 | 2d 0a 58 55 53 45 5f 53 |-.-.-.-.|-.XUSE_S|
|00002060| 54 44 41 52 47 09 65 6e | 61 62 09 2d 09 2d 09 64 |TDARG.en|ab.-.-.d|
|00002070| 69 73 61 62 09 2d 09 64 | 69 73 61 62 09 2d 09 64 |isab.-.d|isab.-.d|
|00002080| 69 73 61 62 0a 58 55 53 | 45 5f 55 4e 49 53 54 44 |isab.XUS|E_UNISTD|
|00002090| 09 65 6e 61 62 09 2d 09 | 2d 09 2d 09 2d 09 2d 09 |.enab.-.|-.-.-.-.|
|000020a0| 2d 09 2d 0a 58 55 53 45 | 5f 50 41 54 48 43 4f 4e |-.-.XUSE|_PATHCON|
|000020b0| 46 09 65 6e 61 62 09 2d | 09 64 69 73 61 62 09 64 |F.enab.-|.disab.d|
|000020c0| 69 73 61 62 09 2d 09 2d | 09 2d 09 64 69 73 61 62 |isab.-.-|.-.disab|
|000020d0| 0a 58 50 54 52 54 59 50 | 45 09 09 76 6f 69 64 09 |.XPTRTYP|E..void.|
|000020e0| 2d 09 2d 09 63 68 61 72 | 09 2d 09 2d 09 2d 09 63 |-.-.char|.-.-.-.c|
|000020f0| 68 61 72 0a 58 52 45 50 | 4f 52 54 5f 42 4c 4b 53 |har.XREP|ORT_BLKS|
|00002100| 49 5a 45 09 35 31 32 09 | 2d 09 2d 09 2d 09 2d 09 |IZE.512.|-.-.-.-.|
|00002110| 31 30 32 34 09 2d 09 2d | 0a 58 0a 58 48 65 72 65 |1024.-.-|.X.XHere|
|00002120| 20 61 72 65 20 74 68 65 | 20 43 44 45 46 53 20 61 | are the| CDEFS a|
|00002130| 6e 64 20 4c 49 42 53 20 | 73 65 74 74 69 6e 67 73 |nd LIBS |settings|
|00002140| 20 49 20 75 73 65 64 20 | 69 6e 20 74 68 65 20 22 | I used |in the "|
|00002150| 4d 61 6b 65 66 69 6c 65 | 22 3a 0a 58 0a 58 53 79 |Makefile|":.X.XSy|
|00002160| 73 74 65 6d 09 09 09 09 | 43 44 45 46 53 20 3d 09 |stem....|CDEFS =.|
|00002170| 09 4c 49 42 53 20 3d 0a | 58 0a 58 53 43 4f 20 55 |.LIBS =.|X.XSCO U|
|00002180| 6e 69 78 20 33 2e 32 76 | 32 2c 20 33 2e 32 76 34 |nix 3.2v|2, 3.2v4|
|00002190| 09 09 28 65 6d 70 74 79 | 29 09 09 2d 6c 6d 61 6c |..(empty|)..-lmal|
|000021a0| 6c 6f 63 0a 58 53 43 4f | 20 58 65 6e 69 78 20 32 |loc.XSCO| Xenix 2|
|000021b0| 2e 33 2e 34 09 09 09 28 | 65 6d 70 74 79 29 09 09 |.3.4...(|empty)..|
|000021c0| 2d 6c 6d 61 6c 6c 6f 63 | 20 2d 6c 64 69 72 0a 58 |-lmalloc| -ldir.X|
|000021d0| 49 53 43 20 55 6e 69 78 | 20 32 2e 32 2c 20 33 2e |ISC Unix| 2.2, 3.|
|000021e0| 30 09 09 28 65 6d 70 74 | 79 29 09 09 2d 6c 6d 61 |0..(empt|y)..-lma|
|000021f0| 6c 6c 6f 63 0a 58 53 6f | 6c 61 72 69 73 20 32 2e |lloc.XSo|laris 2.|
|00002200| 31 09 09 09 28 65 6d 70 | 74 79 29 09 09 2d 6c 6d |1...(emp|ty)..-lm|
|00002210| 61 6c 6c 6f 63 0a 58 53 | 75 6e 4f 53 20 34 2e 31 |alloc.XS|unOS 4.1|
|00002220| 2e 32 09 09 09 28 65 6d | 70 74 79 29 09 09 28 65 |.2...(em|pty)..(e|
|00002230| 6d 70 74 79 29 0a 58 42 | 53 44 49 20 31 2e 30 09 |mpty).XB|SDI 1.0.|
|00002240| 09 09 28 65 6d 70 74 79 | 29 09 09 28 65 6d 70 74 |..(empty|)..(empt|
|00002250| 79 29 0a 58 41 54 26 54 | 20 33 42 32 20 61 6e 64 |y).XAT&T| 3B2 and|
|00002260| 20 4e 43 52 20 54 6f 77 | 65 72 09 09 2d 49 2e 09 | NCR Tow|er..-I..|
|00002270| 09 2d 6c 6d 61 6c 6c 6f | 63 0a 58 0a 58 0a 58 3d |.-lmallo|c.X.X.X=|
|00002280| 3d 3d 20 43 72 65 64 69 | 74 73 20 3d 3d 3d 3d 3d |== Credi|ts =====|
|00002290| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000022a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000022b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000022c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 0a 58 0a |========|=====.X.|
|000022d0| 58 0a 58 4d 79 20 74 68 | 61 6e 6b 73 20 61 6e 64 |X.XMy th|anks and|
|000022e0| 20 67 72 61 74 69 74 75 | 64 65 20 74 6f 20 73 65 | gratitu|de to se|
|000022f0| 76 65 72 61 6c 20 66 6f | 6c 6b 73 2e 20 20 4c 61 |veral fo|lks. La|
|00002300| 72 73 20 48 65 6e 72 69 | 6b 20 4d 61 74 68 69 65 |rs Henri|k Mathie|
|00002310| 73 65 6e 0a 58 3c 74 68 | 6f 72 69 6e 6e 40 64 69 |sen.X<th|orinn@di|
|00002320| 6b 75 2e 64 6b 3e 20 70 | 72 6f 76 69 64 65 64 20 |ku.dk> p|rovided |
|00002330| 61 20 76 65 72 79 20 6e | 69 66 74 79 20 61 6c 67 |a very n|ifty alg|
|00002340| 6f 72 69 74 68 6d 20 74 | 6f 20 66 69 67 75 72 65 |orithm t|o figure|
|00002350| 20 6f 75 74 20 74 68 65 | 0a 58 71 75 61 6e 74 61 | out the|.Xquanta|
|00002360| 20 66 6f 72 20 73 74 5f | 62 6c 6f 63 6b 73 2e 20 | for st_|blocks. |
|00002370| 20 43 68 69 70 20 53 61 | 6c 7a 65 6e 62 65 72 67 | Chip Sa|lzenberg|
|00002380| 20 3c 63 68 69 70 40 74 | 63 74 2e 63 6f 6d 3e 20 | <chip@t|ct.com> |
|00002390| 65 6e 68 61 6e 63 65 64 | 20 74 68 65 0a 58 70 6f |enhanced| the.Xpo|
|000023a0| 72 74 61 62 69 6c 69 74 | 79 20 67 72 65 61 74 6c |rtabilit|y greatl|
|000023b0| 79 2c 20 61 6e 64 20 70 | 72 6f 76 69 64 65 64 20 |y, and p|rovided |
|000023c0| 74 68 65 20 41 49 58 20 | 6d 6f 75 6e 74 20 74 61 |the AIX |mount ta|
|000023d0| 62 6c 65 20 68 61 6e 64 | 6c 69 6e 67 20 63 6f 64 |ble hand|ling cod|
|000023e0| 65 2e 0a 58 42 69 6c 6c | 20 42 75 6e 74 6f 6e 20 |e..XBill| Bunton |
|000023f0| 3c 77 67 62 40 74 6e 74 | 2e 63 6f 6d 3e 20 61 6e |<wgb@tnt|.com> an|
|00002400| 64 20 42 69 6c 6c 20 4b | 65 6e 6e 65 64 79 20 3c |d Bill K|ennedy <|
|00002410| 62 69 6c 6c 40 73 73 62 | 6e 2e 63 6f 6d 3e 20 67 |bill@ssb|n.com> g|
|00002420| 61 76 65 20 6d 65 0a 58 | 6c 6f 67 69 6e 73 20 6f |ave me.X|logins o|
|00002430| 6e 20 61 20 62 75 6e 63 | 68 20 6f 66 20 6d 61 63 |n a bunc|h of mac|
|00002440| 68 69 6e 65 73 2e 0a 58 | 0a 58 41 64 64 69 74 69 |hines..X|.XAdditi|
|00002450| 6f 6e 61 6c 20 74 68 61 | 6e 6b 73 20 74 6f 20 74 |onal tha|nks to t|
|00002460| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 66 6f 6c |he follo|wing fol|
|00002470| 6b 73 20 66 6f 72 20 74 | 65 73 74 69 6e 67 20 65 |ks for t|esting e|
|00002480| 6e 68 2d 64 75 32 20 61 | 6e 64 0a 58 70 72 6f 76 |nh-du2 a|nd.Xprov|
|00002490| 69 64 69 6e 67 20 73 75 | 67 67 65 73 74 69 6f 6e |iding su|ggestion|
|000024a0| 73 20 61 6e 64 20 66 69 | 78 65 73 3a 0a 58 0a 58 |s and fi|xes:.X.X|
|000024b0| 20 20 20 20 44 61 76 65 | 20 52 61 74 63 6c 69 66 | Dave| Ratclif|
|000024c0| 66 65 20 3c 63 6f 6d 70 | 6e 65 63 74 21 64 61 76 |fe <comp|nect!dav|
|000024d0| 65 40 75 77 6d 2e 65 64 | 75 3e 0a 58 20 20 20 20 |e@uwm.ed|u>.X |
|000024e0| 61 66 63 40 73 68 69 62 | 61 79 61 2e 6c 6f 6e 65 |afc@shib|aya.lone|
|000024f0| 73 74 61 72 2e 4f 52 47 | 20 28 41 75 67 75 73 74 |star.ORG| (August|
|00002500| 69 6e 65 20 43 61 6e 6f | 29 0a 58 20 20 20 20 62 |ine Cano|).X b|
|00002510| 69 6c 6c 40 75 6e 69 78 | 6c 61 6e 64 2e 6e 61 74 |ill@unix|land.nat|
|00002520| 69 63 6b 2e 6d 61 2e 75 | 73 20 28 42 69 6c 6c 20 |ick.ma.u|s (Bill |
|00002530| 48 65 69 73 65 72 29 0a | 58 20 20 20 20 63 6f 6e |Heiser).|X con|
|00002540| 73 75 6c 74 21 62 6f 62 | 40 75 75 6e 65 74 2e 75 |sult!bob|@uunet.u|
|00002550| 75 2e 6e 65 74 0a 58 20 | 20 20 20 6f 6c 65 21 72 |u.net.X | ole!r|
|00002560| 77 69 6e 67 21 70 61 74 | 40 63 73 2e 77 61 73 68 |wing!pat|@cs.wash|
|00002570| 69 6e 67 74 6f 6e 2e 65 | 64 75 20 28 50 61 74 20 |ington.e|du (Pat |
|00002580| 4d 79 72 74 6f 29 0a 58 | 20 20 20 20 70 69 6c 69 |Myrto).X| pili|
|00002590| 6b 69 61 2e 70 65 67 61 | 73 75 73 2e 63 6f 6d 21 |kia.pega|sus.com!|
|000025a0| 61 72 74 0a 58 20 20 20 | 20 77 68 74 40 6e 34 68 |art.X | wht@n4h|
|000025b0| 67 66 2e 4d 74 2d 50 61 | 72 6b 2e 47 41 2e 55 53 |gf.Mt-Pa|rk.GA.US|
|000025c0| 20 28 57 61 72 72 65 6e | 20 54 75 63 6b 65 72 29 | (Warren| Tucker)|
|000025d0| 0a 58 20 20 20 20 77 79 | 6d 61 6e 40 61 74 68 65 |.X wy|man@athe|
|000025e0| 72 74 6f 6e 2e 63 6f 6d | 20 28 57 79 6d 61 6e 20 |rton.com| (Wyman |
|000025f0| 43 68 6f 6e 67 29 0a 58 | 20 20 20 20 63 6c 69 76 |Chong).X| cliv|
|00002600| 65 40 78 2e 63 6f 2e 75 | 6b 20 28 43 6c 69 76 65 |e@x.co.u|k (Clive|
|00002610| 20 46 65 61 74 68 65 72 | 29 0a 58 20 20 20 20 4b | Feather|).X K|
|00002620| 61 72 69 20 53 75 74 65 | 6c 61 20 3c 73 75 74 65 |ari Sute|la <sute|
|00002630| 6c 61 40 75 74 75 2e 66 | 69 3e 0a 58 20 20 20 20 |la@utu.f|i>.X |
|00002640| 67 72 61 61 66 66 40 64 | 75 74 69 77 73 2e 54 57 |graaff@d|utiws.TW|
|00002650| 49 2e 54 55 44 65 6c 66 | 74 2e 4e 4c 20 28 48 61 |I.TUDelf|t.NL (Ha|
|00002660| 6e 73 20 64 65 20 47 72 | 61 61 66 66 29 0a 58 0a |ns de Gr|aaff).X.|
|00002670| 58 54 68 65 72 65 20 77 | 65 72 65 20 6d 61 6e 79 |XThere w|ere many|
|00002680| 20 6f 74 68 65 72 73 20 | 2d 2d 20 74 68 65 73 65 | others |-- these|
|00002690| 20 6e 61 6d 65 73 20 77 | 65 72 65 20 63 75 6c 6c | names w|ere cull|
|000026a0| 65 64 20 66 72 6f 6d 20 | 6d 79 20 65 6d 61 69 6c |ed from |my email|
|000026b0| 20 61 72 63 68 69 76 65 | 73 2e 0a 58 4d 79 20 61 | archive|s..XMy a|
|000026c0| 70 6f 6c 6f 67 69 65 73 | 20 69 66 20 49 20 6c 65 |pologies| if I le|
|000026d0| 66 74 20 79 6f 75 72 20 | 6e 61 6d 65 20 6f 66 20 |ft your |name of |
|000026e0| 74 68 65 20 6c 69 73 74 | 2e 0a 58 0a 58 57 68 61 |the list|..X.XWha|
|000026f0| 74 20 49 20 6c 65 61 72 | 6e 65 64 20 66 72 6f 6d |t I lear|ned from|
|00002700| 20 74 68 69 73 3a 20 20 | 67 69 76 65 6e 20 61 20 | this: |given a |
|00002710| 63 68 6f 69 63 65 2c 20 | 49 27 64 20 70 72 6f 62 |choice, |I'd prob|
|00002720| 61 62 6c 79 20 63 68 6f | 6f 73 65 20 61 6e 20 48 |ably cho|ose an H|
|00002730| 50 0a 58 6f 72 20 49 42 | 4d 20 63 6f 6d 70 75 74 |P.Xor IB|M comput|
|00002740| 65 72 20 6f 76 65 72 20 | 61 20 63 61 73 65 20 6f |er over |a case o|
|00002750| 66 20 74 68 65 20 63 6c | 61 70 2c 20 62 75 74 20 |f the cl|ap, but |
|00002760| 49 27 64 20 68 61 76 65 | 20 74 6f 20 74 68 69 6e |I'd have| to thin|
|00002770| 6b 20 61 62 6f 75 74 0a | 58 69 74 20 66 69 72 73 |k about.|Xit firs|
|00002780| 74 2e 20 20 28 4f 6e 20 | 74 68 65 20 6f 74 68 65 |t. (On |the othe|
|00002790| 72 20 68 61 6e 64 2c 20 | 61 73 20 6f 6e 65 20 67 |r hand, |as one g|
|000027a0| 75 79 20 70 6f 69 6e 74 | 65 64 20 6f 75 74 20 74 |uy point|ed out t|
|000027b0| 6f 20 6d 65 2c 20 74 68 | 65 79 27 76 65 0a 58 67 |o me, th|ey've.Xg|
|000027c0| 6f 74 20 61 20 63 75 72 | 65 20 66 6f 72 20 74 68 |ot a cur|e for th|
|000027d0| 65 20 63 6c 61 70 2e 29 | 0a 58 0a 58 54 68 69 73 |e clap.)|.X.XThis|
|000027e0| 20 70 72 6f 67 72 61 6d | 20 69 73 20 63 6f 70 79 | program| is copy|
|000027f0| 72 69 67 68 74 20 31 39 | 39 30 2d 31 39 39 33 2c |right 19|90-1993,|
|00002800| 20 55 6e 69 63 6f 6d 20 | 53 79 73 74 65 6d 73 20 | Unicom |Systems |
|00002810| 44 65 76 65 6c 6f 70 6d | 65 6e 74 2c 20 49 6e 63 |Developm|ent, Inc|
|00002820| 2e 0a 58 41 6c 6c 20 72 | 69 67 68 74 73 20 72 65 |..XAll r|ights re|
|00002830| 73 65 72 76 65 64 2e 0a | 58 0a 58 59 6f 75 20 61 |served..|X.XYou a|
|00002840| 72 65 20 67 72 61 6e 74 | 65 64 20 61 20 6e 6f 6e |re grant|ed a non|
|00002850| 2d 65 78 63 6c 75 73 69 | 76 65 20 6c 69 63 65 6e |-exclusi|ve licen|
|00002860| 73 65 20 74 6f 20 75 73 | 65 2c 20 6d 6f 64 69 66 |se to us|e, modif|
|00002870| 79 2c 20 63 6f 70 79 2c | 20 61 6e 64 0a 58 64 69 |y, copy,| and.Xdi|
|00002880| 73 74 72 69 62 75 74 65 | 20 74 68 69 73 20 73 6f |stribute| this so|
|00002890| 66 74 77 61 72 65 20 73 | 75 62 6a 65 63 74 20 74 |ftware s|ubject t|
|000028a0| 6f 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |o the fo|llowing |
|000028b0| 63 6f 6e 64 69 74 69 6f | 6e 73 2e 20 20 59 6f 75 |conditio|ns. You|
|000028c0| 0a 58 6d 75 73 74 20 65 | 6e 73 75 72 65 20 61 6c |.Xmust e|nsure al|
|000028d0| 6c 20 63 6f 70 79 72 69 | 67 68 74 20 6e 6f 74 69 |l copyri|ght noti|
|000028e0| 63 65 73 20 61 6e 64 20 | 6c 69 63 65 6e 73 65 20 |ces and |license |
|000028f0| 6e 6f 74 69 63 65 73 20 | 72 65 6d 61 69 6e 20 69 |notices |remain i|
|00002900| 6e 74 61 63 74 0a 58 69 | 6e 20 74 68 65 20 63 6f |ntact.Xi|n the co|
|00002910| 70 69 65 73 20 79 6f 75 | 20 75 73 65 20 6f 72 20 |pies you| use or |
|00002920| 64 69 73 74 72 69 62 75 | 74 65 2e 20 20 41 6e 79 |distribu|te. Any|
|00002930| 20 6d 6f 64 69 66 69 63 | 61 74 69 6f 6e 73 2c 20 | modific|ations, |
|00002940| 6f 74 68 65 72 20 74 68 | 61 6e 0a 58 74 68 6f 73 |other th|an.Xthos|
|00002950| 65 20 69 6e 20 74 68 65 | 20 61 72 65 61 73 20 63 |e in the| areas c|
|00002960| 6c 65 61 72 6c 79 20 72 | 65 73 65 72 76 65 64 20 |learly r|eserved |
|00002970| 66 6f 72 20 73 69 74 65 | 2d 73 70 65 63 69 66 69 |for site|-specifi|
|00002980| 63 20 6d 6f 64 69 66 69 | 63 61 74 69 6f 6e 73 2c |c modifi|cations,|
|00002990| 0a 58 6d 75 73 74 20 62 | 65 20 6d 61 72 6b 65 64 |.Xmust b|e marked|
|000029a0| 20 61 73 20 73 75 63 68 | 2e 20 20 54 68 69 73 20 | as such|. This |
|000029b0| 73 6f 66 74 77 61 72 65 | 20 69 73 20 70 72 6f 76 |software| is prov|
|000029c0| 69 64 65 64 20 22 61 73 | 20 69 73 22 2e 20 20 4e |ided "as| is". N|
|000029d0| 6f 0a 58 77 61 72 72 61 | 6e 74 69 65 73 20 68 61 |o.Xwarra|nties ha|
|000029e0| 76 65 20 62 65 65 6e 20 | 65 78 70 72 65 73 73 65 |ve been |expresse|
|000029f0| 64 20 6f 72 20 69 6d 70 | 6c 69 65 64 2e 20 20 53 |d or imp|lied. S|
|00002a00| 69 6e 63 65 20 74 68 69 | 73 20 6c 69 63 65 6e 73 |ince thi|s licens|
|00002a10| 65 20 77 61 73 0a 58 70 | 72 6f 76 69 64 65 64 20 |e was.Xp|rovided |
|00002a20| 74 6f 20 79 6f 75 20 61 | 74 20 6e 6f 20 63 68 61 |to you a|t no cha|
|00002a30| 72 67 65 2c 20 79 6f 75 | 20 6d 75 73 74 20 61 73 |rge, you| must as|
|00002a40| 73 75 6d 65 20 74 68 65 | 20 65 6e 74 69 72 65 20 |sume the| entire |
|00002a50| 72 69 73 6b 20 61 6e 64 | 0a 58 6c 69 61 62 69 6c |risk and|.Xliabil|
|00002a60| 69 74 79 20 66 6f 72 20 | 61 6c 6c 20 75 73 65 20 |ity for |all use |
|00002a70| 6f 66 20 74 68 69 73 20 | 73 6f 66 74 77 61 72 65 |of this |software|
|00002a80| 2e 0a 58 0a 58 43 6f 6d | 6d 65 6e 74 73 2c 20 73 |..X.XCom|ments, s|
|00002a90| 75 67 67 65 73 74 69 6f | 6e 73 2c 20 61 6e 64 20 |uggestio|ns, and |
|00002aa0| 62 75 67 20 72 65 70 6f | 72 74 73 20 61 72 65 20 |bug repo|rts are |
|00002ab0| 77 65 6c 63 6f 6d 65 64 | 20 74 6f 20 74 68 65 20 |welcomed| to the |
|00002ac0| 61 64 64 72 65 73 73 20 | 62 65 6c 6f 77 2e 0a 58 |address |below..X|
|00002ad0| 0a 58 43 68 69 70 20 52 | 6f 73 65 6e 74 68 61 6c |.XChip R|osenthal|
|00002ae0| 0a 58 3c 63 68 69 70 40 | 63 68 69 6e 61 63 61 74 |.X<chip@|chinacat|
|00002af0| 2e 55 6e 69 63 6f 6d 2e | 43 4f 4d 3e 0a 58 0a 45 |.Unicom.|COM>.X.E|
|00002b00| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 20 20 69 66 20 |ND_OF_FI|LE. if |
|00002b10| 74 65 73 74 20 38 37 32 | 33 20 2d 6e 65 20 60 77 |test 872|3 -ne `w|
|00002b20| 63 20 2d 63 20 3c 27 52 | 45 41 44 4d 45 27 60 3b |c -c <'R|EADME'`;|
|00002b30| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|00002b40| 68 61 72 3a 20 5c 22 27 | 52 45 41 44 4d 45 27 5c |har: \"'|README'\|
|00002b50| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00002b60| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 20 20 66 69 |wrong si|ze!. fi|
|00002b70| 0a 20 20 23 20 65 6e 64 | 20 6f 66 20 27 52 45 41 |. # end| of 'REA|
|00002b80| 44 4d 45 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |DME'.fi.|if test |
|00002b90| 2d 66 20 27 64 75 2e 31 | 27 20 2d 61 20 22 24 7b |-f 'du.1|' -a "${|
|00002ba0| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00002bb0| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|00002bc0| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00002bd0| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00002be0| 5c 22 27 64 75 2e 31 27 | 5c 22 0a 65 6c 73 65 0a |\"'du.1'|\".else.|
|00002bf0| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 | echo s|har: Ext|
|00002c00| 72 61 63 74 69 6e 67 20 | 5c 22 27 64 75 2e 31 27 |racting |\"'du.1'|
|00002c10| 5c 22 20 5c 28 39 38 34 | 34 20 63 68 61 72 61 63 |\" \(984|4 charac|
|00002c20| 74 65 72 73 5c 29 0a 20 | 20 73 65 64 20 22 73 2f |ters\). | sed "s/|
|00002c30| 5e 58 2f 2f 22 20 3e 27 | 64 75 2e 31 27 20 3c 3c |^X//" >'|du.1' <<|
|00002c40| 27 45 4e 44 5f 4f 46 5f | 46 49 4c 45 27 0a 58 2e |'END_OF_|FILE'.X.|
|00002c50| 5c 22 20 40 28 23 29 20 | 64 75 2e 31 20 31 2e 31 |\" @(#) |du.1 1.1|
|00002c60| 33 20 39 33 2f 30 38 2f | 31 38 20 30 30 3a 30 38 |3 93/08/|18 00:08|
|00002c70| 3a 35 39 0a 58 2e 54 48 | 20 44 55 20 31 0a 58 2e |:59.X.TH| DU 1.X.|
|00002c80| 53 48 20 4e 41 4d 45 0a | 58 64 75 20 5c 2d 20 53 |SH NAME.|Xdu \- S|
|00002c90| 75 6d 6d 61 72 69 7a 65 | 73 20 64 69 73 6b 20 75 |ummarize|s disk u|
|00002ca0| 73 61 67 65 2e 0a 58 2e | 53 48 20 53 59 4e 54 41 |sage..X.|SH SYNTA|
|00002cb0| 58 0a 58 2e 42 20 64 75 | 0a 58 5b 0a 58 2e 42 20 |X.X.B du|.X[.X.B |
|00002cc0| 5c 2d 61 62 43 64 66 46 | 68 69 6b 6c 4c 73 74 75 |\-abCdfF|hiklLstu|
|00002cd0| 0a 58 5d 20 5b 0a 58 2e | 42 20 5c 2d 42 0a 58 73 |.X] [.X.|B \-B.Xs|
|00002ce0| 69 7a 65 20 5d 20 5b 0a | 58 2e 42 20 5c 2d 55 0a |ize ] [.|X.B \-U.|
|00002cf0| 58 75 73 65 72 20 5d 20 | 5b 0a 58 2e 42 20 5c 2d |Xuser ] |[.X.B \-|
|00002d00| 63 0a 58 6e 2c 2e 2e 2e | 20 5d 20 5b 20 6e 61 6d |c.Xn,...| ] [ nam|
|00002d10| 65 20 2e 2e 2e 20 5d 0a | 58 2e 53 48 20 44 45 53 |e ... ].|X.SH DES|
|00002d20| 43 52 49 50 54 49 4f 4e | 0a 58 2e 49 20 64 75 0a |CRIPTION|.X.I du.|
|00002d30| 58 63 61 6c 63 75 6c 61 | 74 65 73 20 74 68 65 20 |Xcalcula|tes the |
|00002d40| 64 69 73 6b 20 75 73 61 | 67 65 20 6f 66 20 65 61 |disk usa|ge of ea|
|00002d50| 63 68 0a 58 2e 49 20 6e | 61 6d 65 0a 58 67 69 76 |ch.X.I n|ame.Xgiv|
|00002d60| 65 20 6f 6e 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |e on the| command|
|00002d70| 20 6c 69 6e 65 2e 0a 58 | 49 66 0a 58 2e 49 20 6e | line..X|If.X.I n|
|00002d80| 61 6d 65 0a 58 69 73 20 | 61 20 64 69 72 65 63 74 |ame.Xis |a direct|
|00002d90| 6f 72 79 20 74 68 65 6e | 20 69 74 20 69 73 20 73 |ory then| it is s|
|00002da0| 63 61 6e 6e 65 64 20 72 | 65 63 75 72 73 69 76 65 |canned r|ecursive|
|00002db0| 6c 79 20 61 6e 64 20 74 | 68 65 20 61 63 63 75 6d |ly and t|he accum|
|00002dc0| 75 6c 61 74 65 64 20 64 | 69 73 6b 0a 58 75 73 61 |ulated d|isk.Xusa|
|00002dd0| 67 65 20 6f 66 20 69 74 | 73 20 63 6f 6e 74 65 6e |ge of it|s conten|
|00002de0| 74 73 20 69 73 20 72 65 | 70 6f 72 74 65 64 2e 20 |ts is re|ported. |
|00002df0| 20 49 66 20 6e 6f 0a 58 | 2e 49 20 6e 61 6d 65 0a | If no.X|.I name.|
|00002e00| 58 69 73 20 73 70 65 63 | 69 66 69 65 64 20 6f 6e |Xis spec|ified on|
|00002e10| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 20 6c 69 6e | the com|mand lin|
|00002e20| 65 2c 20 74 68 65 6e 0a | 58 2e 49 20 64 75 0a 58 |e, then.|X.I du.X|
|00002e30| 72 65 70 6f 72 74 73 20 | 74 68 65 20 75 73 61 67 |reports |the usag|
|00002e40| 65 20 61 74 20 74 68 65 | 20 63 75 72 72 65 6e 74 |e at the| current|
|00002e50| 20 64 69 72 65 63 74 6f | 72 79 2e 0a 58 2e 50 0a | directo|ry..X.P.|
|00002e60| 58 42 79 20 64 65 66 61 | 75 6c 74 2c 20 74 68 65 |XBy defa|ult, the|
|00002e70| 20 64 69 73 6b 20 75 73 | 61 67 65 20 66 6f 72 20 | disk us|age for |
|00002e80| 61 20 64 69 72 65 63 74 | 6f 72 79 20 69 6e 63 6c |a direct|ory incl|
|00002e90| 75 64 65 73 20 6e 6f 74 | 20 6f 6e 6c 79 20 74 68 |udes not| only th|
|00002ea0| 65 20 75 73 61 67 65 0a | 58 6f 66 20 65 76 65 72 |e usage.|Xof ever|
|00002eb0| 79 74 68 69 6e 67 20 69 | 6e 20 74 68 61 74 20 64 |ything i|n that d|
|00002ec0| 69 72 65 63 74 6f 72 79 | 2c 20 62 75 74 20 61 6c |irectory|, but al|
|00002ed0| 73 6f 20 74 68 65 20 75 | 73 61 67 65 20 6f 66 20 |so the u|sage of |
|00002ee0| 65 76 65 72 79 74 68 69 | 6e 67 0a 58 62 65 6c 6f |everythi|ng.Xbelo|
|00002ef0| 77 20 69 74 2e 20 20 54 | 68 69 73 20 6d 65 61 6e |w it. T|his mean|
|00002f00| 73 2c 20 66 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |s, for e|xample, |
|00002f10| 74 68 65 20 75 73 61 67 | 65 20 72 65 70 6f 72 74 |the usag|e report|
|00002f20| 65 64 20 66 6f 72 20 74 | 68 65 20 72 6f 6f 74 0a |ed for t|he root.|
|00002f30| 58 64 69 72 65 63 74 6f | 72 79 20 60 60 2f 27 27 |Xdirecto|ry ``/''|
|00002f40| 20 69 73 20 74 68 65 20 | 64 69 73 6b 20 75 73 61 | is the |disk usa|
|00002f50| 67 65 20 66 6f 72 20 74 | 68 65 20 65 6e 74 69 72 |ge for t|he entir|
|00002f60| 65 20 73 79 73 74 65 6d | 2e 0a 58 2e 50 0a 58 42 |e system|..X.P.XB|
|00002f70| 79 20 64 65 66 61 75 6c | 74 2c 20 6f 6e 6c 79 20 |y defaul|t, only |
|00002f80| 74 68 65 20 64 69 73 6b | 20 75 73 61 67 65 20 66 |the disk| usage f|
|00002f90| 6f 72 20 64 69 72 65 63 | 74 6f 72 69 65 73 20 65 |or direc|tories e|
|00002fa0| 6e 63 6f 75 6e 74 65 72 | 65 64 20 69 73 20 70 72 |ncounter|ed is pr|
|00002fb0| 69 6e 74 65 64 2e 0a 58 | 54 68 65 20 64 69 73 6b |inted..X|The disk|
|00002fc0| 20 75 73 61 67 65 20 66 | 6f 72 20 6f 74 68 65 72 | usage f|or other|
|00002fd0| 20 66 69 6c 65 73 79 73 | 74 65 6d 20 65 6e 74 72 | filesys|tem entr|
|00002fe0| 69 65 73 20 66 6f 72 20 | 6f 74 68 65 72 20 66 69 |ies for |other fi|
|00002ff0| 6c 65 73 79 73 74 65 6d | 0a 58 65 6e 74 72 69 65 |lesystem|.Xentrie|
|00003000| 73 20 28 72 65 67 75 6c | 61 72 20 66 69 6c 65 73 |s (regul|ar files|
|00003010| 2c 20 65 74 63 2e 29 20 | 69 73 20 61 63 63 75 6d |, etc.) |is accum|
|00003020| 75 6c 61 74 65 64 20 62 | 75 74 20 6e 6f 74 20 64 |ulated b|ut not d|
|00003030| 69 73 70 6c 61 79 65 64 | 2e 20 20 54 68 69 73 0a |isplayed|. This.|
|00003040| 58 6d 65 61 6e 73 20 74 | 68 61 74 20 69 66 20 74 |Xmeans t|hat if t|
|00003050| 68 65 0a 58 2e 49 20 6e | 61 6d 65 0a 58 73 70 65 |he.X.I n|ame.Xspe|
|00003060| 63 69 66 69 65 64 20 6f | 6e 20 74 68 65 20 63 6f |cified o|n the co|
|00003070| 6d 6d 61 6e 64 20 6c 69 | 6e 65 20 69 73 20 6e 6f |mmand li|ne is no|
|00003080| 74 20 61 20 64 69 72 65 | 63 74 6f 72 79 2c 20 74 |t a dire|ctory, t|
|00003090| 68 65 6e 20 6e 6f 20 6f | 75 74 70 75 74 20 77 69 |hen no o|utput wi|
|000030a0| 6c 6c 0a 58 62 65 20 70 | 72 6f 64 75 63 65 64 2e |ll.Xbe p|roduced.|
|000030b0| 20 20 54 68 69 73 20 62 | 65 68 61 76 69 6f 72 20 | This b|ehavior |
|000030c0| 6d 61 79 20 62 65 20 6d | 6f 64 69 66 69 65 64 20 |may be m|odified |
|000030d0| 77 69 74 68 20 74 68 65 | 0a 58 2e 42 20 5c 2d 61 |with the|.X.B \-a|
|000030e0| 0a 58 61 6e 64 0a 58 2e | 42 20 5c 2d 73 0a 58 6f |.Xand.X.|B \-s.Xo|
|000030f0| 70 74 69 6f 6e 73 2e 0a | 58 2e 50 0a 58 54 68 65 |ptions..|X.P.XThe|
|00003100| 20 64 69 73 6b 20 75 73 | 61 67 65 20 69 73 20 72 | disk us|age is r|
|00003110| 65 70 6f 72 74 65 64 20 | 61 73 20 61 20 6e 75 6d |eported |as a num|
|00003120| 62 65 72 20 6f 66 20 62 | 6c 6f 63 6b 73 2e 20 20 |ber of b|locks. |
|00003130| 54 68 65 20 73 69 7a 65 | 20 6f 66 20 74 68 65 73 |The size| of thes|
|00003140| 65 0a 58 62 6c 6f 63 6b | 73 20 69 73 20 73 69 74 |e.Xblock|s is sit|
|00003150| 65 2d 73 70 65 63 69 66 | 69 63 2c 20 62 75 74 20 |e-specif|ic, but |
|00003160| 69 73 20 75 73 75 61 6c | 6c 79 20 65 69 74 68 65 |is usual|ly eithe|
|00003170| 72 20 35 31 32 20 62 79 | 74 65 73 20 6f 72 20 31 |r 512 by|tes or 1|
|00003180| 30 32 34 20 62 79 74 65 | 73 2e 0a 58 55 73 65 20 |024 byte|s..XUse |
|00003190| 74 68 65 0a 58 2e 42 20 | 5c 2d 68 0a 58 6f 70 74 |the.X.B |\-h.Xopt|
|000031a0| 69 6f 6e 20 74 6f 20 73 | 65 65 20 68 6f 77 20 79 |ion to s|ee how y|
|000031b0| 6f 75 72 20 76 65 72 73 | 69 6f 6e 20 6f 66 0a 58 |our vers|ion of.X|
|000031c0| 2e 49 20 64 75 0a 58 69 | 73 20 63 6f 6e 66 69 67 |.I du.Xi|s config|
|000031d0| 75 72 65 64 2e 20 20 54 | 68 65 72 65 20 61 72 65 |ured. T|here are|
|000031e0| 20 61 20 6e 75 6d 62 65 | 72 20 6f 66 20 6f 70 74 | a numbe|r of opt|
|000031f0| 69 6f 6e 73 20 74 68 61 | 74 20 77 69 6c 6c 20 72 |ions tha|t will r|
|00003200| 65 70 6f 72 74 20 72 65 | 73 75 6c 74 73 0a 58 77 |eport re|sults.Xw|
|00003210| 69 74 68 20 61 20 64 69 | 66 66 65 72 65 6e 74 20 |ith a di|fferent |
|00003220| 62 6c 6f 63 6b 20 73 69 | 7a 65 2e 0a 58 2e 50 0a |block si|ze..X.P.|
|00003230| 58 4f 6e 65 20 70 6f 73 | 73 69 62 6c 65 20 73 6f |XOne pos|sible so|
|00003240| 75 72 63 65 20 6f 66 20 | 63 6f 6e 66 75 73 69 6f |urce of |confusio|
|00003250| 6e 20 69 73 20 74 68 61 | 74 20 74 68 65 20 77 6f |n is tha|t the wo|
|00003260| 72 64 20 60 60 62 6c 6f | 63 6b 27 27 20 63 61 6e |rd ``blo|ck'' can|
|00003270| 20 6d 65 61 6e 0a 58 73 | 65 76 65 72 61 6c 20 64 | mean.Xs|everal d|
|00003280| 69 66 66 65 72 65 6e 74 | 20 74 68 69 6e 67 73 2e |ifferent| things.|
|00003290| 20 20 54 68 65 0a 58 2e | 49 20 64 75 0a 58 70 72 | The.X.|I du.Xpr|
|000032a0| 6f 67 72 61 6d 20 72 65 | 70 6f 72 74 73 20 64 69 |ogram re|ports di|
|000032b0| 73 6b 20 75 73 61 67 65 | 20 69 6e 20 63 68 75 6e |sk usage| in chun|
|000032c0| 6b 73 20 63 61 6c 6c 65 | 64 20 60 60 62 6c 6f 63 |ks calle|d ``bloc|
|000032d0| 6b 73 27 27 2e 20 20 54 | 68 65 20 55 6e 69 78 0a |ks''. T|he Unix.|
|000032e0| 58 66 69 6c 65 73 79 73 | 74 65 6d 20 73 74 6f 72 |Xfilesys|tem stor|
|000032f0| 65 73 20 64 61 74 61 20 | 74 6f 20 64 69 73 6b 20 |es data |to disk |
|00003300| 69 6e 20 63 68 75 6e 6b | 73 20 61 6c 73 6f 20 63 |in chunk|s also c|
|00003310| 61 6c 6c 65 64 20 60 60 | 62 6c 6f 63 6b 73 27 27 |alled ``|blocks''|
|00003320| 2e 20 20 54 68 65 0a 58 | 73 69 7a 65 20 6f 66 20 |. The.X|size of |
|00003330| 74 68 65 0a 58 2e 49 20 | 64 75 0a 58 72 65 70 6f |the.X.I |du.Xrepo|
|00003340| 72 74 69 6e 67 20 62 6c | 6f 63 6b 73 20 61 6e 64 |rting bl|ocks and|
|00003350| 20 74 68 65 20 66 69 6c | 65 73 79 73 74 65 6d 20 | the fil|esystem |
|00003360| 73 74 6f 72 61 67 65 20 | 62 6c 6f 63 6b 73 20 61 |storage |blocks a|
|00003370| 72 65 20 6e 6f 74 20 6e | 65 63 65 73 73 61 72 69 |re not n|ecessari|
|00003380| 6c 79 0a 58 72 65 6c 61 | 74 65 64 2c 20 61 6e 64 |ly.Xrela|ted, and|
|00003390| 20 61 6c 6d 6f 73 74 20 | 61 6c 77 61 79 73 20 61 | almost |always a|
|000033a0| 72 65 20 64 69 66 66 65 | 72 65 6e 74 2e 20 20 28 |re diffe|rent. (|
|000033b0| 48 69 73 74 6f 72 69 63 | 61 6c 6c 79 20 74 68 69 |Historic|ally thi|
|000033c0| 73 20 69 73 20 6e 6f 74 | 0a 58 74 72 75 65 2c 20 |s is not|.Xtrue, |
|000033d0| 62 75 74 20 69 74 20 74 | 68 65 73 65 20 64 61 79 |but it t|hese day|
|000033e0| 73 2e 29 20 20 41 6c 74 | 68 6f 75 67 68 0a 58 2e |s.) Alt|hough.X.|
|000033f0| 49 20 64 75 0a 58 70 65 | 72 66 6f 72 6d 73 20 61 |I du.Xpe|rforms a|
|00003400| 6c 6c 20 6f 66 20 69 74 | 73 20 69 6e 74 65 72 6e |ll of it|s intern|
|00003410| 61 6c 20 63 61 6c 63 75 | 6c 61 74 69 6f 6e 73 20 |al calcu|lations |
|00003420| 62 61 73 65 64 20 75 70 | 6f 6e 20 74 68 65 20 70 |based up|on the p|
|00003430| 68 79 73 69 63 61 6c 0a | 58 66 69 6c 65 73 79 73 |hysical.|Xfilesys|
|00003440| 74 65 6d 20 62 6c 6f 63 | 6b 20 73 69 7a 65 2c 20 |tem bloc|k size, |
|00003450| 61 6c 6c 20 76 61 6c 75 | 65 73 20 61 72 65 20 73 |all valu|es are s|
|00003460| 63 61 6c 65 64 20 74 6f | 20 61 20 63 6f 6e 73 69 |caled to| a consi|
|00003470| 73 74 65 6e 74 20 72 65 | 70 6f 72 74 69 6e 67 0a |stent re|porting.|
|00003480| 58 62 6c 6f 63 6b 20 73 | 69 7a 65 20 70 72 69 6f |Xblock s|ize prio|
|00003490| 72 20 74 6f 20 70 72 69 | 6e 74 69 6e 67 2e 20 20 |r to pri|nting. |
|000034a0| 49 66 2c 20 66 6f 72 20 | 65 78 61 6d 70 6c 65 2c |If, for |example,|
|000034b0| 20 61 20 31 30 30 30 20 | 62 79 74 65 20 66 69 6c | a 1000 |byte fil|
|000034c0| 65 20 69 73 0a 58 73 74 | 6f 72 65 64 20 6f 6e 20 |e is.Xst|ored on |
|000034d0| 61 20 31 4b 20 66 69 6c | 65 73 79 73 74 65 6d 2c |a 1K fil|esystem,|
|000034e0| 20 69 74 20 77 69 6c 6c | 20 72 65 71 75 69 72 65 | it will| require|
|000034f0| 20 6f 6e 65 20 64 61 74 | 61 20 62 6c 6f 63 6b 2e | one dat|a block.|
|00003500| 20 20 49 66 20 79 6f 75 | 0a 58 6c 6f 6f 6b 20 61 | If you|.Xlook a|
|00003510| 74 20 74 68 69 73 20 66 | 69 6c 65 20 77 69 74 68 |t this f|ile with|
|00003520| 0a 58 2e 49 20 64 75 0a | 58 73 65 74 20 74 6f 20 |.X.I du.|Xset to |
|00003530| 61 20 35 31 32 2d 62 79 | 74 65 20 72 65 70 6f 72 |a 512-by|te repor|
|00003540| 74 69 6e 67 20 62 6c 6f | 63 6b 20 73 69 7a 65 2c |ting blo|ck size,|
|00003550| 20 69 74 20 77 69 6c 6c | 20 73 61 79 20 74 68 69 | it will| say thi|
|00003560| 73 20 66 69 6c 65 20 75 | 73 65 73 0a 58 74 77 6f |s file u|ses.Xtwo|
|00003570| 20 62 6c 6f 63 6b 73 2e | 0a 58 2e 50 0a 58 42 79 | blocks.|.X.P.XBy|
|00003580| 20 64 65 66 61 75 6c 74 | 2c 0a 58 2e 49 20 64 75 | default|,.X.I du|
|00003590| 0a 58 77 69 6c 6c 20 63 | 6f 75 6e 74 20 74 68 65 |.Xwill c|ount the|
|000035a0| 20 64 69 73 6b 20 75 73 | 61 67 65 20 6f 66 20 61 | disk us|age of a|
|000035b0| 20 66 69 6c 65 20 77 69 | 74 68 20 6d 75 6c 74 69 | file wi|th multi|
|000035c0| 70 6c 65 20 28 68 61 72 | 64 29 20 6c 69 6e 6b 73 |ple (har|d) links|
|000035d0| 20 6f 6e 6c 79 0a 58 74 | 68 65 20 66 69 72 73 74 | only.Xt|he first|
|000035e0| 20 74 69 6d 65 20 74 68 | 65 20 66 69 6c 65 20 69 | time th|e file i|
|000035f0| 73 20 65 6e 63 6f 75 6e | 74 65 72 65 64 2e 20 20 |s encoun|tered. |
|00003600| 53 65 76 65 72 61 6c 20 | 6f 70 74 69 6f 6e 73 20 |Several |options |
|00003610| 61 72 65 20 61 76 61 69 | 6c 61 62 6c 65 0a 58 74 |are avai|lable.Xt|
|00003620| 6f 20 6d 6f 64 69 66 79 | 20 74 68 69 73 20 62 65 |o modify| this be|
|00003630| 68 61 76 69 6f 72 2e 0a | 58 2e 50 0a 58 54 68 65 |havior..|X.P.XThe|
|00003640| 20 64 69 73 6b 20 75 73 | 61 67 65 20 63 61 6c 63 | disk us|age calc|
|00003650| 75 6c 61 74 65 64 20 62 | 79 0a 58 2e 49 20 64 75 |ulated b|y.X.I du|
|00003660| 0a 58 74 61 6b 65 73 20 | 69 6e 74 6f 20 61 63 63 |.Xtakes |into acc|
|00003670| 6f 75 6e 74 20 74 68 65 | 20 60 60 69 6e 64 69 72 |ount the| ``indir|
|00003680| 65 63 74 20 62 6c 6f 63 | 6b 27 27 20 6f 76 65 72 |ect bloc|k'' over|
|00003690| 68 65 61 64 20 6f 66 20 | 76 65 72 79 20 6c 61 72 |head of |very lar|
|000036a0| 67 65 20 66 69 6c 65 73 | 2e 0a 58 54 68 65 20 75 |ge files|..XThe u|
|000036b0| 73 61 67 65 20 66 6f 72 | 20 73 75 63 68 20 66 69 |sage for| such fi|
|000036c0| 6c 65 73 20 77 69 6c 6c | 20 62 65 20 74 68 65 20 |les will| be the |
|000036d0| 73 70 61 63 65 20 75 73 | 65 64 20 62 79 20 74 68 |space us|ed by th|
|000036e0| 65 20 66 69 6c 65 27 73 | 20 64 61 74 61 0a 58 62 |e file's| data.Xb|
|000036f0| 6c 6f 63 6b 73 20 61 73 | 20 77 65 6c 6c 20 61 73 |locks as| well as|
|00003700| 20 74 68 65 20 6f 76 65 | 72 68 65 61 64 20 66 72 | the ove|rhead fr|
|00003710| 6f 6d 20 61 6e 79 20 69 | 6e 64 69 72 65 63 74 20 |om any i|ndirect |
|00003720| 61 64 64 72 65 73 73 20 | 62 6c 6f 63 6b 73 2e 0a |address |blocks..|
|00003730| 58 2e 50 0a 58 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |X.P.XThe| followi|
|00003740| 6e 67 20 6f 70 74 69 6f | 6e 73 20 6d 6f 64 69 66 |ng optio|ns modif|
|00003750| 79 20 74 68 65 20 62 65 | 68 61 76 69 6f 72 20 6f |y the be|havior o|
|00003760| 66 0a 58 2e 49 52 20 64 | 75 20 3a 0a 58 2e 49 50 |f.X.IR d|u :.X.IP|
|00003770| 20 20 22 5c 2d 61 22 20 | 31 30 0a 58 54 68 65 20 | "\-a" |10.XThe |
|00003780| 75 73 61 67 65 20 6f 66 | 20 61 6c 6c 20 69 74 65 |usage of| all ite|
|00003790| 6d 73 20 69 73 20 72 65 | 70 6f 72 74 65 64 2e 20 |ms is re|ported. |
|000037a0| 20 4e 6f 72 6d 61 6c 6c | 79 0a 58 2e 49 20 64 75 | Normall|y.X.I du|
|000037b0| 0a 58 64 69 73 70 6c 61 | 79 73 20 6f 6e 6c 79 20 |.Xdispla|ys only |
|000037c0| 74 68 65 20 75 73 61 67 | 65 20 61 74 20 64 69 72 |the usag|e at dir|
|000037d0| 65 63 74 6f 72 69 65 73 | 2e 20 20 57 68 65 6e 20 |ectories|. When |
|000037e0| 74 68 69 73 20 6f 70 74 | 69 6f 6e 20 69 73 20 73 |this opt|ion is s|
|000037f0| 70 65 63 69 66 69 65 64 | 2c 0a 58 74 68 65 20 75 |pecified|,.Xthe u|
|00003800| 73 61 67 65 20 6f 66 20 | 61 6c 6c 20 66 69 6c 65 |sage of |all file|
|00003810| 73 79 73 74 65 6d 20 69 | 74 65 6d 73 20 28 72 65 |system i|tems (re|
|00003820| 67 75 6c 61 72 20 66 69 | 6c 65 73 2c 20 64 69 72 |gular fi|les, dir|
|00003830| 65 63 74 6f 72 69 65 73 | 2c 20 65 74 63 2e 29 0a |ectories|, etc.).|
|00003840| 58 65 6e 63 6f 75 6e 74 | 65 72 65 64 20 69 73 20 |Xencount|ered is |
|00003850| 64 69 73 70 6c 61 79 65 | 64 2e 0a 58 2e 49 50 20 |displaye|d..X.IP |
|00003860| 22 5c 2d 62 22 20 31 30 | 0a 58 52 65 70 6f 72 74 |"\-b" 10|.XReport|
|00003870| 20 64 69 73 6b 20 75 73 | 61 67 65 20 69 6e 20 6e | disk us|age in n|
|00003880| 75 6d 62 65 72 20 6f 66 | 20 62 79 74 65 73 3b 20 |umber of| bytes; |
|00003890| 65 71 75 69 76 61 6c 65 | 6e 74 20 74 6f 20 60 60 |equivale|nt to ``|
|000038a0| 5c 2d 42 20 31 27 27 2e | 20 20 4e 6f 74 65 0a 58 |\-B 1''.| Note.X|
|000038b0| 74 68 61 74 20 64 69 73 | 6b 20 75 73 61 67 65 20 |that dis|k usage |
|000038c0| 69 6e 20 62 79 74 65 73 | 20 69 73 20 6e 6f 74 20 |in bytes| is not |
|000038d0| 74 68 65 20 73 61 6d 65 | 20 74 68 69 6e 67 20 61 |the same| thing a|
|000038e0| 73 20 66 69 6c 65 20 73 | 69 7a 65 2e 20 20 41 20 |s file s|ize. A |
|000038f0| 6f 6e 65 0a 58 62 79 74 | 65 20 66 69 6c 65 20 72 |one.Xbyt|e file r|
|00003900| 65 73 69 64 69 6e 67 20 | 6f 6e 20 61 20 31 4b 20 |esiding |on a 1K |
|00003910| 66 69 6c 65 73 79 73 74 | 65 6d 2c 20 66 6f 72 20 |filesyst|em, for |
|00003920| 65 78 61 6d 70 6c 65 2c | 20 68 61 73 20 61 20 64 |example,| has a d|
|00003930| 69 73 6b 20 75 73 61 67 | 65 0a 58 6f 66 20 31 30 |isk usag|e.Xof 10|
|00003940| 32 34 20 62 79 74 65 73 | 20 61 6e 64 20 6e 6f 74 |24 bytes| and not|
|00003950| 20 31 20 62 79 74 65 2e | 0a 58 2e 49 50 20 22 5c | 1 byte.|.X.IP "\|
|00003960| 2d 42 20 5c 66 49 73 69 | 7a 65 5c 66 52 22 20 31 |-B \fIsi|ze\fR" 1|
|00003970| 30 0a 58 54 68 65 20 75 | 73 61 67 65 20 69 73 20 |0.XThe u|sage is |
|00003980| 72 65 70 6f 72 74 65 64 | 20 69 6e 20 74 65 72 6d |reported| in term|
|00003990| 73 20 6f 66 0a 58 2e 49 | 20 73 69 7a 65 0a 58 62 |s of.X.I| size.Xb|
|000039a0| 79 74 65 20 62 6c 6f 63 | 6b 73 20 69 6e 73 74 65 |yte bloc|ks inste|
|000039b0| 61 64 20 6f 66 20 74 68 | 65 20 64 65 66 61 75 6c |ad of th|e defaul|
|000039c0| 74 2e 20 20 28 54 68 65 | 0a 58 2e 42 20 5c 2d 68 |t. (The|.X.B \-h|
|000039d0| 0a 58 6f 70 74 69 6f 6e | 20 77 69 6c 6c 20 74 65 |.Xoption| will te|
|000039e0| 6c 6c 20 79 6f 75 20 77 | 68 61 74 20 74 68 69 73 |ll you w|hat this|
|000039f0| 20 64 65 66 61 75 6c 74 | 20 76 61 6c 75 65 20 69 | default| value i|
|00003a00| 73 2e 29 20 20 41 0a 58 | 2e 49 20 73 69 7a 65 0a |s.) A.X|.I size.|
|00003a10| 58 6f 66 20 7a 65 72 6f | 20 6d 65 61 6e 73 20 75 |Xof zero| means u|
|00003a20| 73 65 20 74 68 65 20 70 | 68 79 73 69 63 61 6c 20 |se the p|hysical |
|00003a30| 66 69 6c 65 73 79 73 74 | 65 6d 20 64 69 73 6b 20 |filesyst|em disk |
|00003a40| 62 6c 6f 63 6b 20 73 69 | 7a 65 20 61 73 20 74 68 |block si|ze as th|
|00003a50| 65 0a 58 72 65 70 6f 72 | 74 69 6e 67 20 62 6c 6f |e.Xrepor|ting blo|
|00003a60| 63 6b 20 73 69 7a 65 2e | 20 20 4e 6f 74 65 20 74 |ck size.| Note t|
|00003a70| 68 61 74 20 74 68 69 73 | 20 76 61 6c 75 65 20 69 |hat this| value i|
|00003a80| 73 20 73 79 73 74 65 6d | 20 64 65 70 65 6e 64 61 |s system| dependa|
|00003a90| 6e 74 2c 20 61 6e 64 0a | 58 63 61 6e 20 76 61 72 |nt, and.|Xcan var|
|00003aa0| 79 20 61 63 72 6f 73 73 | 20 64 69 66 66 65 72 65 |y across| differe|
|00003ab0| 6e 74 20 66 69 6c 65 73 | 79 73 74 65 6d 73 20 75 |nt files|ystems u|
|00003ac0| 70 6f 6e 20 74 68 65 20 | 6d 61 63 68 69 6e 65 2e |pon the |machine.|
|00003ad0| 0a 58 2e 49 50 20 22 5c | 2d 63 20 5c 66 49 6e 5c |.X.IP "\|-c \fIn\|
|00003ae0| 66 52 2c 2e 2e 2e 22 20 | 31 30 0a 58 54 68 65 20 |fR,..." |10.XThe |
|00003af0| 64 69 73 6b 20 75 73 61 | 67 65 20 77 69 6c 6c 20 |disk usa|ge will |
|00003b00| 62 65 20 62 72 6f 6b 65 | 6e 20 64 6f 77 6e 20 62 |be broke|n down b|
|00003b10| 79 20 61 67 65 20 61 6e | 64 20 64 69 73 70 6c 61 |y age an|d displa|
|00003b20| 79 65 64 20 69 6e 20 63 | 6f 6c 75 6d 6e 73 2c 0a |yed in c|olumns,.|
|00003b30| 58 6f 6e 65 20 63 6f 6c | 75 6d 6e 20 66 6f 72 20 |Xone col|umn for |
|00003b40| 65 61 63 68 20 76 61 6c | 75 65 20 69 6e 20 74 68 |each val|ue in th|
|00003b50| 65 20 6c 69 73 74 2e 20 | 20 45 61 63 68 20 63 6f |e list. | Each co|
|00003b60| 6c 75 6d 6e 20 73 68 6f | 77 73 20 74 68 65 20 75 |lumn sho|ws the u|
|00003b70| 73 61 67 65 0a 58 62 79 | 20 65 6e 74 72 69 65 73 |sage.Xby| entries|
|00003b80| 0a 58 2e 49 20 6e 0a 58 | 64 61 79 73 20 6f 72 20 |.X.I n.X|days or |
|00003b90| 6f 6c 64 65 72 2e 20 20 | 46 6f 72 20 65 78 61 6d |older. |For exam|
|00003ba0| 70 6c 65 2c 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |ple, the| command|
|00003bb0| 3a 0a 58 2e 73 70 0a 58 | 2e 66 74 20 43 57 0a 58 |:.X.sp.X|.ft CW.X|
|00003bc0| 09 64 75 20 5c 2d 63 20 | 30 2c 37 2c 33 30 0a 58 |.du \-c |0,7,30.X|
|00003bd0| 2e 66 74 20 31 0a 58 2e | 73 70 0a 58 64 69 73 70 |.ft 1.X.|sp.Xdisp|
|00003be0| 6c 61 79 73 20 74 68 65 | 20 75 73 61 67 65 20 69 |lays the| usage i|
|00003bf0| 6e 20 74 68 72 65 65 20 | 63 6f 6c 75 6d 6e 73 3a |n three |columns:|
|00003c00| 20 20 74 68 65 20 74 6f | 74 61 6c 20 75 73 61 67 | the to|tal usag|
|00003c10| 65 20 28 7a 65 72 6f 20 | 64 61 79 73 20 6f 72 0a |e (zero |days or.|
|00003c20| 58 6f 6c 64 65 72 29 2c | 20 74 68 65 20 75 73 61 |Xolder),| the usa|
|00003c30| 67 65 20 62 79 20 65 6e | 74 72 69 65 73 20 61 20 |ge by en|tries a |
|00003c40| 77 65 65 6b 20 6f 72 20 | 6f 6c 64 65 72 2c 20 61 |week or |older, a|
|00003c50| 6e 64 20 74 68 65 20 75 | 73 61 67 65 20 62 79 20 |nd the u|sage by |
|00003c60| 65 6e 74 72 69 65 73 0a | 58 61 20 6d 6f 6e 74 68 |entries.|Xa month|
|00003c70| 20 6f 72 20 6f 6c 64 65 | 72 2e 20 20 54 68 65 20 | or olde|r. The |
|00003c80| 64 65 66 61 75 6c 74 20 | 62 65 68 61 76 69 6f 72 |default |behavior|
|00003c90| 20 6f 66 0a 58 2e 49 20 | 64 75 0a 58 69 73 20 65 | of.X.I |du.Xis e|
|00003ca0| 71 75 69 76 61 6c 65 6e | 74 20 74 6f 20 60 60 5c |quivalen|t to ``\|
|00003cb0| 2d 63 20 30 27 27 2e 20 | 20 54 68 65 20 61 67 65 |-c 0''. | The age|
|00003cc0| 20 69 73 20 62 61 73 65 | 64 20 75 70 6f 6e 20 61 | is base|d upon a|
|00003cd0| 6e 20 65 6e 74 72 79 27 | 73 20 74 69 6d 65 20 6f |n entry'|s time o|
|00003ce0| 66 0a 58 6c 61 73 74 20 | 6d 6f 64 69 66 69 63 61 |f.Xlast |modifica|
|00003cf0| 74 69 6f 6e 2e 0a 58 2e | 49 50 20 22 5c 2d 43 22 |tion..X.|IP "\-C"|
|00003d00| 20 31 30 0a 58 44 69 73 | 70 6c 61 79 73 20 61 20 | 10.XDis|plays a |
|00003d10| 63 6f 75 6e 74 20 6f 66 | 20 65 6e 74 72 69 65 73 |count of| entries|
|00003d20| 20 61 73 20 77 65 6c 6c | 20 61 73 20 74 68 65 20 | as well| as the |
|00003d30| 64 69 73 6b 20 75 73 61 | 67 65 20 6f 66 20 74 68 |disk usa|ge of th|
|00003d40| 6f 73 65 20 65 6e 74 72 | 69 65 73 2e 0a 58 54 68 |ose entr|ies..XTh|
|00003d50| 65 20 63 6f 75 6e 74 20 | 69 6e 63 6c 75 64 65 73 |e count |includes|
|00003d60| 20 6f 6e 6c 79 20 74 68 | 6f 73 65 20 69 74 65 6d | only th|ose item|
|00003d70| 73 20 74 68 61 74 20 70 | 61 72 74 69 63 69 70 61 |s that p|articipa|
|00003d80| 74 65 64 20 69 6e 20 74 | 68 65 20 64 69 73 6b 0a |ted in t|he disk.|
|00003d90| 58 75 73 61 67 65 20 63 | 61 6c 63 75 6c 61 74 69 |Xusage c|alculati|
|00003da0| 6f 6e 2e 20 20 49 66 2c | 20 66 6f 72 20 65 78 61 |on. If,| for exa|
|00003db0| 6d 70 6c 65 2c 20 74 68 | 65 0a 58 2e 42 20 5c 2d |mple, th|e.X.B \-|
|00003dc0| 75 0a 58 6f 70 74 69 6f | 6e 73 20 28 74 6f 20 73 |u.Xoptio|ns (to s|
|00003dd0| 6b 69 70 20 6d 75 6c 74 | 69 70 6c 79 2d 6c 69 6e |kip mult|iply-lin|
|00003de0| 6b 65 64 20 66 69 6c 65 | 73 29 20 69 73 20 61 6c |ked file|s) is al|
|00003df0| 73 6f 20 73 70 65 63 69 | 66 69 65 64 2c 20 6d 75 |so speci|fied, mu|
|00003e00| 6c 74 69 70 6c 79 2d 6c | 69 6e 6b 65 64 0a 58 66 |ltiply-l|inked.Xf|
|00003e10| 69 6c 65 73 20 77 69 6c | 6c 20 62 65 20 6f 6d 69 |iles wil|l be omi|
|00003e20| 74 74 65 64 20 6e 6f 74 | 20 6f 6e 6c 79 20 66 72 |tted not| only fr|
|00003e30| 6f 6d 20 74 68 65 20 75 | 73 75 61 6c 20 75 73 61 |om the u|sual usa|
|00003e40| 67 65 20 63 61 6c 63 75 | 6c 61 74 69 6f 6e 73 2c |ge calcu|lations,|
|00003e50| 0a 58 62 75 74 20 61 6c | 73 6f 20 74 68 65 20 66 |.Xbut al|so the f|
|00003e60| 69 6c 65 20 63 6f 75 6e | 74 20 72 65 71 75 65 73 |ile coun|t reques|
|00003e70| 74 65 64 20 62 79 20 74 | 68 65 0a 58 2e 42 20 5c |ted by t|he.X.B \|
|00003e80| 2d 43 0a 58 6f 70 74 69 | 6f 6e 2e 0a 58 2e 5c 22 |-C.Xopti|on..X.\"|
|00003e90| 20 2a 2a 2a 20 54 68 65 | 20 22 2d 64 22 20 6f 70 | *** The| "-d" op|
|00003ea0| 74 69 6f 6e 20 69 73 20 | 6f 62 73 6f 6c 65 74 65 |tion is |obsolete|
|00003eb0| 20 61 6e 64 20 75 6e 6c | 65 73 73 20 73 6f 6d 65 | and unl|ess some|
|00003ec0| 62 6f 64 79 2c 20 73 6f | 6d 65 77 68 65 72 65 20 |body, so|mewhere |
|00003ed0| 63 61 6e 0a 58 2e 5c 22 | 20 2a 2a 2a 20 74 65 6c |can.X.\"| *** tel|
|00003ee0| 6c 20 6d 65 20 69 74 20 | 69 73 20 75 73 65 66 75 |l me it |is usefu|
|00003ef0| 6c 20 74 68 65 6e 20 69 | 74 20 77 69 6c 6c 20 62 |l then i|t will b|
|00003f00| 65 20 72 65 6d 6f 76 65 | 64 20 65 6e 74 69 72 65 |e remove|d entire|
|00003f10| 6c 79 20 66 72 6f 6d 20 | 61 20 66 75 74 75 72 65 |ly from |a future|
|00003f20| 0a 58 2e 5c 22 20 2a 2a | 2a 20 72 65 6c 65 61 73 |.X.\" **|* releas|
|00003f30| 65 2e 0a 58 2e 5c 22 2e | 49 50 20 22 5c 2d 64 22 |e..X.\".|IP "\-d"|
|00003f40| 20 31 30 0a 58 2e 5c 22 | 54 68 69 73 20 6f 70 74 | 10.X.\"|This opt|
|00003f50| 69 6f 6e 20 70 72 65 76 | 65 6e 74 73 0a 58 2e 5c |ion prev|ents.X.\|
|00003f60| 22 2e 49 20 64 75 0a 58 | 2e 5c 22 66 72 6f 6d 20 |".I du.X|.\"from |
|00003f70| 64 65 73 63 65 6e 64 69 | 6e 67 20 69 6e 74 6f 20 |descendi|ng into |
|00003f80| 64 69 72 65 63 74 6f 72 | 69 65 73 20 65 6e 63 6f |director|ies enco|
|00003f90| 75 6e 74 65 72 65 64 2e | 0a 58 2e 5c 22 52 61 74 |untered.|.X.\"Rat|
|00003fa0| 68 65 72 20 74 68 61 6e | 20 72 65 63 75 72 73 69 |her than| recursi|
|00003fb0| 76 65 6c 79 0a 58 2e 5c | 22 72 65 70 6f 72 74 20 |vely.X.\|"report |
|00003fc0| 74 68 65 20 64 69 73 6b | 20 75 73 61 67 65 20 66 |the disk| usage f|
|00003fd0| 6f 72 20 65 6e 74 72 69 | 65 73 20 69 6e 20 61 20 |or entri|es in a |
|00003fe0| 64 69 72 65 63 74 6f 72 | 79 2c 0a 58 2e 5c 22 2e |director|y,.X.\".|
|00003ff0| 49 20 64 75 0a 58 2e 5c | 22 77 69 6c 6c 20 73 69 |I du.X.\|"will si|
|00004000| 6d 70 6c 79 20 72 65 70 | 6f 72 74 20 74 68 65 20 |mply rep|ort the |
|00004010| 73 70 61 63 65 20 75 73 | 65 64 20 62 79 20 74 68 |space us|ed by th|
|00004020| 65 20 64 69 72 65 63 74 | 6f 72 79 20 69 74 73 65 |e direct|ory itse|
|00004030| 6c 66 20 61 6e 64 20 69 | 67 6e 6f 72 65 0a 58 2e |lf and i|gnore.X.|
|00004040| 5c 22 74 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |\"the co|ntents o|
|00004050| 66 20 74 68 65 20 64 69 | 72 65 63 74 6f 72 79 2e |f the di|rectory.|
|00004060| 0a 58 2e 49 50 20 22 5c | 2d 66 22 20 31 30 0a 58 |.X.IP "\|-f" 10.X|
|00004070| 54 68 69 73 20 6f 70 74 | 69 6f 6e 20 77 69 6c 6c |This opt|ion will|
|00004080| 20 70 72 65 76 65 6e 74 | 0a 58 2e 49 20 64 75 0a | prevent|.X.I du.|
|00004090| 58 66 72 6f 6d 20 70 72 | 6f 63 65 73 73 69 6e 67 |Xfrom pr|ocessing|
|000040a0| 20 61 20 64 69 72 65 63 | 74 6f 72 79 20 28 65 69 | a direc|tory (ei|
|000040b0| 74 68 65 72 20 73 63 61 | 6e 6e 69 6e 67 20 69 74 |ther sca|nning it|
|000040c0| 73 20 63 6f 6e 74 65 6e | 74 73 20 6f 72 20 64 65 |s conten|ts or de|
|000040d0| 73 63 65 6e 64 69 6e 67 | 0a 58 69 6e 74 6f 20 69 |scending|.Xinto i|
|000040e0| 74 29 20 69 66 20 74 68 | 61 74 20 77 6f 75 6c 64 |t) if th|at would|
|000040f0| 20 72 65 73 75 6c 74 20 | 69 6e 20 63 72 6f 73 73 | result |in cross|
|00004100| 69 6e 67 20 61 20 6d 6f | 75 6e 74 20 70 6f 69 6e |ing a mo|unt poin|
|00004110| 74 2c 20 69 2e 65 2e 20 | 6f 6e 74 6f 20 61 0a 58 |t, i.e. |onto a.X|
|00004120| 64 69 66 66 65 72 65 6e | 74 20 66 69 6c 65 73 79 |differen|t filesy|
|00004130| 73 74 65 6d 2e 0a 58 2e | 49 50 20 22 5c 2d 46 22 |stem..X.|IP "\-F"|
|00004140| 20 31 30 0a 58 54 68 69 | 73 20 6f 70 74 69 6f 6e | 10.XThi|s option|
|00004150| 20 77 69 6c 6c 20 70 72 | 65 76 65 6e 74 0a 58 2e | will pr|event.X.|
|00004160| 49 20 64 75 0a 58 66 72 | 6f 6d 20 70 72 6f 63 65 |I du.Xfr|om proce|
|00004170| 73 73 69 6e 67 20 61 20 | 64 69 72 65 63 74 6f 72 |ssing a |director|
|00004180| 79 20 28 65 69 74 68 65 | 72 20 73 63 61 6e 6e 69 |y (eithe|r scanni|
|00004190| 6e 67 20 69 74 73 20 63 | 6f 6e 74 65 6e 74 73 20 |ng its c|ontents |
|000041a0| 6f 72 20 64 65 73 63 65 | 6e 64 69 6e 67 0a 58 69 |or desce|nding.Xi|
|000041b0| 6e 74 6f 20 69 74 29 20 | 69 66 20 74 68 61 74 20 |nto it) |if that |
|000041c0| 77 6f 75 6c 64 20 72 65 | 73 75 6c 74 20 69 6e 20 |would re|sult in |
|000041d0| 63 72 6f 73 73 69 6e 67 | 20 61 20 72 65 6d 6f 74 |crossing| a remot|
|000041e0| 65 20 6d 6f 75 6e 74 20 | 70 6f 69 6e 74 2c 20 69 |e mount |point, i|
|000041f0| 2e 65 2e 0a 58 6f 6e 74 | 6f 20 61 20 6e 65 74 77 |.e..Xont|o a netw|
|00004200| 6f 72 6b 20 66 69 6c 65 | 73 79 73 74 65 6d 2e 20 |ork file|system. |
|00004210| 20 54 68 69 73 20 64 69 | 66 66 65 72 73 20 66 72 | This di|ffers fr|
|00004220| 6f 6d 20 74 68 65 0a 58 | 2e 42 20 5c 2d 66 0a 58 |om the.X|.B \-f.X|
|00004230| 6f 70 74 69 6f 6e 20 69 | 6e 20 74 68 61 74 20 6c |option i|n that l|
|00004240| 6f 63 61 6c 20 66 69 6c | 65 73 79 73 74 65 6d 20 |ocal fil|esystem |
|00004250| 6d 6f 75 6e 74 20 70 6f | 69 6e 74 73 20 77 69 6c |mount po|ints wil|
|00004260| 6c 20 62 65 20 74 72 61 | 76 65 72 73 65 64 20 77 |l be tra|versed w|
|00004270| 68 65 6e 0a 58 2e 42 20 | 5c 2d 46 0a 58 69 73 20 |hen.X.B |\-F.Xis |
|00004280| 73 70 65 63 69 66 69 65 | 64 2e 0a 58 2e 49 50 20 |specifie|d..X.IP |
|00004290| 22 5c 2d 68 22 20 31 30 | 0a 58 44 69 73 70 6c 61 |"\-h" 10|.XDispla|
|000042a0| 79 73 20 61 20 68 65 6c | 70 20 73 75 6d 6d 61 72 |ys a hel|p summar|
|000042b0| 79 2e 20 20 57 69 6c 6c | 20 61 6c 73 6f 20 69 6e |y. Will| also in|
|000042c0| 64 69 63 61 74 65 20 74 | 68 65 20 64 65 66 61 75 |dicate t|he defau|
|000042d0| 6c 74 20 73 69 7a 65 20 | 6f 66 20 74 68 65 0a 58 |lt size |of the.X|
|000042e0| 64 69 73 6b 20 62 6c 6f | 63 6b 73 20 75 73 65 64 |disk blo|cks used|
|000042f0| 20 69 6e 20 72 65 70 6f | 72 74 69 6e 67 2e 0a 58 | in repo|rting..X|
|00004300| 2e 49 50 20 22 5c 2d 69 | 22 20 31 30 0a 58 44 6f |.IP "\-i|" 10.XDo|
|00004310| 20 6e 6f 74 20 61 63 63 | 75 6d 75 6c 61 74 65 20 | not acc|umulate |
|00004320| 73 75 62 64 69 72 65 63 | 74 6f 72 69 65 73 27 20 |subdirec|tories' |
|00004330| 75 73 61 67 65 20 69 6e | 74 6f 20 74 68 65 20 70 |usage in|to the p|
|00004340| 61 72 65 6e 74 20 64 69 | 72 65 63 74 6f 72 79 27 |arent di|rectory'|
|00004350| 73 0a 58 75 73 61 67 65 | 2e 20 20 49 66 2c 20 66 |s.Xusage|. If, f|
|00004360| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 79 6f 75 20 |or examp|le, you |
|00004370| 72 75 6e 3a 0a 58 2e 73 | 70 0a 58 2e 66 74 20 43 |run:.X.s|p.X.ft C|
|00004380| 57 0a 58 09 64 75 20 2d | 69 20 63 6f 6d 70 2f 74 |W.X.du -|i comp/t|
|00004390| 65 78 74 0a 58 2e 66 74 | 20 31 0a 58 2e 73 70 0a |ext.X.ft| 1.X.sp.|
|000043a0| 58 74 68 65 6e 20 74 68 | 65 20 64 69 73 6b 20 75 |Xthen th|e disk u|
|000043b0| 73 61 67 65 20 66 6f 72 | 20 61 20 73 75 62 64 69 |sage for| a subdi|
|000043c0| 72 65 63 74 6f 72 79 0a | 58 2e 49 20 63 6f 6d 70 |rectory.|X.I comp|
|000043d0| 2f 74 65 78 74 2f 64 65 | 73 6b 74 6f 70 0a 58 77 |/text/de|sktop.Xw|
|000043e0| 69 6c 6c 20 6e 6f 74 20 | 62 65 20 61 63 63 75 6d |ill not |be accum|
|000043f0| 75 6c 61 74 65 64 20 69 | 6e 74 6f 20 74 68 65 20 |ulated i|nto the |
|00004400| 64 69 73 6b 20 75 73 61 | 67 65 20 6f 66 0a 58 2e |disk usa|ge of.X.|
|00004410| 49 52 20 63 6f 6d 70 2f | 74 65 78 74 20 2e 0a 58 |IR comp/|text ..X|
|00004420| 2e 49 50 20 22 5c 2d 6b | 22 20 31 30 0a 58 52 65 |.IP "\-k|" 10.XRe|
|00004430| 70 6f 72 74 20 64 69 73 | 6b 20 75 73 61 67 65 20 |port dis|k usage |
|00004440| 69 6e 20 6e 75 6d 62 65 | 72 20 6f 66 20 6b 69 6c |in numbe|r of kil|
|00004450| 6f 62 79 74 65 73 3b 20 | 65 71 75 69 76 61 6c 65 |obytes; |equivale|
|00004460| 6e 74 20 74 6f 20 60 60 | 5c 2d 42 20 31 30 32 34 |nt to ``|\-B 1024|
|00004470| 27 27 2e 0a 58 2e 49 50 | 20 22 5c 2d 6c 22 20 31 |''..X.IP| "\-l" 1|
|00004480| 30 0a 58 4e 6f 72 6d 61 | 6c 6c 79 0a 58 2e 49 20 |0.XNorma|lly.X.I |
|00004490| 64 75 0a 58 77 69 6c 6c | 20 63 6f 75 6e 74 20 61 |du.Xwill| count a|
|000044a0| 20 66 69 6c 65 20 77 69 | 74 68 20 6d 75 6c 74 69 | file wi|th multi|
|000044b0| 70 6c 65 20 28 68 61 72 | 64 29 20 6c 69 6e 6b 73 |ple (har|d) links|
|000044c0| 20 6f 6e 6c 79 20 6f 6e | 63 65 2e 20 20 57 69 74 | only on|ce. Wit|
|000044d0| 68 20 74 68 69 73 20 6f | 70 74 69 6f 6e 2c 0a 58 |h this o|ption,.X|
|000044e0| 2e 49 20 64 75 0a 58 77 | 69 6c 6c 20 63 6f 75 6e |.I du.Xw|ill coun|
|000044f0| 74 20 74 68 65 20 66 69 | 6c 65 20 65 61 63 68 20 |t the fi|le each |
|00004500| 74 69 6d 65 20 69 73 20 | 69 73 20 65 6e 63 6f 75 |time is |is encou|
|00004510| 6e 74 65 72 65 64 2e 0a | 58 2e 49 50 20 22 5c 2d |ntered..|X.IP "\-|
|00004520| 4c 22 20 31 30 0a 58 43 | 6f 75 6e 74 20 65 61 63 |L" 10.XC|ount eac|
|00004530| 68 20 69 6e 73 74 61 6e | 63 65 20 6f 66 20 61 20 |h instan|ce of a |
|00004540| 6d 75 6c 74 69 70 6c 79 | 20 28 68 61 72 64 29 20 |multiply| (hard) |
|00004550| 6c 69 6e 6b 65 64 20 72 | 65 67 75 6c 61 72 20 66 |linked r|egular f|
|00004560| 69 6c 65 2c 20 62 75 74 | 20 61 76 65 72 61 67 65 |ile, but| average|
|00004570| 0a 58 74 68 65 20 75 73 | 61 67 65 20 6f 76 65 72 |.Xthe us|age over|
|00004580| 20 65 61 63 68 20 6f 66 | 20 74 68 65 20 6c 69 6e | each of| the lin|
|00004590| 6b 73 2e 20 20 49 66 2c | 20 66 6f 72 20 65 78 61 |ks. If,| for exa|
|000045a0| 6d 70 6c 65 2c 20 61 20 | 37 20 62 6c 6f 63 6b 20 |mple, a |7 block |
|000045b0| 66 69 6c 65 20 69 73 0a | 58 6c 69 6e 6b 65 64 20 |file is.|Xlinked |
|000045c0| 74 6f 20 74 68 65 20 6e | 61 6d 65 73 0a 58 2e 49 |to the n|ames.X.I|
|000045d0| 52 20 63 6f 6d 70 2f 75 | 6e 69 78 2f 71 75 65 73 |R comp/u|nix/ques|
|000045e0| 74 69 6f 6e 73 2f 31 33 | 20 2c 0a 58 2e 49 52 20 |tions/13| ,.X.IR |
|000045f0| 63 6f 6d 70 2f 75 6e 69 | 78 2f 70 72 6f 67 72 61 |comp/uni|x/progra|
|00004600| 6d 6d 65 72 2f 31 32 20 | 2c 0a 58 61 6e 64 0a 58 |mmer/12 |,.Xand.X|
|00004610| 2e 49 52 20 61 6c 74 2f | 66 6c 61 6d 65 2f 33 33 |.IR alt/|flame/33|
|00004620| 20 2c 0a 58 74 68 65 6e | 0a 58 2e 49 20 64 75 0a | ,.Xthen|.X.I du.|
|00004630| 58 77 69 6c 6c 20 63 6f | 75 6e 74 20 74 68 65 20 |Xwill co|unt the |
|00004640| 66 69 6c 65 20 74 68 72 | 65 65 20 74 69 6d 65 73 |file thr|ee times|
|00004650| 20 77 69 74 68 20 75 73 | 61 67 65 73 20 6f 66 20 | with us|ages of |
|00004660| 33 2c 20 32 2c 20 61 6e | 64 20 32 20 62 6c 6f 63 |3, 2, an|d 2 bloc|
|00004670| 6b 73 2c 0a 58 72 65 73 | 70 65 63 74 69 76 65 6c |ks,.Xres|pectivel|
|00004680| 79 2e 0a 58 2e 49 50 20 | 22 5c 2d 72 22 20 31 30 |y..X.IP |"\-r" 10|
|00004690| 0a 58 54 72 61 64 69 74 | 69 6f 6e 61 6c 6c 79 2c |.XTradit|ionally,|
|000046a0| 0a 58 2e 49 20 64 75 0a | 58 64 6f 65 73 20 69 74 |.X.I du.|Xdoes it|
|000046b0| 27 73 20 77 6f 72 6b 20 | 73 69 6c 65 6e 74 6c 79 |'s work |silently|
|000046c0| 20 61 6e 64 20 77 69 6c | 6c 20 6e 6f 74 20 72 65 | and wil|l not re|
|000046d0| 70 6f 72 74 20 61 6e 79 | 20 65 72 72 6f 72 73 2c |port any| errors,|
|000046e0| 20 65 2e 67 2e 20 61 0a | 58 2e 49 20 6e 61 6d 65 | e.g. a.|X.I name|
|000046f0| 0a 58 73 70 65 63 69 66 | 69 65 64 20 6f 6e 20 74 |.Xspecif|ied on t|
|00004700| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 6c 69 6e 65 20 |he comma|nd line |
|00004710| 64 6f 65 73 6e 27 74 20 | 65 78 69 73 74 2c 20 79 |doesn't |exist, y|
|00004720| 6f 75 20 64 6f 6e 27 74 | 20 68 61 76 65 20 70 65 |ou don't| have pe|
|00004730| 72 6d 69 73 73 69 6f 6e | 73 0a 58 74 6f 20 63 68 |rmission|s.Xto ch|
|00004740| 65 63 6b 20 61 20 64 69 | 72 65 63 74 6f 72 79 2c |eck a di|rectory,|
|00004750| 20 65 74 63 2e 20 20 54 | 68 69 73 20 76 65 72 73 | etc. T|his vers|
|00004760| 69 6f 6e 20 6f 66 0a 58 | 2e 49 20 64 75 0a 58 6e |ion of.X|.I du.Xn|
|00004770| 6f 72 6d 61 6c 6c 79 20 | 70 72 69 6e 74 73 20 74 |ormally |prints t|
|00004780| 68 65 73 65 20 65 72 72 | 6f 72 73 20 74 6f 20 74 |hese err|ors to t|
|00004790| 68 65 0a 58 2e 49 20 73 | 74 64 65 72 72 0a 58 6f |he.X.I s|tderr.Xo|
|000047a0| 75 74 70 75 74 2e 20 20 | 49 74 20 63 61 6e 20 62 |utput. |It can b|
|000047b0| 65 20 63 6f 6e 66 69 67 | 75 72 65 64 2c 20 68 6f |e config|ured, ho|
|000047c0| 77 65 76 65 72 2c 20 74 | 6f 20 62 65 20 63 6f 6d |wever, t|o be com|
|000047d0| 70 61 74 69 62 6c 65 20 | 77 69 74 68 20 74 68 65 |patible |with the|
|000047e0| 20 74 72 61 64 69 74 69 | 6f 6e 61 6c 0a 58 62 65 | traditi|onal.Xbe|
|000047f0| 68 61 76 69 6f 72 20 61 | 6e 64 20 73 75 70 70 72 |havior a|nd suppr|
|00004800| 65 73 73 20 65 72 72 6f | 72 20 6d 65 73 73 61 67 |ess erro|r messag|
|00004810| 65 73 2e 20 20 49 66 20 | 74 68 69 73 20 69 73 20 |es. If |this is |
|00004820| 64 6f 6e 65 2c 20 74 68 | 65 6e 20 74 68 65 0a 58 |done, th|en the.X|
|00004830| 2e 42 20 5c 2d 72 0a 58 | 6f 70 74 69 6f 6e 20 77 |.B \-r.X|option w|
|00004840| 69 6c 6c 20 62 65 20 61 | 76 61 69 6c 61 62 6c 65 |ill be a|vailable|
|00004850| 20 74 6f 20 65 6e 61 62 | 6c 65 20 74 68 65 73 65 | to enab|le these|
|00004860| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 73 2e | error m|essages.|
|00004870| 20 20 54 68 65 0a 58 2e | 42 20 5c 2d 68 0a 58 6f | The.X.|B \-h.Xo|
|00004880| 70 74 69 6f 6e 20 77 69 | 6c 6c 20 74 65 6c 6c 20 |ption wi|ll tell |
|00004890| 79 6f 75 20 77 68 65 74 | 68 65 72 20 6f 72 20 6e |you whet|her or n|
|000048a0| 6f 74 20 74 68 69 73 20 | 6f 70 74 69 6f 6e 20 68 |ot this |option h|
|000048b0| 61 73 20 62 65 65 6e 20 | 65 6e 61 62 6c 65 64 2e |as been |enabled.|
|000048c0| 0a 58 2e 49 50 20 22 5c | 2d 73 22 20 31 30 0a 58 |.X.IP "\|-s" 10.X|
|000048d0| 4e 6f 72 6d 61 6c 6c 79 | 0a 58 2e 49 20 64 75 0a |Normally|.X.I du.|
|000048e0| 58 72 65 70 6f 72 74 73 | 20 74 68 65 20 64 69 73 |Xreports| the dis|
|000048f0| 6b 20 75 73 61 67 65 20 | 66 6f 72 20 65 61 63 68 |k usage |for each|
|00004900| 20 64 69 72 65 63 74 6f | 72 79 20 69 74 20 65 6e | directo|ry it en|
|00004910| 63 6f 75 6e 74 65 72 73 | 2e 20 20 54 68 69 73 0a |counters|. This.|
|00004920| 58 6f 70 74 69 6f 6e 20 | 73 75 70 70 72 65 73 73 |Xoption |suppress|
|00004930| 65 73 20 74 68 61 74 20 | 69 6e 66 6f 72 6d 61 74 |es that |informat|
|00004940| 69 6f 6e 20 61 6e 64 20 | 69 6e 73 74 65 61 64 20 |ion and |instead |
|00004950| 72 65 70 6f 72 74 73 20 | 6a 75 73 74 20 61 0a 58 |reports |just a.X|
|00004960| 74 6f 74 61 6c 20 75 73 | 61 67 65 20 66 6f 72 20 |total us|age for |
|00004970| 65 61 63 68 20 6f 66 20 | 74 68 65 20 69 74 65 6d |each of |the item|
|00004980| 73 20 73 70 65 63 69 66 | 69 65 64 20 6f 6e 20 74 |s specif|ied on t|
|00004990| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 6c 69 6e 65 2e |he comma|nd line.|
|000049a0| 0a 58 2e 49 50 20 22 5c | 2d 74 22 20 31 30 0a 58 |.X.IP "\|-t" 10.X|
|000049b0| 41 20 67 72 61 6e 64 20 | 74 6f 74 61 6c 20 6f 66 |A grand |total of|
|000049c0| 20 61 6c 6c 20 69 74 65 | 6d 73 20 73 70 65 63 69 | all ite|ms speci|
|000049d0| 66 69 65 64 20 6f 6e 20 | 74 68 65 20 63 6f 6d 6d |fied on |the comm|
|000049e0| 61 6e 64 20 6c 69 6e 65 | 20 77 69 6c 6c 20 62 65 |and line| will be|
|000049f0| 0a 58 61 63 63 75 6d 75 | 6c 61 74 65 64 20 61 6e |.Xaccumu|lated an|
|00004a00| 64 20 64 69 73 70 6c 61 | 79 65 64 2e 20 20 46 6f |d displa|yed. Fo|
|00004a10| 72 20 65 78 61 6d 70 6c | 65 2c 20 74 68 65 20 63 |r exampl|e, the c|
|00004a20| 6f 6d 6d 61 6e 64 0a 58 | 2e 73 70 0a 58 2e 66 74 |ommand.X|.sp.X.ft|
|00004a30| 20 43 57 0a 58 09 64 75 | 20 5c 2d 73 74 20 2f 75 | CW.X.du| \-st /u|
|00004a40| 73 72 2f 6d 61 6e 2f 6d | 61 6e 2a 0a 58 2e 66 74 |sr/man/m|an*.X.ft|
|00004a50| 20 31 0a 58 2e 73 70 0a | 58 77 69 6c 6c 20 73 68 | 1.X.sp.|Xwill sh|
|00004a60| 6f 77 20 74 68 65 20 64 | 69 73 6b 20 75 73 61 67 |ow the d|isk usag|
|00004a70| 65 20 6f 66 20 65 61 63 | 68 20 6d 61 6e 75 61 6c |e of eac|h manual|
|00004a80| 20 70 61 67 65 20 73 6f | 75 72 63 65 20 64 69 72 | page so|urce dir|
|00004a90| 65 63 74 6f 72 79 2c 20 | 70 6c 75 73 0a 58 61 20 |ectory, |plus.Xa |
|00004aa0| 67 72 61 6e 64 20 74 6f | 74 61 6c 20 6f 66 20 74 |grand to|tal of t|
|00004ab0| 68 65 73 65 20 64 69 72 | 65 63 74 6f 72 69 65 73 |hese dir|ectories|
|00004ac0| 2e 0a 58 2e 49 50 20 22 | 5c 2d 75 22 20 31 30 0a |..X.IP "|\-u" 10.|
|00004ad0| 58 43 61 75 73 65 73 20 | 6d 75 6c 74 69 70 6c 79 |XCauses |multiply|
|00004ae0| 20 6c 69 6e 6b 65 64 20 | 66 69 6c 65 73 20 74 6f | linked |files to|
|00004af0| 20 62 65 20 73 6b 69 70 | 70 65 64 20 65 6e 74 69 | be skip|ped enti|
|00004b00| 72 65 6c 79 20 61 6e 64 | 20 6f 6d 69 74 74 65 64 |rely and| omitted|
|00004b10| 20 66 72 6f 6d 20 74 68 | 65 0a 58 75 73 61 67 65 | from th|e.Xusage|
|00004b20| 20 73 74 61 74 69 73 74 | 69 63 73 2e 0a 58 2e 49 | statist|ics..X.I|
|00004b30| 50 20 22 5c 2d 55 20 5c | 66 49 75 73 65 72 5c 66 |P "\-U \|fIuser\f|
|00004b40| 52 22 20 31 30 0a 58 4f | 6e 6c 79 20 65 6e 74 72 |R" 10.XO|nly entr|
|00004b50| 69 65 73 20 6f 77 6e 65 | 64 20 62 79 20 74 68 65 |ies owne|d by the|
|00004b60| 20 69 6e 64 69 63 61 74 | 65 64 0a 58 2e 49 20 75 | indicat|ed.X.I u|
|00004b70| 73 65 72 0a 58 77 69 6c | 6c 20 62 65 20 63 6f 75 |ser.Xwil|l be cou|
|00004b80| 6e 74 65 64 2e 20 20 45 | 69 74 68 65 72 20 61 20 |nted. E|ither a |
|00004b90| 75 73 65 72 6e 61 6d 65 | 20 6f 72 20 55 49 44 20 |username| or UID |
|00004ba0| 6e 75 6d 62 65 72 20 6d | 61 79 20 62 65 20 73 70 |number m|ay be sp|
|00004bb0| 65 63 69 66 69 65 64 2e | 0a 58 2e 53 48 20 53 45 |ecified.|.X.SH SE|
|00004bc0| 45 20 41 4c 53 4f 0a 58 | 64 66 28 31 29 2c 20 64 |E ALSO.X|df(1), d|
|00004bd0| 75 73 6f 72 74 28 31 4c | 29 2c 20 6c 73 28 31 29 |usort(1L|), ls(1)|
|00004be0| 2c 20 6d 6f 75 6e 74 28 | 38 29 2c 20 73 74 61 74 |, mount(|8), stat|
|00004bf0| 28 32 29 0a 58 2e 53 48 | 20 42 55 47 53 0a 58 55 |(2).X.SH| BUGS.XU|
|00004c00| 6e 6c 65 73 73 20 79 6f | 75 72 20 73 79 73 74 65 |nless yo|ur syste|
|00004c10| 6d 20 70 72 6f 76 69 64 | 65 73 20 61 6e 0a 58 2e |m provid|es an.X.|
|00004c20| 49 20 73 74 5f 62 6c 6f | 63 6b 73 0a 58 69 6e 20 |I st_blo|cks.Xin |
|00004c30| 74 68 65 20 69 6e 6f 64 | 65 2c 0a 58 2e 49 20 64 |the inod|e,.X.I d|
|00004c40| 75 0a 58 77 69 6c 6c 20 | 72 65 70 6f 72 74 20 66 |u.Xwill |report f|
|00004c50| 69 6c 65 73 20 77 69 74 | 68 20 68 6f 6c 65 73 20 |iles wit|h holes |
|00004c60| 69 6e 20 74 68 65 6d 20 | 28 73 70 61 72 73 65 20 |in them |(sparse |
|00004c70| 66 69 6c 65 73 29 20 69 | 6e 63 6f 72 72 65 63 74 |files) i|ncorrect|
|00004c80| 6c 79 2e 0a 58 2e 50 0a | 58 41 6c 74 68 6f 75 67 |ly..X.P.|XAlthoug|
|00004c90| 68 20 6d 75 6c 74 69 70 | 6c 79 20 6c 69 6e 6b 65 |h multip|ly linke|
|00004ca0| 64 20 66 69 6c 65 73 20 | 61 72 65 20 6e 6f 72 6d |d files |are norm|
|00004cb0| 61 6c 6c 79 20 63 6f 75 | 6e 74 65 64 20 6f 6e 6c |ally cou|nted onl|
|00004cc0| 79 20 6f 6e 63 65 2c 20 | 79 6f 75 0a 58 63 61 6e |y once, |you.Xcan|
|00004cd0| 27 74 20 62 65 20 73 75 | 72 65 20 75 6e 64 65 72 |'t be su|re under|
|00004ce0| 20 77 68 69 63 68 20 64 | 69 72 65 63 74 6f 72 79 | which d|irectory|
|00004cf0| 20 74 68 65 79 20 77 69 | 6c 6c 20 62 65 20 61 63 | they wi|ll be ac|
|00004d00| 63 75 6d 75 6c 61 74 65 | 64 2e 20 20 4e 6f 74 65 |cumulate|d. Note|
|00004d10| 0a 58 74 68 61 74 20 75 | 6e 6c 69 6b 65 20 73 6f |.Xthat u|nlike so|
|00004d20| 6d 65 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |me imple|mentatio|
|00004d30| 6e 73 20 6f 66 0a 58 2e | 49 52 20 64 75 20 2c 0a |ns of.X.|IR du ,.|
|00004d40| 58 74 68 65 20 6f 6e 6c | 79 20 6c 69 6d 69 74 20 |Xthe onl|y limit |
|00004d50| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00004d60| 20 6c 69 6e 6b 65 64 20 | 66 69 6c 65 73 20 74 68 | linked |files th|
|00004d70| 61 74 20 63 61 6e 20 62 | 65 20 68 61 6e 64 6c 65 |at can b|e handle|
|00004d80| 64 20 69 73 0a 58 73 65 | 74 20 62 79 20 61 76 61 |d is.Xse|t by ava|
|00004d90| 69 6c 61 62 6c 65 20 73 | 79 73 74 65 6d 20 6d 65 |ilable s|ystem me|
|00004da0| 6d 6f 72 79 2e 0a 58 2e | 50 0a 58 49 66 20 74 68 |mory..X.|P.XIf th|
|00004db0| 65 20 61 63 74 75 61 6c | 20 66 69 6c 65 73 79 73 |e actual| filesys|
|00004dc0| 74 65 6d 20 62 6c 6f 63 | 6b 20 73 69 7a 65 20 69 |tem bloc|k size i|
|00004dd0| 73 20 6e 6f 74 20 61 6e | 20 69 6e 74 65 67 72 61 |s not an| integra|
|00004de0| 6c 20 6d 75 6c 74 69 70 | 6c 65 20 6f 66 20 74 68 |l multip|le of th|
|00004df0| 65 0a 58 72 65 70 6f 72 | 74 69 6e 67 20 62 6c 6f |e.Xrepor|ting blo|
|00004e00| 63 6b 20 73 69 7a 65 0a | 58 2e 52 42 20 28 20 5c |ck size.|X.RB ( \|
|00004e10| 2d 42 20 29 0a 58 74 68 | 65 6e 20 72 6f 75 6e 64 |-B ).Xth|en round|
|00004e20| 6f 66 66 20 65 72 72 6f | 72 73 20 77 69 6c 6c 20 |off erro|rs will |
|00004e30| 6f 63 63 75 72 20 69 6e | 20 74 68 65 20 74 72 61 |occur in| the tra|
|00004e40| 6e 73 6c 61 74 69 6f 6e | 2e 0a 58 2e 49 20 64 75 |nslation|..X.I du|
|00004e50| 0a 58 77 69 6c 6c 20 72 | 6f 75 6e 64 20 75 70 20 |.Xwill r|ound up |
|00004e60| 69 6e 20 74 68 69 73 20 | 63 61 73 65 2e 0a 58 2e |in this |case..X.|
|00004e70| 50 0a 58 54 68 65 0a 58 | 2e 42 20 5c 2d 55 0a 58 |P.XThe.X|.B \-U.X|
|00004e80| 6f 70 74 69 6f 6e 20 63 | 61 6e 20 69 6e 74 65 72 |option c|an inter|
|00004e90| 72 61 63 74 20 77 69 74 | 68 20 6f 74 68 65 72 73 |ract wit|h others|
|00004ea0| 20 69 6e 20 73 74 72 61 | 6e 67 65 20 77 61 79 73 | in stra|nge ways|
|00004eb0| 2e 20 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |. For e|xample, |
|00004ec0| 77 68 65 6e 0a 58 63 6f | 6d 62 69 6e 65 64 20 77 |when.Xco|mbined w|
|00004ed0| 69 74 68 0a 58 2e 42 52 | 20 5c 2d 61 20 2c 0a 58 |ith.X.BR| \-a ,.X|
|00004ee0| 61 6c 6c 20 66 69 6c 65 | 73 20 77 69 6c 6c 20 62 |all file|s will b|
|00004ef0| 65 20 64 69 73 70 6c 61 | 79 65 64 2c 20 62 75 74 |e displa|yed, but|
|00004f00| 20 6f 6e 65 73 20 6e 6f | 74 20 6f 77 6e 65 64 20 | ones no|t owned |
|00004f10| 62 79 20 74 68 65 20 73 | 70 65 63 69 66 69 65 64 |by the s|pecified|
|00004f20| 0a 58 75 73 65 72 20 77 | 69 6c 6c 20 62 65 20 73 |.Xuser w|ill be s|
|00004f30| 68 6f 77 6e 20 61 73 20 | 7a 65 72 6f 20 73 69 7a |hown as |zero siz|
|00004f40| 65 64 2e 0a 58 2e 50 0a | 58 49 66 20 74 77 6f 20 |ed..X.P.|XIf two |
|00004f50| 6f 72 20 6d 6f 72 65 20 | 64 69 72 65 63 74 6f 72 |or more |director|
|00004f60| 79 20 74 72 65 65 73 20 | 73 70 65 63 69 66 69 65 |y trees |specifie|
|00004f70| 64 20 6f 6e 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |d on the| command|
|00004f80| 20 6c 69 6e 65 20 61 72 | 65 20 6e 6f 74 0a 58 64 | line ar|e not.Xd|
|00004f90| 69 73 6a 6f 69 6e 74 2c | 20 74 68 65 6e 20 74 68 |isjoint,| then th|
|00004fa0| 65 20 75 73 61 67 65 20 | 63 61 6c 63 75 6c 61 74 |e usage |calculat|
|00004fb0| 69 6f 6e 73 20 77 69 6c | 6c 20 62 65 20 63 6f 72 |ions wil|l be cor|
|00004fc0| 72 75 70 74 65 64 20 62 | 79 20 74 68 65 20 70 72 |rupted b|y the pr|
|00004fd0| 65 73 65 6e 63 65 0a 58 | 6f 66 20 68 61 72 64 20 |esence.X|of hard |
|00004fe0| 6c 69 6e 6b 73 2e 20 20 | 49 66 2c 20 66 6f 72 20 |links. |If, for |
|00004ff0| 65 78 61 6d 70 6c 65 2c | 0a 58 2e 49 20 2f 75 73 |example,|.X.I /us|
|00005000| 72 2f 66 6f 6f 2f 62 61 | 72 0a 58 61 6e 64 0a 58 |r/foo/ba|r.Xand.X|
|00005010| 2e 49 20 2f 75 73 72 2f | 66 6f 6f 2f 62 61 7a 0a |.I /usr/|foo/baz.|
|00005020| 58 61 72 65 20 6c 69 6e | 6b 73 20 74 6f 20 74 68 |Xare lin|ks to th|
|00005030| 65 20 73 61 6d 65 20 66 | 69 6c 65 2c 20 74 68 65 |e same f|ile, the|
|00005040| 6e 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 60 60 |n the co|mmand ``|
|00005050| 64 75 20 2f 75 73 72 2f | 66 6f 6f 20 2f 75 73 72 |du /usr/|foo /usr|
|00005060| 27 27 20 77 69 6c 6c 0a | 58 72 65 70 6f 72 74 20 |'' will.|Xreport |
|00005070| 74 68 65 20 75 73 61 67 | 65 20 6f 66 20 64 69 72 |the usag|e of dir|
|00005080| 65 63 74 6f 72 79 0a 58 | 2e 49 20 2f 75 73 72 2f |ectory.X|.I /usr/|
|00005090| 66 6f 6f 0a 58 74 77 69 | 63 65 2c 20 61 6e 64 20 |foo.Xtwi|ce, and |
|000050a0| 74 68 65 20 74 77 6f 20 | 76 61 6c 75 65 73 20 77 |the two |values w|
|000050b0| 69 6c 6c 20 6e 6f 74 20 | 61 67 72 65 65 2e 0a 58 |ill not |agree..X|
|000050c0| 2e 53 48 20 41 55 54 48 | 4f 52 0a 58 43 68 69 70 |.SH AUTH|OR.XChip|
|000050d0| 20 52 6f 73 65 6e 74 68 | 61 6c 0a 58 2e 62 72 0a | Rosenth|al.X.br.|
|000050e0| 58 55 6e 69 63 6f 6d 20 | 53 79 73 74 65 6d 73 20 |XUnicom |Systems |
|000050f0| 44 65 76 65 6c 6f 70 6d | 65 6e 74 2c 20 49 6e 63 |Developm|ent, Inc|
|00005100| 2e 0a 58 2e 62 72 0a 58 | 3c 63 68 69 70 5c 73 2d |..X.br.X|<chip\s-|
|00005110| 31 40 5c 73 2b 31 63 68 | 69 6e 61 63 61 74 2e 55 |1@\s+1ch|inacat.U|
|00005120| 6e 69 63 6f 6d 2e 43 4f | 4d 3e 0a 58 2e 50 0a 58 |nicom.CO|M>.X.P.X|
|00005130| 2e 69 66 20 74 20 5c 76 | 27 30 2e 33 76 27 5c 73 |.if t \v|'0.3v'\s|
|00005140| 2b 34 5c 28 63 6f 5c 73 | 2d 34 5c 76 27 2d 30 2e |+4\(co\s|-4\v'-0.|
|00005150| 33 76 27 0a 58 43 6f 70 | 79 72 69 67 68 74 20 31 |3v'.XCop|yright 1|
|00005160| 39 39 30 2d 31 39 39 33 | 2c 20 55 6e 69 63 6f 6d |990-1993|, Unicom|
|00005170| 20 53 79 73 74 65 6d 73 | 20 44 65 76 65 6c 6f 70 | Systems| Develop|
|00005180| 6d 65 6e 74 2c 20 49 6e | 63 2e 20 20 41 6c 6c 20 |ment, In|c. All |
|00005190| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 2e |rights r|eserved.|
|000051a0| 0a 58 2e 50 0a 58 59 6f | 75 20 61 72 65 20 67 72 |.X.P.XYo|u are gr|
|000051b0| 61 6e 74 65 64 20 61 20 | 6e 6f 6e 2d 65 78 63 6c |anted a |non-excl|
|000051c0| 75 73 69 76 65 20 6c 69 | 63 65 6e 73 65 20 74 6f |usive li|cense to|
|000051d0| 20 75 73 65 2c 20 6d 6f | 64 69 66 79 2c 20 63 6f | use, mo|dify, co|
|000051e0| 70 79 2c 20 61 6e 64 0a | 58 64 69 73 74 72 69 62 |py, and.|Xdistrib|
|000051f0| 75 74 65 20 74 68 69 73 | 20 73 6f 66 74 77 61 72 |ute this| softwar|
|00005200| 65 20 73 75 62 6a 65 63 | 74 20 74 6f 20 74 68 65 |e subjec|t to the|
|00005210| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 63 6f 6e 64 69 | followi|ng condi|
|00005220| 74 69 6f 6e 73 2e 20 20 | 59 6f 75 0a 58 6d 75 73 |tions. |You.Xmus|
|00005230| 74 20 65 6e 73 75 72 65 | 20 61 6c 6c 20 63 6f 70 |t ensure| all cop|
|00005240| 79 72 69 67 68 74 20 6e | 6f 74 69 63 65 73 20 61 |yright n|otices a|
|00005250| 6e 64 20 6c 69 63 65 6e | 73 65 20 6e 6f 74 69 63 |nd licen|se notic|
|00005260| 65 73 20 72 65 6d 61 69 | 6e 20 69 6e 74 61 63 74 |es remai|n intact|
|00005270| 0a 58 69 6e 20 74 68 65 | 20 63 6f 70 69 65 73 20 |.Xin the| copies |
|00005280| 79 6f 75 20 75 73 65 20 | 6f 72 20 64 69 73 74 72 |you use |or distr|
|00005290| 69 62 75 74 65 2e 20 20 | 41 6e 79 20 6d 6f 64 69 |ibute. |Any modi|
|000052a0| 66 69 63 61 74 69 6f 6e | 73 2c 20 6f 74 68 65 72 |fication|s, other|
|000052b0| 20 74 68 61 6e 0a 58 74 | 68 6f 73 65 20 69 6e 20 | than.Xt|hose in |
|000052c0| 74 68 65 20 61 72 65 61 | 73 20 63 6c 65 61 72 6c |the area|s clearl|
|000052d0| 79 20 72 65 73 65 72 76 | 65 64 20 66 6f 72 20 73 |y reserv|ed for s|
|000052e0| 69 74 65 2d 73 70 65 63 | 69 66 69 63 20 6d 6f 64 |ite-spec|ific mod|
|000052f0| 69 66 69 63 61 74 69 6f | 6e 73 2c 0a 58 6d 75 73 |ificatio|ns,.Xmus|
|00005300| 74 20 62 65 20 6d 61 72 | 6b 65 64 20 61 73 20 73 |t be mar|ked as s|
|00005310| 75 63 68 2e 20 20 54 68 | 69 73 20 73 6f 66 74 77 |uch. Th|is softw|
|00005320| 61 72 65 20 69 73 20 70 | 72 6f 76 69 64 65 64 20 |are is p|rovided |
|00005330| 22 61 73 20 69 73 22 2e | 20 20 4e 6f 0a 58 77 61 |"as is".| No.Xwa|
|00005340| 72 72 61 6e 74 69 65 73 | 20 68 61 76 65 20 62 65 |rranties| have be|
|00005350| 65 6e 20 65 78 70 72 65 | 73 73 65 64 20 6f 72 20 |en expre|ssed or |
|00005360| 69 6d 70 6c 69 65 64 2e | 20 20 53 69 6e 63 65 20 |implied.| Since |
|00005370| 74 68 69 73 20 6c 69 63 | 65 6e 73 65 20 77 61 73 |this lic|ense was|
|00005380| 0a 58 70 72 6f 76 69 64 | 65 64 20 74 6f 20 79 6f |.Xprovid|ed to yo|
|00005390| 75 20 61 74 20 6e 6f 20 | 63 68 61 72 67 65 2c 20 |u at no |charge, |
|000053a0| 79 6f 75 20 6d 75 73 74 | 20 61 73 73 75 6d 65 20 |you must| assume |
|000053b0| 74 68 65 20 65 6e 74 69 | 72 65 20 72 69 73 6b 20 |the enti|re risk |
|000053c0| 61 6e 64 0a 58 6c 69 61 | 62 69 6c 69 74 79 20 66 |and.Xlia|bility f|
|000053d0| 6f 72 20 61 6c 6c 20 75 | 73 65 20 6f 66 20 74 68 |or all u|se of th|
|000053e0| 69 73 20 73 6f 66 74 77 | 61 72 65 2e 0a 45 4e 44 |is softw|are..END|
|000053f0| 5f 4f 46 5f 46 49 4c 45 | 0a 20 20 69 66 20 74 65 |_OF_FILE|. if te|
|00005400| 73 74 20 39 38 34 34 20 | 2d 6e 65 20 60 77 63 20 |st 9844 |-ne `wc |
|00005410| 2d 63 20 3c 27 64 75 2e | 31 27 60 3b 20 74 68 65 |-c <'du.|1'`; the|
|00005420| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00005430| 20 5c 22 27 64 75 2e 31 | 27 5c 22 20 75 6e 70 61 | \"'du.1|'\" unpa|
|00005440| 63 6b 65 64 20 77 69 74 | 68 20 77 72 6f 6e 67 20 |cked wit|h wrong |
|00005450| 73 69 7a 65 21 0a 20 20 | 66 69 0a 20 20 23 20 65 |size!. |fi. # e|
|00005460| 6e 64 20 6f 66 20 27 64 | 75 2e 31 27 0a 66 69 0a |nd of 'd|u.1'.fi.|
|00005470| 69 66 20 74 65 73 74 20 | 2d 66 20 27 64 75 65 6e |if test |-f 'duen|
|00005480| 74 72 79 2e 63 27 20 2d | 61 20 22 24 7b 31 7d 22 |try.c' -|a "${1}"|
|00005490| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|000054a0| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|000054b0| 6c 6c 20 6e 6f 74 20 63 | 6c 6f 62 62 65 72 20 65 |ll not c|lobber e|
|000054c0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 27 |xisting |file \"'|
|000054d0| 64 75 65 6e 74 72 79 2e | 63 27 5c 22 0a 65 6c 73 |duentry.|c'\".els|
|000054e0| 65 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 45 |e. echo| shar: E|
|000054f0| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 64 75 65 |xtractin|g \"'due|
|00005500| 6e 74 72 79 2e 63 27 5c | 22 20 5c 28 31 30 32 39 |ntry.c'\|" \(1029|
|00005510| 32 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 20 |2 charac|ters\). |
|00005520| 20 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 | sed "s/|^X//" >'|
|00005530| 64 75 65 6e 74 72 79 2e | 63 27 20 3c 3c 27 45 4e |duentry.|c' <<'EN|
|00005540| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 23 69 66 6e |D_OF_FIL|E'.X#ifn|
|00005550| 64 65 66 20 6c 69 6e 74 | 0a 58 73 74 61 74 69 63 |def lint|.Xstatic|
|00005560| 20 63 68 61 72 20 53 43 | 43 53 49 44 5b 5d 20 3d | char SC|CSID[] =|
|00005570| 20 22 40 28 23 29 20 64 | 75 65 6e 74 72 79 2e 63 | "@(#) d|uentry.c|
|00005580| 20 31 2e 31 38 20 39 33 | 2f 30 38 2f 31 38 20 30 | 1.18 93|/08/18 0|
|00005590| 30 3a 30 39 3a 30 33 22 | 3b 0a 58 23 65 6e 64 69 |0:09:03"|;.X#endi|
|000055a0| 66 0a 58 0a 58 2f 2a 0a | 58 20 2a 20 22 64 75 22 |f.X.X/*.|X * "du"|
|000055b0| 20 65 6e 68 61 6e 63 65 | 64 20 64 69 73 6b 20 75 | enhance|d disk u|
|000055c0| 73 61 67 65 20 73 75 6d | 6d 61 72 79 20 2d 20 76 |sage sum|mary - v|
|000055d0| 65 72 73 69 6f 6e 20 32 | 2e 0a 58 20 2a 0a 58 20 |ersion 2|..X *.X |
|000055e0| 2a 20 43 6f 70 79 72 69 | 67 68 74 20 31 39 39 30 |* Copyri|ght 1990|
|000055f0| 2d 31 39 39 33 2c 20 55 | 6e 69 63 6f 6d 20 53 79 |-1993, U|nicom Sy|
|00005600| 73 74 65 6d 73 20 44 65 | 76 65 6c 6f 70 6d 65 6e |stems De|velopmen|
|00005610| 74 2e 20 20 41 6c 6c 20 | 72 69 67 68 74 73 20 72 |t. All |rights r|
|00005620| 65 73 65 72 76 65 64 2e | 0a 58 20 2a 20 53 65 65 |eserved.|.X * See|
|00005630| 20 61 63 63 6f 6d 70 61 | 6e 79 69 6e 67 20 52 45 | accompa|nying RE|
|00005640| 41 44 4d 45 20 66 69 6c | 65 20 66 6f 72 20 74 65 |ADME fil|e for te|
|00005650| 72 6d 73 20 6f 66 20 64 | 69 73 74 72 69 62 75 74 |rms of d|istribut|
|00005660| 69 6f 6e 20 61 6e 64 20 | 75 73 65 2e 0a 58 20 2a |ion and |use..X *|
|00005670| 0a 58 20 2a 20 45 64 69 | 74 20 61 74 20 74 61 62 |.X * Edi|t at tab|
|00005680| 73 74 6f 70 73 3d 34 2e | 0a 58 20 2a 2f 0a 58 0a |stops=4.|.X */.X.|
|00005690| 58 23 69 6e 63 6c 75 64 | 65 20 22 63 6f 6e 66 69 |X#includ|e "confi|
|000056a0| 67 2e 68 22 0a 58 23 69 | 6e 63 6c 75 64 65 20 3c |g.h".X#i|nclude <|
|000056b0| 73 74 64 69 6f 2e 68 3e | 0a 58 23 69 6e 63 6c 75 |stdio.h>|.X#inclu|
|000056c0| 64 65 20 3c 73 74 72 69 | 6e 67 2e 68 3e 0a 58 23 |de <stri|ng.h>.X#|
|000056d0| 69 6e 63 6c 75 64 65 20 | 3c 73 74 64 6c 69 62 2e |include |<stdlib.|
|000056e0| 68 3e 0a 58 23 69 66 64 | 65 66 20 55 53 45 5f 55 |h>.X#ifd|ef USE_U|
|000056f0| 4e 49 53 54 44 0a 58 23 | 20 69 6e 63 6c 75 64 65 |NISTD.X#| include|
|00005700| 20 3c 75 6e 69 73 74 64 | 2e 68 3e 0a 58 23 65 6e | <unistd|.h>.X#en|
|00005710| 64 69 66 0a 58 23 69 6e | 63 6c 75 64 65 20 3c 73 |dif.X#in|clude <s|
|00005720| 79 73 2f 74 79 70 65 73 | 2e 68 3e 0a 58 23 69 6e |ys/types|.h>.X#in|
|00005730| 63 6c 75 64 65 20 3c 73 | 79 73 2f 73 74 61 74 2e |clude <s|ys/stat.|
|00005740| 68 3e 0a 58 23 69 6e 63 | 6c 75 64 65 20 22 64 75 |h>.X#inc|lude "du|
|00005750| 2e 68 22 0a 58 0a 58 23 | 69 66 64 65 66 20 55 53 |.h".X.X#|ifdef US|
|00005760| 45 5f 44 49 52 5f 44 49 | 52 45 4e 54 0a 58 23 09 |E_DIR_DI|RENT.X#.|
|00005770| 69 6e 63 6c 75 64 65 20 | 3c 64 69 72 65 6e 74 2e |include |<dirent.|
|00005780| 68 3e 0a 58 23 65 6e 64 | 69 66 0a 58 23 69 66 64 |h>.X#end|if.X#ifd|
|00005790| 65 66 20 55 53 45 5f 44 | 49 52 5f 53 59 53 4e 44 |ef USE_D|IR_SYSND|
|000057a0| 49 52 0a 58 23 09 69 6e | 63 6c 75 64 65 20 3c 73 |IR.X#.in|clude <s|
|000057b0| 79 73 2f 6e 64 69 72 2e | 68 3e 0a 58 23 09 64 65 |ys/ndir.|h>.X#.de|
|000057c0| 66 69 6e 65 20 64 69 72 | 65 6e 74 20 64 69 72 65 |fine dir|ent dire|
|000057d0| 63 74 0a 58 23 65 6e 64 | 69 66 0a 58 23 69 66 64 |ct.X#end|if.X#ifd|
|000057e0| 65 66 20 55 53 45 5f 44 | 49 52 5f 53 59 53 44 49 |ef USE_D|IR_SYSDI|
|000057f0| 52 0a 58 23 09 69 6e 63 | 6c 75 64 65 20 3c 73 79 |R.X#.inc|lude <sy|
|00005800| 73 2f 64 69 72 2e 68 3e | 0a 58 23 09 64 65 66 69 |s/dir.h>|.X#.defi|
|00005810| 6e 65 20 64 69 72 65 6e | 74 20 64 69 72 65 63 74 |ne diren|t direct|
|00005820| 0a 58 23 65 6e 64 69 66 | 0a 58 0a 58 23 69 66 6e |.X#endif|.X.X#ifn|
|00005830| 64 65 66 20 55 53 45 5f | 53 59 4d 4c 49 4e 4b 53 |def USE_|SYMLINKS|
|00005840| 0a 58 23 09 64 65 66 69 | 6e 65 20 6c 73 74 61 74 |.X#.defi|ne lstat|
|00005850| 20 73 74 61 74 0a 58 23 | 65 6e 64 69 66 0a 58 0a | stat.X#|endif.X.|
|00005860| 58 0a 58 2f 2a 0a 58 20 | 2a 20 44 65 74 65 72 6d |X.X/*.X |* Determ|
|00005870| 69 6e 65 20 6d 61 78 69 | 6d 75 6d 20 70 61 74 68 |ine maxi|mum path|
|00005880| 6c 65 6e 67 74 68 20 6f | 66 20 61 6e 20 65 6e 74 |length o|f an ent|
|00005890| 72 79 20 6f 6e 20 74 68 | 65 20 66 69 6c 65 73 79 |ry on th|e filesy|
|000058a0| 73 74 65 6d 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |stem con|taining |
|000058b0| 22 66 69 6c 65 22 2e 0a | 58 20 2a 2f 0a 58 69 6e |"file"..|X */.Xin|
|000058c0| 74 20 6d 61 78 5f 70 61 | 74 68 5f 6c 65 6e 28 66 |t max_pa|th_len(f|
|000058d0| 6e 61 6d 65 29 0a 58 72 | 65 67 69 73 74 65 72 20 |name).Xr|egister |
|000058e0| 63 68 61 72 20 2a 66 6e | 61 6d 65 3b 0a 58 7b 0a |char *fn|ame;.X{.|
|000058f0| 58 23 69 66 64 65 66 20 | 55 53 45 5f 50 41 54 48 |X#ifdef |USE_PATH|
|00005900| 43 4f 4e 46 0a 58 09 72 | 65 67 69 73 74 65 72 20 |CONF.X.r|egister |
|00005910| 69 6e 74 20 6c 65 6e 3b | 0a 58 09 69 66 20 28 28 |int len;|.X.if ((|
|00005920| 6c 65 6e 20 3d 20 70 61 | 74 68 63 6f 6e 66 28 66 |len = pa|thconf(f|
|00005930| 6e 61 6d 65 2c 20 5f 50 | 43 5f 50 41 54 48 5f 4d |name, _P|C_PATH_M|
|00005940| 41 58 29 29 20 3e 20 30 | 29 0a 58 09 09 72 65 74 |AX)) > 0|).X..ret|
|00005950| 75 72 6e 20 6c 65 6e 3b | 0a 58 23 69 66 64 65 66 |urn len;|.X#ifdef|
|00005960| 20 6e 6f 74 64 65 66 0a | 58 09 65 72 72 6d 73 73 | notdef.|X.errmss|
|00005970| 67 28 45 52 52 5f 57 41 | 52 4e 2c 20 65 72 72 6e |g(ERR_WA|RN, errn|
|00005980| 6f 2c 20 22 63 6f 75 6c | 64 20 6e 6f 74 20 67 65 |o, "coul|d not ge|
|00005990| 74 20 6d 61 78 20 70 61 | 74 68 6e 61 6d 65 20 66 |t max pa|thname f|
|000059a0| 6f 72 20 5c 22 25 73 5c | 22 22 2c 20 66 6e 61 6d |or \"%s\|"", fnam|
|000059b0| 65 29 3b 0a 58 23 65 6e | 64 69 66 0a 58 23 65 6e |e);.X#en|dif.X#en|
|000059c0| 64 69 66 0a 58 0a 58 2f | 2a 0a 58 20 2a 20 49 66 |dif.X.X/|*.X * If|
|000059d0| 20 70 61 74 68 63 6f 6e | 66 28 29 20 69 73 20 6e | pathcon|f() is n|
|000059e0| 6f 74 20 61 76 61 69 6c | 61 62 6c 65 20 6f 72 20 |ot avail|able or |
|000059f0| 66 61 69 6c 73 2c 20 77 | 65 20 6e 65 65 64 20 74 |fails, w|e need t|
|00005a00| 6f 20 74 61 6b 65 20 61 | 20 73 74 61 62 2e 20 20 |o take a| stab. |
|00005a10| 49 66 0a 58 20 2a 20 74 | 68 65 20 50 4f 53 49 58 |If.X * t|he POSIX|
|00005a20| 20 50 41 54 48 5f 4d 41 | 58 20 70 61 72 61 6d 65 | PATH_MA|X parame|
|00005a30| 74 65 72 20 69 73 20 61 | 76 61 69 6c 61 62 6c 65 |ter is a|vailable|
|00005a40| 20 77 65 20 77 69 6c 6c | 20 75 73 65 20 74 68 61 | we will| use tha|
|00005a50| 74 2e 20 20 49 66 20 6e | 6f 74 2c 0a 58 20 2a 20 |t. If n|ot,.X * |
|00005a60| 77 65 20 77 69 6c 6c 20 | 74 72 79 20 74 6f 20 75 |we will |try to u|
|00005a70| 73 65 20 74 68 65 20 4d | 41 58 4e 41 4d 4c 45 4e |se the M|AXNAMLEN|
|00005a80| 20 74 68 61 74 20 73 68 | 6f 75 6c 64 20 62 65 20 | that sh|ould be |
|00005a90| 69 6e 20 77 68 61 74 65 | 76 65 72 20 68 65 61 64 |in whate|ver head|
|00005aa0| 65 72 0a 58 20 2a 20 66 | 69 6c 65 20 55 53 45 5f |er.X * f|ile USE_|
|00005ab0| 44 49 52 5f 58 58 58 58 | 20 70 75 6c 6c 65 64 20 |DIR_XXXX| pulled |
|00005ac0| 69 6e 2e 20 20 49 66 20 | 61 6c 6c 20 74 68 61 74 |in. If |all that|
|00005ad0| 20 66 61 69 6c 73 2c 20 | 77 65 27 6c 6c 20 6a 75 | fails, |we'll ju|
|00005ae0| 73 74 20 6d 61 6b 65 20 | 61 0a 58 20 2a 20 67 75 |st make |a.X * gu|
|00005af0| 65 73 73 20 6f 66 20 31 | 30 32 34 2e 20 20 4e 6f |ess of 1|024. No|
|00005b00| 74 65 20 74 68 61 74 20 | 77 65 20 64 6f 20 4e 4f |te that |we do NO|
|00005b10| 54 20 77 61 6e 74 20 74 | 6f 20 75 73 65 20 5f 50 |T want t|o use _P|
|00005b20| 4f 53 49 58 5f 50 41 54 | 48 5f 4d 41 58 2e 20 20 |OSIX_PAT|H_MAX. |
|00005b30| 54 68 61 74 0a 58 20 2a | 20 73 70 65 63 69 66 69 |That.X *| specifi|
|00005b40| 65 73 20 74 68 65 20 6d | 69 6e 69 6d 75 6d 20 76 |es the m|inimum v|
|00005b50| 61 6c 75 65 20 74 68 61 | 74 20 61 20 63 6f 6e 66 |alue tha|t a conf|
|00005b60| 6f 72 6d 61 6e 74 20 73 | 79 73 74 65 6d 20 6d 75 |ormant s|ystem mu|
|00005b70| 73 74 20 73 75 70 70 6f | 72 74 2e 0a 58 20 2a 2f |st suppo|rt..X */|
|00005b80| 0a 58 23 69 66 6e 64 65 | 66 20 50 41 54 48 5f 4d |.X#ifnde|f PATH_M|
|00005b90| 41 58 0a 58 23 20 69 66 | 64 65 66 20 4d 41 58 4e |AX.X# if|def MAXN|
|00005ba0| 41 4d 4c 45 4e 0a 58 23 | 20 20 64 65 66 69 6e 65 |AMLEN.X#| define|
|00005bb0| 20 50 41 54 48 5f 4d 41 | 58 20 4d 41 58 4e 41 4d | PATH_MA|X MAXNAM|
|00005bc0| 4c 45 4e 0a 58 23 20 65 | 6c 73 65 0a 58 23 20 20 |LEN.X# e|lse.X# |
|00005bd0| 64 65 66 69 6e 65 20 50 | 41 54 48 5f 4d 41 58 20 |define P|ATH_MAX |
|00005be0| 31 30 32 34 0a 58 23 20 | 65 6e 64 69 66 0a 58 23 |1024.X# |endif.X#|
|00005bf0| 65 6e 64 69 66 0a 58 09 | 72 65 74 75 72 6e 20 50 |endif.X.|return P|
|00005c00| 41 54 48 5f 4d 41 58 3b | 0a 58 7d 0a 58 0a 58 0a |ATH_MAX;|.X}.X.X.|
|00005c10| 58 2f 2a 0a 58 20 2a 20 | 64 75 5f 65 6e 74 72 79 |X/*.X * |du_entry|
|00005c20| 20 2d 20 49 6e 69 74 69 | 61 74 65 20 61 20 64 69 | - Initi|ate a di|
|00005c30| 73 6b 20 75 73 61 67 65 | 20 72 65 70 6f 72 74 20 |sk usage| report |
|00005c40| 66 6f 72 20 61 20 73 70 | 65 63 69 66 69 65 64 20 |for a sp|ecified |
|00005c50| 66 69 6c 65 73 79 73 74 | 65 6d 20 65 6e 74 72 79 |filesyst|em entry|
|00005c60| 2e 0a 58 20 2a 0a 58 20 | 2a 20 54 68 69 73 20 72 |..X *.X |* This r|
|00005c70| 6f 75 74 69 6e 65 20 69 | 73 20 63 61 6c 6c 65 64 |outine i|s called|
|00005c80| 20 6f 6e 63 65 20 70 65 | 72 20 63 6f 6d 6d 61 6e | once pe|r comman|
|00005c90| 64 20 6c 69 6e 65 20 61 | 72 67 75 6d 65 6e 74 20 |d line a|rgument |
|00005ca0| 74 6f 20 73 65 74 75 70 | 20 61 20 64 69 73 6b 0a |to setup| a disk.|
|00005cb0| 58 20 2a 20 75 73 61 67 | 65 20 73 63 61 6e 2e 20 |X * usag|e scan. |
|00005cc0| 20 54 68 69 73 20 72 6f | 75 74 69 6e 65 20 70 72 | This ro|utine pr|
|00005cd0| 65 70 61 72 65 73 20 74 | 6f 20 63 61 6c 6c 20 22 |epares t|o call "|
|00005ce0| 64 75 5f 64 69 72 28 29 | 22 20 72 65 63 75 72 73 |du_dir()|" recurs|
|00005cf0| 69 76 65 6c 79 20 74 6f | 0a 58 20 2a 20 73 63 61 |ively to|.X * sca|
|00005d00| 6e 20 74 68 72 6f 75 67 | 68 20 61 20 64 69 72 65 |n throug|h a dire|
|00005d10| 63 74 6f 72 79 20 74 6f | 20 61 63 63 75 6d 75 6c |ctory to| accumul|
|00005d20| 61 74 65 20 69 74 73 20 | 75 73 61 67 65 2e 0a 58 |ate its |usage..X|
|00005d30| 20 2a 2f 0a 58 76 6f 69 | 64 20 64 75 5f 65 6e 74 | */.Xvoi|d du_ent|
|00005d40| 72 79 28 65 6e 74 72 79 | 2c 20 65 6e 74 5f 75 73 |ry(entry|, ent_us|
|00005d50| 61 67 65 29 0a 58 63 68 | 61 72 20 2a 65 6e 74 72 |age).Xch|ar *entr|
|00005d60| 79 3b 09 09 09 09 09 2f | 2a 20 70 61 74 68 6e 61 |y;...../|* pathna|
|00005d70| 6d 65 20 6f 66 20 74 68 | 65 20 65 6e 74 72 79 20 |me of th|e entry |
|00005d80| 74 6f 20 63 68 65 63 6b | 09 09 2a 2f 0a 58 73 74 |to check|..*/.Xst|
|00005d90| 72 75 63 74 20 64 75 73 | 61 67 65 20 2a 65 6e 74 |ruct dus|age *ent|
|00005da0| 5f 75 73 61 67 65 3b 09 | 09 2f 2a 20 73 70 61 63 |_usage;.|./* spac|
|00005db0| 65 20 69 6e 20 77 68 69 | 63 68 20 74 6f 20 72 65 |e in whi|ch to re|
|00005dc0| 74 75 72 6e 20 64 69 73 | 6b 20 75 73 61 67 65 09 |turn dis|k usage.|
|00005dd0| 2a 2f 0a 58 7b 0a 58 09 | 73 74 72 75 63 74 20 73 |*/.X{.X.|struct s|
|00005de0| 74 61 74 20 73 62 75 66 | 3b 0a 58 09 73 74 72 75 |tat sbuf|;.X.stru|
|00005df0| 63 74 20 66 73 69 6e 66 | 6f 20 2a 66 73 69 6e 66 |ct fsinf|o *fsinf|
|00005e00| 6f 3b 0a 58 09 73 74 61 | 74 69 63 20 63 68 61 72 |o;.X.sta|tic char|
|00005e10| 20 2a 63 75 72 72 5f 64 | 69 72 20 3d 20 4e 55 4c | *curr_d|ir = NUL|
|00005e20| 4c 3b 0a 58 0a 58 23 69 | 66 64 65 66 20 54 49 4d |L;.X.X#i|fdef TIM|
|00005e30| 45 4f 55 54 0a 58 09 61 | 6c 61 72 6d 28 54 49 4d |EOUT.X.a|larm(TIM|
|00005e40| 45 4f 55 54 29 3b 0a 58 | 23 65 6e 64 69 66 0a 58 |EOUT);.X|#endif.X|
|00005e50| 0a 58 09 2f 2a 0a 58 09 | 20 2a 20 47 65 74 20 74 |.X./*.X.| * Get t|
|00005e60| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |he infor|mation o|
|00005e70| 6e 20 74 68 69 73 20 65 | 6e 74 72 79 2e 0a 58 09 |n this e|ntry..X.|
|00005e80| 20 2a 2f 0a 58 09 69 66 | 20 28 6c 73 74 61 74 28 | */.X.if| (lstat(|
|00005e90| 65 6e 74 72 79 2c 20 26 | 73 62 75 66 29 20 21 3d |entry, &|sbuf) !=|
|00005ea0| 20 30 29 20 7b 0a 58 09 | 09 65 72 72 6d 73 73 67 | 0) {.X.|.errmssg|
|00005eb0| 28 45 52 52 5f 57 41 52 | 4e 2c 20 65 72 72 6e 6f |(ERR_WAR|N, errno|
|00005ec0| 2c 20 22 63 6f 75 6c 64 | 20 6e 6f 74 20 73 74 61 |, "could| not sta|
|00005ed0| 74 20 5c 22 25 73 5c 22 | 22 2c 20 65 6e 74 72 79 |t \"%s\"|", entry|
|00005ee0| 29 3b 0a 58 09 09 72 65 | 74 75 72 6e 3b 0a 58 09 |);.X..re|turn;.X.|
|00005ef0| 7d 0a 58 09 69 66 20 28 | 28 66 73 69 6e 66 6f 20 |}.X.if (|(fsinfo |
|00005f00| 3d 20 66 73 5f 67 65 74 | 69 6e 66 6f 28 26 73 62 |= fs_get|info(&sb|
|00005f10| 75 66 29 29 20 3d 3d 20 | 4e 55 4c 4c 29 20 7b 0a |uf)) == |NULL) {.|
|00005f20| 58 09 09 65 72 72 6d 73 | 73 67 28 45 52 52 5f 57 |X..errms|sg(ERR_W|
|00005f30| 41 52 4e 2c 20 65 72 72 | 6e 6f 2c 0a 58 09 09 09 |ARN, err|no,.X...|
|00005f40| 22 63 6f 75 6c 64 20 6e | 6f 74 20 67 65 74 20 66 |"could n|ot get f|
|00005f50| 69 6c 65 73 79 73 74 65 | 6d 20 69 6e 66 6f 20 66 |ilesyste|m info f|
|00005f60| 6f 72 20 5c 22 25 73 5c | 22 22 2c 20 65 6e 74 72 |or \"%s\|"", entr|
|00005f70| 79 29 3b 0a 58 09 09 72 | 65 74 75 72 6e 3b 0a 58 |y);.X..r|eturn;.X|
|00005f80| 09 7d 0a 58 0a 58 09 2f | 2a 0a 58 09 20 2a 20 49 |.}.X.X./|*.X. * I|
|00005f90| 66 20 74 68 69 73 20 69 | 73 6e 27 74 20 61 20 64 |f this i|sn't a d|
|00005fa0| 69 72 65 63 74 6f 72 79 | 20 74 68 65 6e 20 73 69 |irectory| then si|
|00005fb0| 6d 70 6c 79 20 67 65 74 | 20 69 74 73 20 73 69 7a |mply get| its siz|
|00005fc0| 65 2e 20 20 4e 6f 74 65 | 20 74 68 61 74 20 77 65 |e. Note| that we|
|00005fd0| 0a 58 09 20 2a 20 77 6f | 6e 27 74 20 73 61 79 20 |.X. * wo|n't say |
|00005fe0| 77 68 61 74 20 73 69 7a | 65 20 69 73 20 75 6e 6c |what siz|e is unl|
|00005ff0| 65 73 73 20 22 2d 73 22 | 20 6f 72 20 22 2d 61 22 |ess "-s"| or "-a"|
|00006000| 20 77 61 73 20 73 70 65 | 63 69 66 69 65 64 2e 20 | was spe|cified. |
|00006010| 20 4b 69 6e 64 20 6f 66 | 0a 58 09 20 2a 20 73 69 | Kind of|.X. * si|
|00006020| 6c 6c 79 2c 20 62 75 74 | 20 74 68 61 74 27 73 20 |lly, but| that's |
|00006030| 64 6f 63 75 6d 65 6e 74 | 65 64 20 62 65 68 61 76 |document|ed behav|
|00006040| 69 6f 75 72 2e 0a 58 09 | 20 2a 2f 0a 58 09 69 66 |iour..X.| */.X.if|
|00006050| 20 28 21 53 5f 49 53 44 | 49 52 28 73 62 75 66 2e | (!S_ISD|IR(sbuf.|
|00006060| 73 74 5f 6d 6f 64 65 29 | 29 20 7b 0a 58 09 09 73 |st_mode)|) {.X..s|
|00006070| 65 74 5f 75 73 61 67 65 | 28 65 6e 74 5f 75 73 61 |et_usage|(ent_usa|
|00006080| 67 65 2c 20 73 62 75 66 | 2e 73 74 5f 6d 74 69 6d |ge, sbuf|.st_mtim|
|00006090| 65 2c 20 66 73 5f 6e 75 | 6d 62 6c 6f 63 6b 73 28 |e, fs_nu|mblocks(|
|000060a0| 66 73 69 6e 66 6f 2c 20 | 26 73 62 75 66 29 29 3b |fsinfo, |&sbuf));|
|000060b0| 0a 58 09 09 69 66 20 28 | 48 61 6e 64 6c 65 5f 6f |.X..if (|Handle_o|
|000060c0| 75 74 70 75 74 20 21 3d | 20 50 52 5f 44 49 52 53 |utput !=| PR_DIRS|
|000060d0| 5f 4f 4e 4c 59 29 0a 58 | 09 09 09 70 72 69 6e 74 |_ONLY).X|...print|
|000060e0| 5f 75 73 61 67 65 28 65 | 6e 74 72 79 2c 20 65 6e |_usage(e|ntry, en|
|000060f0| 74 5f 75 73 61 67 65 29 | 3b 0a 58 09 09 72 65 74 |t_usage)|;.X..ret|
|00006100| 75 72 6e 3b 0a 58 09 7d | 0a 58 0a 58 23 69 66 64 |urn;.X.}|.X.X#ifd|
|00006110| 65 66 20 4f 42 53 4f 4c | 45 54 45 4f 50 54 0a 58 |ef OBSOL|ETEOPT.X|
|00006120| 09 2f 2a 0a 58 09 20 2a | 20 49 66 20 77 65 20 61 |./*.X. *| If we a|
|00006130| 72 65 6e 27 74 20 73 75 | 70 70 6f 73 65 64 20 74 |ren't su|pposed t|
|00006140| 6f 20 64 65 73 63 65 6e | 64 20 69 6e 74 6f 20 64 |o descen|d into d|
|00006150| 69 72 65 63 74 6f 72 69 | 65 73 20 74 68 65 6e 20 |irectori|es then |
|00006160| 6a 75 73 74 20 67 65 74 | 0a 58 09 20 2a 20 69 74 |just get|.X. * it|
|00006170| 27 73 20 73 69 7a 65 2e | 0a 58 09 20 2a 2f 0a 58 |'s size.|.X. */.X|
|00006180| 09 69 66 20 28 21 44 6f | 5f 64 65 73 63 65 6e 64 |.if (!Do|_descend|
|00006190| 5f 64 69 72 73 29 20 7b | 0a 58 09 09 73 65 74 5f |_dirs) {|.X..set_|
|000061a0| 75 73 61 67 65 28 65 6e | 74 5f 75 73 61 67 65 2c |usage(en|t_usage,|
|000061b0| 20 73 62 75 66 2e 73 74 | 5f 6d 74 69 6d 65 2c 20 | sbuf.st|_mtime, |
|000061c0| 66 73 5f 6e 75 6d 62 6c | 6f 63 6b 73 28 66 73 69 |fs_numbl|ocks(fsi|
|000061d0| 6e 66 6f 2c 20 26 73 62 | 75 66 29 29 3b 0a 58 09 |nfo, &sb|uf));.X.|
|000061e0| 09 70 72 69 6e 74 5f 75 | 73 61 67 65 28 65 6e 74 |.print_u|sage(ent|
|000061f0| 72 79 2c 20 65 6e 74 5f | 75 73 61 67 65 29 3b 0a |ry, ent_|usage);.|
|00006200| 58 09 09 72 65 74 75 72 | 6e 3b 0a 58 09 7d 0a 58 |X..retur|n;.X.}.X|
|00006210| 23 65 6e 64 69 66 0a 58 | 0a 58 09 2f 2a 0a 58 09 |#endif.X|.X./*.X.|
|00006220| 20 2a 20 57 65 20 61 72 | 65 20 61 62 6f 75 74 20 | * We ar|e about |
|00006230| 74 6f 20 64 65 73 63 65 | 6e 64 20 64 6f 77 6e 20 |to desce|nd down |
|00006240| 74 68 69 73 20 64 69 72 | 65 63 74 6f 72 79 20 65 |this dir|ectory e|
|00006250| 6e 74 72 79 2e 20 20 57 | 65 20 6e 65 65 64 20 74 |ntry. W|e need t|
|00006260| 6f 0a 58 09 20 2a 20 6b | 6e 6f 77 20 77 68 65 72 |o.X. * k|now wher|
|00006270| 65 20 77 65 20 73 74 61 | 72 74 65 64 20 6f 75 74 |e we sta|rted out|
|00006280| 20 73 6f 20 74 68 61 74 | 20 77 65 20 63 61 6e 20 | so that| we can |
|00006290| 72 65 74 75 72 6e 20 77 | 68 65 6e 20 64 6f 6e 65 |return w|hen done|
|000062a0| 2e 0a 58 09 20 2a 2f 0a | 58 09 69 66 20 28 63 75 |..X. */.|X.if (cu|
|000062b0| 72 72 5f 64 69 72 20 3d | 3d 20 4e 55 4c 4c 29 20 |rr_dir =|= NULL) |
|000062c0| 7b 0a 58 09 09 69 6e 74 | 20 6c 65 6e 3b 0a 58 09 |{.X..int| len;.X.|
|000062d0| 09 65 78 74 65 72 6e 20 | 63 68 61 72 20 2a 67 65 |.extern |char *ge|
|000062e0| 74 63 77 64 28 29 3b 0a | 58 09 09 6c 65 6e 20 3d |tcwd();.|X..len =|
|000062f0| 20 6d 61 78 5f 70 61 74 | 68 5f 6c 65 6e 28 22 2e | max_pat|h_len(".|
|00006300| 22 29 20 2b 20 32 3b 20 | 2f 2a 20 67 65 74 63 77 |") + 2; |/* getcw|
|00006310| 64 28 29 20 77 61 6e 74 | 73 20 74 77 6f 20 65 78 |d() want|s two ex|
|00006320| 74 72 61 20 62 79 74 65 | 73 20 2a 2f 0a 58 09 09 |tra byte|s */.X..|
|00006330| 63 75 72 72 5f 64 69 72 | 20 3d 20 28 63 68 61 72 |curr_dir| = (char|
|00006340| 20 2a 29 20 78 6d 61 6c | 6c 6f 63 28 28 75 6e 73 | *) xmal|loc((uns|
|00006350| 69 67 6e 65 64 29 6c 65 | 6e 29 3b 0a 58 09 09 69 |igned)le|n);.X..i|
|00006360| 66 20 28 65 72 72 6e 6f | 20 3d 20 30 2c 20 67 65 |f (errno| = 0, ge|
|00006370| 74 63 77 64 28 63 75 72 | 72 5f 64 69 72 2c 20 6c |tcwd(cur|r_dir, l|
|00006380| 65 6e 29 20 3d 3d 20 4e | 55 4c 4c 29 0a 58 09 09 |en) == N|ULL).X..|
|00006390| 09 65 72 72 6d 73 73 67 | 28 45 52 52 5f 41 42 4f |.errmssg|(ERR_ABO|
|000063a0| 52 54 2c 20 65 72 72 6e | 6f 2c 0a 58 09 09 09 09 |RT, errn|o,.X....|
|000063b0| 22 63 6f 75 6c 64 20 6e | 6f 74 20 67 65 74 20 63 |"could n|ot get c|
|000063c0| 75 72 72 65 6e 74 20 77 | 6f 72 6b 69 6e 67 20 64 |urrent w|orking d|
|000063d0| 69 72 65 63 74 6f 72 79 | 22 29 3b 0a 58 09 7d 0a |irectory|");.X.}.|
|000063e0| 58 0a 58 09 2f 2a 0a 58 | 09 20 2a 20 57 65 20 6e |X.X./*.X|. * We n|
|000063f0| 65 65 64 20 74 6f 20 69 | 6e 69 74 69 61 74 65 20 |eed to i|nitiate |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.