Browse Source

Plan 9 from Bell Labs 2004-07-10

David du Colombier 17 years ago
parent
commit
af253769e6

+ 0 - 0
sys/src/cmd/usb/print/usbprint → 386/bin/usb/usbprinter


+ 98 - 93
dist/replica/_plan9.db

@@ -1,25 +1,25 @@
 386 - 20000000775 sys sys 1010957353 0
 386/9load - 775 sys sys 1088798345 188040
-386/9loaddebug - 775 sys sys 1089084070 271141
+386/9loaddebug - 775 sys sys 1089402462 270242
 386/9loadlite - 775 sys sys 1088798346 125004
-386/9loadlitedebug - 775 sys sys 1089084070 184248
-386/9pc - 775 sys sys 1089084073 1812596
+386/9loadlitedebug - 775 sys sys 1089402462 183654
+386/9pc - 775 sys sys 1089402465 1808607
 386/9pc.gz - 664 sys sys 1077049336 635727
-386/9pccpu - 775 sys sys 1089084075 1466770
+386/9pccpu - 775 sys sys 1089402468 1464770
 386/9pccpu.gz - 664 sys sys 1077049387 519909
-386/9pcdisk - 775 sys sys 1089084079 2015046
+386/9pcdisk - 775 sys sys 1089402472 2011213
 386/9pcdisk.gz - 664 sys sys 1040006345 703136
-386/9pcf - 775 sys sys 1089084083 2347033
+386/9pcf - 775 sys sys 1089402477 2342976
 386/9pcf.gz - 664 sys sys 1077049490 872650
 386/9pxeload - 775 sys sys 1088798346 188040
 386/_9pcdisk.gz - 664 sys sys 1039764191 695837
 386/bin - 20000000775 sys sys 1018897690 0
-386/bin/8a - 775 sys sys 1085076970 112621
-386/bin/8c - 775 sys sys 1087527915 341009
-386/bin/8l - 775 sys sys 1087527915 106966
+386/bin/8a - 775 sys sys 1089397305 112804
+386/bin/8c - 775 sys sys 1089397306 357675
+386/bin/8l - 775 sys sys 1089397306 114875
 386/bin/9660srv - 775 sys sys 1085076971 101995
 386/bin/aan - 775 sys sys 1085076971 128820
-386/bin/acid - 775 sys sys 1088739242 371928
+386/bin/acid - 775 sys sys 1089397307 353429
 386/bin/acme - 775 sys sys 1086836655 424880
 386/bin/ape - 20000000775 sys sys 1016944144 0
 386/bin/ape/basename - 775 sys sys 1087442501 132681
@@ -38,8 +38,8 @@
 386/bin/ape/tar - 775 sys sys 1085076974 59875
 386/bin/ape/uname - 775 sys sys 1087442505 132510
 386/bin/aquarela - 775 sys sys 1064598027 319170
-386/bin/ar - 775 sys sys 1085076974 109700
-386/bin/archfs - 775 sys sys 1086923024 138783
+386/bin/ar - 775 sys sys 1089397307 105059
+386/bin/archfs - 775 sys sys 1089397307 138740
 386/bin/ascii - 775 sys sys 1085076975 62654
 386/bin/astro - 775 sys sys 1085076975 138775
 386/bin/auth - 20000000775 sys sys 1016920815 0
@@ -53,7 +53,7 @@
 386/bin/auth/debug - 775 sys sys 1085076979 98973
 386/bin/auth/disable - 775 sys sys 1020319057 146
 386/bin/auth/enable - 775 sys sys 1020319057 134
-386/bin/auth/factotum - 775 sys sys 1089257527 307569
+386/bin/auth/factotum - 775 sys sys 1089397308 307187
 386/bin/auth/fgui - 775 sys sys 1088823721 216032
 386/bin/auth/guard.srv - 775 sys sys 1089257528 140762
 386/bin/auth/iam - 775 sys sys 1085076981 50791
@@ -85,7 +85,7 @@
 386/bin/aux/accupoint - 775 sys sys 1085076988 40013
 386/bin/aux/acidleak - 775 sys sys 1088651143 67380
 386/bin/aux/antiword - 775 sys sys 1070288096 511478
-386/bin/aux/apm - 775 sys sys 1086923025 172135
+386/bin/aux/apm - 775 sys sys 1089397309 172056
 386/bin/aux/astarld - 775 sys sys 1085076989 62660
 386/bin/aux/cddb - 775 sys sys 1085076989 69917
 386/bin/aux/clog - 775 sys sys 1085076989 64403
@@ -94,11 +94,11 @@
 386/bin/aux/cropmarks - 775 sys sys 1020319062 1808
 386/bin/aux/data2s - 775 sys sys 1085076990 58501
 386/bin/aux/depend - 775 sys sys 1085076991 143665
-386/bin/aux/disksim - 775 sys sys 1086923026 142348
+386/bin/aux/disksim - 775 sys sys 1089397309 142309
 386/bin/aux/download - 775 sys sys 1087442506 176016
 386/bin/aux/faxreceive - 775 sys sys 1085076991 81973
 386/bin/aux/faxsend - 775 sys sys 1085076992 87471
-386/bin/aux/flashfs - 775 sys sys 1086923026 158321
+386/bin/aux/flashfs - 775 sys sys 1089397309 158247
 386/bin/aux/g3p9bit - 775 sys sys 1085076993 65307
 386/bin/aux/getflags - 775 sys sys 1085076993 43818
 386/bin/aux/grabit - 775 sys sys 1020319063 1244
@@ -115,12 +115,12 @@
 386/bin/aux/mklatinkbd - 775 sys sys 1085076996 62177
 386/bin/aux/mnihongo - 775 sys sys 1085076996 136568
 386/bin/aux/mouse - 775 sys sys 1085076997 43998
-386/bin/aux/ms2 - 775 sys sys 1085076997 81513
+386/bin/aux/ms2 - 775 sys sys 1089397310 79497
 386/bin/aux/mswordstrings - 775 sys sys 1085076997 63284
 386/bin/aux/na - 775 sys sys 1085076998 152641
 386/bin/aux/nfsmount - 775 sys sys 1085076999 232240
 386/bin/aux/nfsserver - 775 sys sys 1089257529 183491
-386/bin/aux/olefs - 775 sys sys 1086923026 141297
+386/bin/aux/olefs - 775 sys sys 1089397310 141220
 386/bin/aux/p9bitpost - 775 sys sys 1085077001 127286
 386/bin/aux/pcmcia - 775 sys sys 1085077001 46277
 386/bin/aux/pcnfsd - 775 sys sys 1089257529 127413
@@ -137,7 +137,7 @@
 386/bin/aux/sprog - 775 sys sys 1085077006 77357
 386/bin/aux/ssh_genkey - 775 sys sys 1045537957 194629
 386/bin/aux/sshserve - 775 sys sys 1085077007 251118
-386/bin/aux/stub - 775 sys sys 1086923027 132993
+386/bin/aux/stub - 775 sys sys 1089397310 132953
 386/bin/aux/tcpostio - 775 sys sys 1088263679 200192
 386/bin/aux/text2post - 775 sys sys 1085077008 76406
 386/bin/aux/timesync - 775 sys sys 1089257530 125409
@@ -169,7 +169,7 @@
 386/bin/calendar - 775 sys sys 1085077018 77283
 386/bin/cat - 775 sys sys 1085077018 37419
 386/bin/cb - 775 sys sys 1085077018 75486
-386/bin/cdfs - 775 sys sys 1086923027 158995
+386/bin/cdfs - 775 sys sys 1089397311 159049
 386/bin/cfs - 775 sys sys 1085077019 126008
 386/bin/chgrp - 775 sys sys 1085077019 57253
 386/bin/chmod - 775 sys sys 1085077020 60320
@@ -184,7 +184,7 @@
 386/bin/cpu - 775 sys sys 1085077026 135690
 386/bin/crop - 775 sys sys 1085077026 115107
 386/bin/date - 775 sys sys 1085077026 43216
-386/bin/db - 775 sys sys 1088739242 318226
+386/bin/db - 775 sys sys 1089397311 299837
 386/bin/dc - 775 sys sys 1085077028 96997
 386/bin/dd - 775 sys sys 1085077028 45322
 386/bin/deroff - 775 sys sys 1085077029 72249
@@ -215,12 +215,12 @@
 386/bin/echo - 775 sys sys 1085077038 55323
 386/bin/ed - 775 sys sys 1085077038 91066
 386/bin/eqn - 775 sys sys 1087442511 242933
-386/bin/execnet - 775 sys sys 1086923028 169987
+386/bin/execnet - 775 sys sys 1089397312 169857
 386/bin/exportfs - 775 sys sys 1085077040 159178
-386/bin/ext2srv - 775 sys sys 1086923028 172062
+386/bin/ext2srv - 775 sys sys 1089397312 171855
 386/bin/faces - 775 sys sys 1085077041 190555
 386/bin/factor - 775 sys sys 1085077042 59443
-386/bin/file - 775 sys sys 1085077042 114644
+386/bin/file - 775 sys sys 1089397313 108021
 386/bin/fmt - 775 sys sys 1085077043 63269
 386/bin/fortune - 775 sys sys 1085077045 65146
 386/bin/fossil - 20000000775 sys sys 1042005470 0
@@ -294,8 +294,8 @@
 386/bin/join - 775 sys sys 1085077074 114267
 386/bin/jpg - 775 sys sys 1085077075 172573
 386/bin/kbmap - 775 sys sys 1085077075 140375
-386/bin/kprof - 775 sys sys 1088739243 99266
-386/bin/ktrace - 775 sys sys 1088739243 113198
+386/bin/kprof - 775 sys sys 1089397313 97169
+386/bin/ktrace - 775 sys sys 1089397313 111120
 386/bin/lens - 775 sys sys 1085077076 122322
 386/bin/lex - 775 sys sys 1085077076 96662
 386/bin/lnfs - 775 sys sys 1085077076 97466
@@ -307,7 +307,7 @@
 386/bin/mkdir - 775 sys sys 1085077078 58975
 386/bin/mkpaqfs - 775 sys sys 1085077078 92648
 386/bin/mkstate - 775 sys sys 1085077078 61487
-386/bin/mntgen - 775 sys sys 1086923028 133463
+386/bin/mntgen - 775 sys sys 1089397313 133423
 386/bin/mount - 775 sys sys 1085077079 71022
 386/bin/ms2html - 775 sys sys 1085077079 101558
 386/bin/mtime - 775 sys sys 1085077080 57150
@@ -327,9 +327,9 @@
 386/bin/netkey - 775 sys sys 1085077084 70215
 386/bin/netstat - 775 sys sys 1089257538 82357
 386/bin/news - 775 sys sys 1085077084 69654
-386/bin/nfs - 775 sys sys 1086923029 313626
-386/bin/nm - 775 sys sys 1088739243 119534
-386/bin/nntpfs - 775 sys sys 1086923029 159031
+386/bin/nfs - 775 sys sys 1089397314 313346
+386/bin/nm - 775 sys sys 1089397314 112843
+386/bin/nntpfs - 775 sys sys 1089397315 158830
 386/bin/ns - 775 sys sys 1085077086 63226
 386/bin/p - 775 sys sys 1085077086 62948
 386/bin/page - 775 sys sys 1087442536 229962
@@ -346,13 +346,13 @@
 386/bin/ppm - 775 sys sys 1085077089 147104
 386/bin/pr - 775 sys sys 1085077089 75383
 386/bin/primes - 775 sys sys 1085077090 38765
-386/bin/prof - 775 sys sys 1088739243 104019
+386/bin/prof - 775 sys sys 1089397315 101912
 386/bin/proof - 775 sys sys 1085077090 175785
 386/bin/ps - 775 sys sys 1085077090 63831
 386/bin/pwd - 775 sys sys 1085077091 36869
 386/bin/ramfs - 775 sys sys 1085077091 86527
 386/bin/rc - 775 sys sys 1085077091 140758
-386/bin/rdbfs - 775 sys sys 1086923029 166495
+386/bin/rdbfs - 775 sys sys 1089397315 166357
 386/bin/read - 775 sys sys 1085077092 56014
 386/bin/replica - 20000000775 sys sys 1018321168 0
 386/bin/replica/applychanges - 775 sys sys 1085077092 96631
@@ -367,7 +367,6 @@
 386/bin/resample - 775 sys sys 1085077093 119901
 386/bin/rio - 775 sys sys 1085077094 306101
 386/bin/rm - 775 sys sys 1085077094 59308
-386/bin/rtstats - 775 sys sys 1071245345 177818
 386/bin/rx - 775 sys sys 1085077094 79893
 386/bin/sam - 775 sys sys 1085077095 155916
 386/bin/scat - 775 sys sys 1085077095 281706
@@ -376,12 +375,12 @@
 386/bin/sed - 775 sys sys 1085077096 87471
 386/bin/seq - 775 sys sys 1085077096 38178
 386/bin/sha1sum - 775 sys sys 1085077096 59101
-386/bin/size - 775 sys sys 1085077097 74163
+386/bin/size - 775 sys sys 1089397316 72148
 386/bin/sleep - 775 sys sys 1085077097 3413
-386/bin/snap - 775 sys sys 1088739244 285839
-386/bin/snapfs - 775 sys sys 1088739245 354671
+386/bin/snap - 775 sys sys 1089397316 267283
+386/bin/snapfs - 775 sys sys 1089397317 336137
 386/bin/sniffer - 775 sys sys 1038443185 99028
-386/bin/snoopy - 775 sys sys 1089257538 153188
+386/bin/snoopy - 775 sys sys 1089397318 155507
 386/bin/sort - 775 sys sys 1085077099 80213
 386/bin/spin - 775 sys sys 1088263704 654809
 386/bin/split - 775 sys sys 1085077099 73388
@@ -389,7 +388,7 @@
 386/bin/srvfs - 775 sys sys 1085077099 39578
 386/bin/srvold9p - 775 sys sys 1085077100 128139
 386/bin/ssh - 775 sys sys 1085077100 210573
-386/bin/sshnet - 775 sys sys 1086923031 281102
+386/bin/sshnet - 775 sys sys 1089397318 280607
 386/bin/stats - 775 sys sys 1087442538 188279
 386/bin/strings - 775 sys sys 1085077101 60090
 386/bin/strip - 775 sys sys 1085077101 59994
@@ -412,9 +411,9 @@
 386/bin/topng - 775 sys sys 1085077107 137101
 386/bin/toppm - 775 sys sys 1085077107 164405
 386/bin/touch - 775 sys sys 1085077107 61742
-386/bin/tprof - 775 sys sys 1088739246 271301
+386/bin/tprof - 775 sys sys 1089397319 252765
 386/bin/tr - 775 sys sys 1085077108 60009
-386/bin/trace - 775 sys sys 1085077109 178355
+386/bin/trace - 775 sys sys 1089397319 178457
 386/bin/troff - 775 sys sys 1088263705 357256
 386/bin/troff2html - 775 sys sys 1085077109 80041
 386/bin/tweak - 775 sys sys 1085077109 190079
@@ -429,10 +428,10 @@
 386/bin/upas/bayes - 775 sys sys 1064598344 70530
 386/bin/upas/deliver - 775 sys sys 1085077111 97777
 386/bin/upas/filter - 775 sys sys 1085077111 145300
-386/bin/upas/fs - 775 sys sys 1085077112 331594
+386/bin/upas/fs - 775 sys sys 1089397320 329933
 386/bin/upas/isspam - 775 sys sys 1064598349 38
 386/bin/upas/list - 775 sys sys 1085077112 80758
-386/bin/upas/marshal - 775 sys sys 1085077112 130335
+386/bin/upas/marshal - 775 sys sys 1089397321 130452
 386/bin/upas/ml - 775 sys sys 1085077113 121501
 386/bin/upas/mlmgr - 775 sys sys 1085077113 102185
 386/bin/upas/mlowner - 775 sys sys 1085077113 90099
@@ -457,6 +456,7 @@
 386/bin/usb/usbaudio - 775 sys sys 1085077118 172912
 386/bin/usb/usbd - 775 sys sys 1085077118 122174
 386/bin/usb/usbmouse - 775 sys sys 1085077119 138047
+386/bin/usb/usbprinter - 775 sys sys 1089408719 222
 386/bin/vac - 775 sys sys 1085077119 167554
 386/bin/vacfs - 775 sys sys 1085077120 172959
 386/bin/venti - 20000000775 sys sys 947360466 0
@@ -483,10 +483,10 @@
 386/bin/vt - 775 sys sys 1085077128 170967
 386/bin/vtdump - 775 sys sys 1085077129 157507
 386/bin/wc - 775 sys sys 1085077129 41133
-386/bin/webcookies - 775 sys sys 1086923031 159352
-386/bin/webfs - 775 sys sys 1086923032 347848
+386/bin/webcookies - 775 sys sys 1089397321 159466
+386/bin/webfs - 775 sys sys 1089408720 347691
 386/bin/webfsget - 775 sys sys 1085077130 39115
-386/bin/wikifs - 775 sys sys 1086923032 199190
+386/bin/wikifs - 775 sys sys 1089408720 199130
 386/bin/winwatch - 775 sys sys 1085077131 141299
 386/bin/xd - 775 sys sys 1085077131 61998
 386/bin/xmr - 775 sys sys 1085077131 40129
@@ -507,46 +507,46 @@
 386/lib - 20000000775 sys sys 1016826328 0
 386/lib/ape - 20000000775 sys sys 944969312 0
 386/lib/ape/lib9.a - 664 sys sys 1038237538 6378
-386/lib/ape/libap.a - 664 sys sys 1088263708 806956
-386/lib/ape/libbsd.a - 664 sys sys 1087442542 179270
-386/lib/ape/libdraw.a - 664 sys sys 1085077138 574254
-386/lib/ape/libfmt.a - 664 sys sys 1087442542 147014
+386/lib/ape/libap.a - 664 sys sys 1089397323 807334
+386/lib/ape/libbsd.a - 664 sys sys 1089397324 179308
+386/lib/ape/libdraw.a - 664 sys sys 1089397325 573896
+386/lib/ape/libfmt.a - 664 sys sys 1089402371 147204
 386/lib/ape/libl.a - 664 sys sys 1085077138 9420
 386/lib/ape/libnet.a - 664 sys sys 1073851263 16950
-386/lib/ape/libregexp.a - 664 sys sys 1085077139 47502
-386/lib/ape/libutf.a - 664 sys sys 1073851264 81308
-386/lib/ape/libv.a - 664 sys sys 1073851264 19648
-386/lib/lib9p.a - 664 sys sys 1086923033 79306
-386/lib/libString.a - 664 sys sys 1073851264 22204
-386/lib/libauth.a - 664 sys sys 1076990357 56134
-386/lib/libauthsrv.a - 664 sys sys 1085077139 33658
-386/lib/libbin.a - 664 sys sys 1073851265 2556
-386/lib/libbio.a - 664 sys sys 1085077139 26078
-386/lib/libc.a - 664 sys sys 1085077140 495150
-386/lib/libcomplete.a - 664 sys sys 1076817073 6312
-386/lib/libcontrol.a - 664 sys sys 1088823723 276608
-386/lib/libdisk.a - 664 sys sys 1085077141 42290
-386/lib/libdraw.a - 664 sys sys 1085077142 372618
-386/lib/libflate.a - 664 sys sys 1085077142 77178
-386/lib/libframe.a - 664 sys sys 1085077142 65640
-386/lib/libgeometry.a - 664 sys sys 1085077142 50702
-386/lib/libhtml.a - 664 sys sys 1085077143 220154
-386/lib/libhttpd.a - 664 sys sys 1085077143 99392
-386/lib/libip.a - 664 sys sys 1089257540 35264
-386/lib/libl.a - 664 sys sys 1085077143 5384
-386/lib/libmach.a - 664 sys sys 1089339723 733484
-386/lib/libmemdraw.a - 664 sys sys 1085077145 287684
-386/lib/libmemlayer.a - 664 sys sys 1085077145 47360
-386/lib/libmp.a - 664 sys sys 1085713909 80458
-386/lib/libndb.a - 664 sys sys 1085077146 60772
-386/lib/libplumb.a - 664 sys sys 1073851274 18876
-386/lib/libregexp.a - 664 sys sys 1085077146 37440
-386/lib/libscribble.a - 664 sys sys 1085077146 107474
-386/lib/libsec.a - 664 sys sys 1085077147 644960
-386/lib/libstdio.a - 664 sys sys 1085077148 126326
-386/lib/libsunrpc.a - 664 sys sys 1085077148 356238
-386/lib/libthread.a - 664 sys sys 1085077148 71450
-386/lib/libventi.a - 664 sys sys 1085077149 97598
+386/lib/ape/libregexp.a - 664 sys sys 1089402372 47670
+386/lib/ape/libutf.a - 664 sys sys 1089402372 81266
+386/lib/ape/libv.a - 664 sys sys 1089402372 19668
+386/lib/lib9p.a - 664 sys sys 1089397326 79300
+386/lib/libString.a - 664 sys sys 1089397326 22184
+386/lib/libauth.a - 664 sys sys 1089397326 56134
+386/lib/libauthsrv.a - 664 sys sys 1089397326 33522
+386/lib/libbin.a - 664 sys sys 1089397326 2534
+386/lib/libbio.a - 664 sys sys 1089397326 26078
+386/lib/libc.a - 664 sys sys 1089397327 495436
+386/lib/libcomplete.a - 664 sys sys 1089397327 6370
+386/lib/libcontrol.a - 664 sys sys 1089397328 274152
+386/lib/libdisk.a - 664 sys sys 1089397328 42234
+386/lib/libdraw.a - 664 sys sys 1089397329 372096
+386/lib/libflate.a - 664 sys sys 1089397329 76872
+386/lib/libframe.a - 664 sys sys 1089397329 66084
+386/lib/libgeometry.a - 664 sys sys 1089397329 50470
+386/lib/libhtml.a - 664 sys sys 1089397330 219972
+386/lib/libhttpd.a - 664 sys sys 1089397330 99488
+386/lib/libip.a - 664 sys sys 1089397330 35268
+386/lib/libl.a - 664 sys sys 1089397330 5384
+386/lib/libmach.a - 664 sys sys 1089397332 650354
+386/lib/libmemdraw.a - 664 sys sys 1089397332 283188
+386/lib/libmemlayer.a - 664 sys sys 1089397332 47360
+386/lib/libmp.a - 664 sys sys 1089397333 79532
+386/lib/libndb.a - 664 sys sys 1089397333 60666
+386/lib/libplumb.a - 664 sys sys 1089397333 18876
+386/lib/libregexp.a - 664 sys sys 1089397333 37464
+386/lib/libscribble.a - 664 sys sys 1089397333 107268
+386/lib/libsec.a - 664 sys sys 1089397335 643958
+386/lib/libstdio.a - 664 sys sys 1089397335 126382
+386/lib/libsunrpc.a - 664 sys sys 1089397336 355994
+386/lib/libthread.a - 664 sys sys 1089397336 71162
+386/lib/libventi.a - 664 sys sys 1089397336 97708
 386/mbr - 775 sys sys 1022125974 407
 386/mkfile - 664 sys sys 948141303 46
 386/pbs - 775 sys sys 1022125973 494
@@ -610,7 +610,7 @@ acme/bin/386/acd - 775 sys sys 1032232412 137068
 acme/bin/386/adict - 775 sys sys 1015011247 99806
 acme/bin/386/mkwnew - 775 sys sys 1085077134 38931
 acme/bin/386/spout - 775 sys sys 1085077134 59585
-acme/bin/386/win - 775 sys sys 1086923033 177119
+acme/bin/386/win - 775 sys sys 1089397322 176906
 acme/bin/Battery - 775 sys sys 1017457907 451
 acme/bin/Isspam - 775 sys sys 1063951165 235
 acme/bin/Perl - 775 sys sys 1015011260 230
@@ -851,7 +851,7 @@ dist/replica - 20000000775 sys sys 1019277119 0
 dist/replica/cd - 664 sys sys 1019527959 390
 dist/replica/kfs - 664 sys sys 1019527929 237
 dist/replica/network - 775 sys sys 1071079179 996
-dist/replica/plan9.proto - 664 sys sys 1079575451 2566
+dist/replica/plan9.proto - 664 sys sys 1089404586 2510
 env - 20000000775 sys sys 1015094872 0
 fd - 20000000775 sys sys 947958544 0
 lib - 20000000775 sys sys 958504315 0
@@ -5230,6 +5230,7 @@ sys/src/9/boot/doauthenticate.c - 664 sys sys 1015012529 2300
 sys/src/9/boot/embed.c - 664 sys sys 1039763720 1191
 sys/src/9/boot/getpasswd.c - 664 sys sys 957373373 654
 sys/src/9/boot/libboot.a8 - 664 sys sys 1089299185 63496
+sys/src/9/boot/libboot.aq - 664 sys sys 1089390072 78666
 sys/src/9/boot/local.c - 664 sys sys 1068835808 5355
 sys/src/9/boot/mkboot - 775 sys sys 1045504382 1935
 sys/src/9/boot/nopsession.c - 664 sys sys 957373374 843
@@ -5277,6 +5278,7 @@ sys/src/9/mtx/dat.h - 664 sys sys 1071245548 3849
 sys/src/9/mtx/devarch.c - 664 sys sys 1018721285 6793
 sys/src/9/mtx/devether.c - 664 sys sys 1071245412 9281
 sys/src/9/mtx/devrtc.c - 664 sys sys 1018721285 6772
+sys/src/9/mtx/errstr.h - 664 sys sys 1089390059 2137
 sys/src/9/mtx/ether2114x.c - 664 sys sys 1026848191 37904
 sys/src/9/mtx/etherif.h - 664 sys sys 1045504432 785
 sys/src/9/mtx/fns.h - 664 sys sys 1084475126 3171
@@ -6668,12 +6670,14 @@ sys/src/cmd/8c/bound.c - 664 sys sys 1084472146 16274
 sys/src/cmd/8c/bound.h - 664 sys sys 1084472146 903
 sys/src/cmd/8c/cgen.c - 664 sys sys 1089299180 32120
 sys/src/cmd/8c/cgen64.c - 664 sys sys 1089299182 45852
+sys/src/cmd/8c/div.c - 664 sys sys 1089382812 3313
 sys/src/cmd/8c/enam.c - 664 sys sys 1089299181 3227
 sys/src/cmd/8c/gc.h - 664 sys sys 1089299181 6418
 sys/src/cmd/8c/list.c - 664 sys sys 1067720660 3975
 sys/src/cmd/8c/machcap.c - 664 sys sys 1089299180 1201
 sys/src/cmd/8c/mkenam - 664 sys sys 944960730 112
 sys/src/cmd/8c/mkfile - 664 sys sys 1089299181 322
+sys/src/cmd/8c/mul.c - 664 sys sys 1089382812 5535
 sys/src/cmd/8c/peep.c - 664 sys sys 1089299181 11182
 sys/src/cmd/8c/reg.c - 664 sys sys 1089299180 20556
 sys/src/cmd/8c/sgen.c - 664 sys sys 1089299181 12833
@@ -7180,13 +7184,13 @@ sys/src/cmd/cb/mkfile - 664 sys sys 1062860425 172
 sys/src/cmd/cc - 20000000775 sys sys 1018556175 0
 sys/src/cmd/cc/acid.c - 664 sys sys 944960808 5314
 sys/src/cmd/cc/bits.c - 664 sys sys 944960873 850
+sys/src/cmd/cc/cc.a8 - 664 sys sys 1089383589 487648
 sys/src/cmd/cc/cc.h - 664 sys sys 1089299183 12053
 sys/src/cmd/cc/cc.y - 664 sys sys 1076969746 15801
 sys/src/cmd/cc/com.c - 664 sys sys 1089299183 18909
 sys/src/cmd/cc/com64.c - 664 sys sys 1089299182 9975
 sys/src/cmd/cc/compat - 664 sys sys 1014925177 684
 sys/src/cmd/cc/compat.c - 664 sys sys 1084472048 417
-sys/src/cmd/cc/con.c - 664 sys sys 1084472048 8606
 sys/src/cmd/cc/dcl.c - 664 sys sys 1089299183 26723
 sys/src/cmd/cc/dpchk.c - 664 sys sys 1089299182 7089
 sys/src/cmd/cc/funct.c - 664 sys sys 984718510 6167
@@ -7197,6 +7201,7 @@ sys/src/cmd/cc/macbody - 664 sys sys 1089299183 11365
 sys/src/cmd/cc/machcap.c - 664 sys sys 1084472048 78
 sys/src/cmd/cc/mkfile - 664 sys sys 1089299182 578
 sys/src/cmd/cc/pickle.c - 664 sys sys 1063855374 4829
+sys/src/cmd/cc/scon.c - 664 sys sys 1089343502 8606
 sys/src/cmd/cc/sub.c - 664 sys sys 1089299183 33811
 sys/src/cmd/cdfs - 20000000775 sys sys 959922196 0
 sys/src/cmd/cdfs/buf.c - 664 sys sys 964456822 1848
@@ -9488,6 +9493,8 @@ sys/src/cmd/ip/snoopy/ppp_lcp.c - 664 sys sys 1015090061 50
 sys/src/cmd/ip/snoopy/pppoe_disc.c - 664 sys sys 1033797942 2495
 sys/src/cmd/ip/snoopy/pppoe_sess.c - 664 sys sys 1033797942 36
 sys/src/cmd/ip/snoopy/rarp.c - 664 sys sys 1015090062 50
+sys/src/cmd/ip/snoopy/rtcp.c - 644 sys sys 1089389638 1958
+sys/src/cmd/ip/snoopy/rtp.c - 664 sys sys 1089389638 1160
 sys/src/cmd/ip/snoopy/tcp.c - 664 sys sys 1055699196 3593
 sys/src/cmd/ip/snoopy/udp.c - 664 sys sys 1089299190 1990
 sys/src/cmd/ip/telnet.c - 664 sys sys 1080058033 8535
@@ -10088,7 +10095,7 @@ sys/src/cmd/qa/mkfile - 664 sys sys 944961076 215
 sys/src/cmd/qc - 20000000775 sys sys 944961081 0
 sys/src/cmd/qc/bits.c - 664 sys sys 944961081 1355
 sys/src/cmd/qc/cgen.c - 664 sys sys 1076969803 18282
-sys/src/cmd/qc/enam.c - 664 sys sys 1089299168 3653
+sys/src/cmd/qc/enam.c - 664 sys sys 1089383584 3653
 sys/src/cmd/qc/gc.h - 664 sys sys 1089299169 5971
 sys/src/cmd/qc/list.c - 664 sys sys 1067720728 3785
 sys/src/cmd/qc/mkenam - 664 sys sys 944961081 158
@@ -10906,9 +10913,9 @@ sys/src/cmd/usb/mkfile - 664 sys sys 1089299190 221
 sys/src/cmd/usb/mouse - 20000000775 sys sys 1017802022 0
 sys/src/cmd/usb/mouse/mkfile - 664 sys sys 1017802022 211
 sys/src/cmd/usb/mouse/usbmouse.c - 664 sys sys 1017802022 3074
-sys/src/cmd/usb/print - 20000000775 sys sys 1073007760 0
-sys/src/cmd/usb/print/mkfile - 664 sys sys 1073660166 195
-sys/src/cmd/usb/print/usbprint - 775 sys sys 1073007760 222
+sys/src/cmd/usb/printer - 20000000775 sys sys 1073007760 0
+sys/src/cmd/usb/printer/mkfile - 664 sys sys 1089396828 199
+sys/src/cmd/usb/printer/usbprinter - 775 sys sys 1073007760 222
 sys/src/cmd/usb/usbd - 20000000775 sys sys 1017802021 0
 sys/src/cmd/usb/usbd/dat.h - 664 sys sys 1017802021 682
 sys/src/cmd/usb/usbd/device.c - 664 sys sys 1018387004 2955
@@ -12312,7 +12319,7 @@ sys/src/libventi/strdup.c - 664 sys sys 1045502096 203
 sys/src/libventi/venti.txt - 664 sys sys 1045502097 4347
 sys/src/libventi/zero.c - 664 sys sys 1045502097 1509
 sys/src/mkfile - 664 sys sys 1073061130 1006
-sys/src/mkfile.proto - 664 sys sys 1089299185 266
+sys/src/mkfile.proto - 664 sys sys 1089382963 265
 tmp - 20000000555 sys sys 953999902 0
 usr - 20000000775 sys sys 953406542 0
 usr/glenda - 20000000775 glenda glenda 953406571 0
@@ -12333,5 +12340,3 @@ usr/glenda/lib/profile - 664 glenda glenda 1021580005 847
 usr/glenda/readme.acme - 664 glenda glenda 1019860628 4753
 usr/glenda/readme.rio - 664 glenda glenda 1019860628 6370
 usr/glenda/tmp - 20000000775 glenda glenda 1018802620 0
-sys/src/cmd/cc/scon.c - 664 sys sys 1089343502 8606
-sys/src/cmd/cc/con.c xxx REMOVED xxx xxx 0 0

+ 97 - 90
dist/replica/plan9.db

@@ -1,25 +1,25 @@
 386 - 20000000775 sys sys 1010957353 0
 386/9load - 775 sys sys 1088798345 188040
-386/9loaddebug - 775 sys sys 1089084070 271141
+386/9loaddebug - 775 sys sys 1089402462 270242
 386/9loadlite - 775 sys sys 1088798346 125004
-386/9loadlitedebug - 775 sys sys 1089084070 184248
-386/9pc - 775 sys sys 1089084073 1812596
+386/9loadlitedebug - 775 sys sys 1089402462 183654
+386/9pc - 775 sys sys 1089402465 1808607
 386/9pc.gz - 664 sys sys 1077049336 635727
-386/9pccpu - 775 sys sys 1089084075 1466770
+386/9pccpu - 775 sys sys 1089402468 1464770
 386/9pccpu.gz - 664 sys sys 1077049387 519909
-386/9pcdisk - 775 sys sys 1089084079 2015046
+386/9pcdisk - 775 sys sys 1089402472 2011213
 386/9pcdisk.gz - 664 sys sys 1040006345 703136
-386/9pcf - 775 sys sys 1089084083 2347033
+386/9pcf - 775 sys sys 1089402477 2342976
 386/9pcf.gz - 664 sys sys 1077049490 872650
 386/9pxeload - 775 sys sys 1088798346 188040
 386/_9pcdisk.gz - 664 sys sys 1039764191 695837
 386/bin - 20000000775 sys sys 1018897690 0
-386/bin/8a - 775 sys sys 1085076970 112621
-386/bin/8c - 775 sys sys 1087527915 341009
-386/bin/8l - 775 sys sys 1087527915 106966
+386/bin/8a - 775 sys sys 1089397305 112804
+386/bin/8c - 775 sys sys 1089397306 357675
+386/bin/8l - 775 sys sys 1089397306 114875
 386/bin/9660srv - 775 sys sys 1085076971 101995
 386/bin/aan - 775 sys sys 1085076971 128820
-386/bin/acid - 775 sys sys 1088739242 371928
+386/bin/acid - 775 sys sys 1089397307 353429
 386/bin/acme - 775 sys sys 1086836655 424880
 386/bin/ape - 20000000775 sys sys 1016944144 0
 386/bin/ape/basename - 775 sys sys 1087442501 132681
@@ -38,8 +38,8 @@
 386/bin/ape/tar - 775 sys sys 1085076974 59875
 386/bin/ape/uname - 775 sys sys 1087442505 132510
 386/bin/aquarela - 775 sys sys 1064598027 319170
-386/bin/ar - 775 sys sys 1085076974 109700
-386/bin/archfs - 775 sys sys 1086923024 138783
+386/bin/ar - 775 sys sys 1089397307 105059
+386/bin/archfs - 775 sys sys 1089397307 138740
 386/bin/ascii - 775 sys sys 1085076975 62654
 386/bin/astro - 775 sys sys 1085076975 138775
 386/bin/auth - 20000000775 sys sys 1016920815 0
@@ -53,7 +53,7 @@
 386/bin/auth/debug - 775 sys sys 1085076979 98973
 386/bin/auth/disable - 775 sys sys 1020319057 146
 386/bin/auth/enable - 775 sys sys 1020319057 134
-386/bin/auth/factotum - 775 sys sys 1089257527 307569
+386/bin/auth/factotum - 775 sys sys 1089397308 307187
 386/bin/auth/fgui - 775 sys sys 1088823721 216032
 386/bin/auth/guard.srv - 775 sys sys 1089257528 140762
 386/bin/auth/iam - 775 sys sys 1085076981 50791
@@ -85,7 +85,7 @@
 386/bin/aux/accupoint - 775 sys sys 1085076988 40013
 386/bin/aux/acidleak - 775 sys sys 1088651143 67380
 386/bin/aux/antiword - 775 sys sys 1070288096 511478
-386/bin/aux/apm - 775 sys sys 1086923025 172135
+386/bin/aux/apm - 775 sys sys 1089397309 172056
 386/bin/aux/astarld - 775 sys sys 1085076989 62660
 386/bin/aux/cddb - 775 sys sys 1085076989 69917
 386/bin/aux/clog - 775 sys sys 1085076989 64403
@@ -94,11 +94,11 @@
 386/bin/aux/cropmarks - 775 sys sys 1020319062 1808
 386/bin/aux/data2s - 775 sys sys 1085076990 58501
 386/bin/aux/depend - 775 sys sys 1085076991 143665
-386/bin/aux/disksim - 775 sys sys 1086923026 142348
+386/bin/aux/disksim - 775 sys sys 1089397309 142309
 386/bin/aux/download - 775 sys sys 1087442506 176016
 386/bin/aux/faxreceive - 775 sys sys 1085076991 81973
 386/bin/aux/faxsend - 775 sys sys 1085076992 87471
-386/bin/aux/flashfs - 775 sys sys 1086923026 158321
+386/bin/aux/flashfs - 775 sys sys 1089397309 158247
 386/bin/aux/g3p9bit - 775 sys sys 1085076993 65307
 386/bin/aux/getflags - 775 sys sys 1085076993 43818
 386/bin/aux/grabit - 775 sys sys 1020319063 1244
@@ -115,12 +115,12 @@
 386/bin/aux/mklatinkbd - 775 sys sys 1085076996 62177
 386/bin/aux/mnihongo - 775 sys sys 1085076996 136568
 386/bin/aux/mouse - 775 sys sys 1085076997 43998
-386/bin/aux/ms2 - 775 sys sys 1085076997 81513
+386/bin/aux/ms2 - 775 sys sys 1089397310 79497
 386/bin/aux/mswordstrings - 775 sys sys 1085076997 63284
 386/bin/aux/na - 775 sys sys 1085076998 152641
 386/bin/aux/nfsmount - 775 sys sys 1085076999 232240
 386/bin/aux/nfsserver - 775 sys sys 1089257529 183491
-386/bin/aux/olefs - 775 sys sys 1086923026 141297
+386/bin/aux/olefs - 775 sys sys 1089397310 141220
 386/bin/aux/p9bitpost - 775 sys sys 1085077001 127286
 386/bin/aux/pcmcia - 775 sys sys 1085077001 46277
 386/bin/aux/pcnfsd - 775 sys sys 1089257529 127413
@@ -137,7 +137,7 @@
 386/bin/aux/sprog - 775 sys sys 1085077006 77357
 386/bin/aux/ssh_genkey - 775 sys sys 1045537957 194629
 386/bin/aux/sshserve - 775 sys sys 1085077007 251118
-386/bin/aux/stub - 775 sys sys 1086923027 132993
+386/bin/aux/stub - 775 sys sys 1089397310 132953
 386/bin/aux/tcpostio - 775 sys sys 1088263679 200192
 386/bin/aux/text2post - 775 sys sys 1085077008 76406
 386/bin/aux/timesync - 775 sys sys 1089257530 125409
@@ -169,7 +169,7 @@
 386/bin/calendar - 775 sys sys 1085077018 77283
 386/bin/cat - 775 sys sys 1085077018 37419
 386/bin/cb - 775 sys sys 1085077018 75486
-386/bin/cdfs - 775 sys sys 1086923027 158995
+386/bin/cdfs - 775 sys sys 1089397311 159049
 386/bin/cfs - 775 sys sys 1085077019 126008
 386/bin/chgrp - 775 sys sys 1085077019 57253
 386/bin/chmod - 775 sys sys 1085077020 60320
@@ -184,7 +184,7 @@
 386/bin/cpu - 775 sys sys 1085077026 135690
 386/bin/crop - 775 sys sys 1085077026 115107
 386/bin/date - 775 sys sys 1085077026 43216
-386/bin/db - 775 sys sys 1088739242 318226
+386/bin/db - 775 sys sys 1089397311 299837
 386/bin/dc - 775 sys sys 1085077028 96997
 386/bin/dd - 775 sys sys 1085077028 45322
 386/bin/deroff - 775 sys sys 1085077029 72249
@@ -215,12 +215,12 @@
 386/bin/echo - 775 sys sys 1085077038 55323
 386/bin/ed - 775 sys sys 1085077038 91066
 386/bin/eqn - 775 sys sys 1087442511 242933
-386/bin/execnet - 775 sys sys 1086923028 169987
+386/bin/execnet - 775 sys sys 1089397312 169857
 386/bin/exportfs - 775 sys sys 1085077040 159178
-386/bin/ext2srv - 775 sys sys 1086923028 172062
+386/bin/ext2srv - 775 sys sys 1089397312 171855
 386/bin/faces - 775 sys sys 1085077041 190555
 386/bin/factor - 775 sys sys 1085077042 59443
-386/bin/file - 775 sys sys 1085077042 114644
+386/bin/file - 775 sys sys 1089397313 108021
 386/bin/fmt - 775 sys sys 1085077043 63269
 386/bin/fortune - 775 sys sys 1085077045 65146
 386/bin/fossil - 20000000775 sys sys 1042005470 0
@@ -294,8 +294,8 @@
 386/bin/join - 775 sys sys 1085077074 114267
 386/bin/jpg - 775 sys sys 1085077075 172573
 386/bin/kbmap - 775 sys sys 1085077075 140375
-386/bin/kprof - 775 sys sys 1088739243 99266
-386/bin/ktrace - 775 sys sys 1088739243 113198
+386/bin/kprof - 775 sys sys 1089397313 97169
+386/bin/ktrace - 775 sys sys 1089397313 111120
 386/bin/lens - 775 sys sys 1085077076 122322
 386/bin/lex - 775 sys sys 1085077076 96662
 386/bin/lnfs - 775 sys sys 1085077076 97466
@@ -307,7 +307,7 @@
 386/bin/mkdir - 775 sys sys 1085077078 58975
 386/bin/mkpaqfs - 775 sys sys 1085077078 92648
 386/bin/mkstate - 775 sys sys 1085077078 61487
-386/bin/mntgen - 775 sys sys 1086923028 133463
+386/bin/mntgen - 775 sys sys 1089397313 133423
 386/bin/mount - 775 sys sys 1085077079 71022
 386/bin/ms2html - 775 sys sys 1085077079 101558
 386/bin/mtime - 775 sys sys 1085077080 57150
@@ -327,9 +327,9 @@
 386/bin/netkey - 775 sys sys 1085077084 70215
 386/bin/netstat - 775 sys sys 1089257538 82357
 386/bin/news - 775 sys sys 1085077084 69654
-386/bin/nfs - 775 sys sys 1086923029 313626
-386/bin/nm - 775 sys sys 1088739243 119534
-386/bin/nntpfs - 775 sys sys 1086923029 159031
+386/bin/nfs - 775 sys sys 1089397314 313346
+386/bin/nm - 775 sys sys 1089397314 112843
+386/bin/nntpfs - 775 sys sys 1089397315 158830
 386/bin/ns - 775 sys sys 1085077086 63226
 386/bin/p - 775 sys sys 1085077086 62948
 386/bin/page - 775 sys sys 1087442536 229962
@@ -346,13 +346,13 @@
 386/bin/ppm - 775 sys sys 1085077089 147104
 386/bin/pr - 775 sys sys 1085077089 75383
 386/bin/primes - 775 sys sys 1085077090 38765
-386/bin/prof - 775 sys sys 1088739243 104019
+386/bin/prof - 775 sys sys 1089397315 101912
 386/bin/proof - 775 sys sys 1085077090 175785
 386/bin/ps - 775 sys sys 1085077090 63831
 386/bin/pwd - 775 sys sys 1085077091 36869
 386/bin/ramfs - 775 sys sys 1085077091 86527
 386/bin/rc - 775 sys sys 1085077091 140758
-386/bin/rdbfs - 775 sys sys 1086923029 166495
+386/bin/rdbfs - 775 sys sys 1089397315 166357
 386/bin/read - 775 sys sys 1085077092 56014
 386/bin/replica - 20000000775 sys sys 1018321168 0
 386/bin/replica/applychanges - 775 sys sys 1085077092 96631
@@ -367,7 +367,6 @@
 386/bin/resample - 775 sys sys 1085077093 119901
 386/bin/rio - 775 sys sys 1085077094 306101
 386/bin/rm - 775 sys sys 1085077094 59308
-386/bin/rtstats - 775 sys sys 1071245345 177818
 386/bin/rx - 775 sys sys 1085077094 79893
 386/bin/sam - 775 sys sys 1085077095 155916
 386/bin/scat - 775 sys sys 1085077095 281706
@@ -376,12 +375,12 @@
 386/bin/sed - 775 sys sys 1085077096 87471
 386/bin/seq - 775 sys sys 1085077096 38178
 386/bin/sha1sum - 775 sys sys 1085077096 59101
-386/bin/size - 775 sys sys 1085077097 74163
+386/bin/size - 775 sys sys 1089397316 72148
 386/bin/sleep - 775 sys sys 1085077097 3413
-386/bin/snap - 775 sys sys 1088739244 285839
-386/bin/snapfs - 775 sys sys 1088739245 354671
+386/bin/snap - 775 sys sys 1089397316 267283
+386/bin/snapfs - 775 sys sys 1089397317 336137
 386/bin/sniffer - 775 sys sys 1038443185 99028
-386/bin/snoopy - 775 sys sys 1089257538 153188
+386/bin/snoopy - 775 sys sys 1089397318 155507
 386/bin/sort - 775 sys sys 1085077099 80213
 386/bin/spin - 775 sys sys 1088263704 654809
 386/bin/split - 775 sys sys 1085077099 73388
@@ -389,7 +388,7 @@
 386/bin/srvfs - 775 sys sys 1085077099 39578
 386/bin/srvold9p - 775 sys sys 1085077100 128139
 386/bin/ssh - 775 sys sys 1085077100 210573
-386/bin/sshnet - 775 sys sys 1086923031 281102
+386/bin/sshnet - 775 sys sys 1089397318 280607
 386/bin/stats - 775 sys sys 1087442538 188279
 386/bin/strings - 775 sys sys 1085077101 60090
 386/bin/strip - 775 sys sys 1085077101 59994
@@ -412,9 +411,9 @@
 386/bin/topng - 775 sys sys 1085077107 137101
 386/bin/toppm - 775 sys sys 1085077107 164405
 386/bin/touch - 775 sys sys 1085077107 61742
-386/bin/tprof - 775 sys sys 1088739246 271301
+386/bin/tprof - 775 sys sys 1089397319 252765
 386/bin/tr - 775 sys sys 1085077108 60009
-386/bin/trace - 775 sys sys 1085077109 178355
+386/bin/trace - 775 sys sys 1089397319 178457
 386/bin/troff - 775 sys sys 1088263705 357256
 386/bin/troff2html - 775 sys sys 1085077109 80041
 386/bin/tweak - 775 sys sys 1085077109 190079
@@ -429,10 +428,10 @@
 386/bin/upas/bayes - 775 sys sys 1064598344 70530
 386/bin/upas/deliver - 775 sys sys 1085077111 97777
 386/bin/upas/filter - 775 sys sys 1085077111 145300
-386/bin/upas/fs - 775 sys sys 1085077112 331594
+386/bin/upas/fs - 775 sys sys 1089397320 329933
 386/bin/upas/isspam - 775 sys sys 1064598349 38
 386/bin/upas/list - 775 sys sys 1085077112 80758
-386/bin/upas/marshal - 775 sys sys 1085077112 130335
+386/bin/upas/marshal - 775 sys sys 1089397321 130452
 386/bin/upas/ml - 775 sys sys 1085077113 121501
 386/bin/upas/mlmgr - 775 sys sys 1085077113 102185
 386/bin/upas/mlowner - 775 sys sys 1085077113 90099
@@ -457,6 +456,7 @@
 386/bin/usb/usbaudio - 775 sys sys 1085077118 172912
 386/bin/usb/usbd - 775 sys sys 1085077118 122174
 386/bin/usb/usbmouse - 775 sys sys 1085077119 138047
+386/bin/usb/usbprinter - 775 sys sys 1089408719 222
 386/bin/vac - 775 sys sys 1085077119 167554
 386/bin/vacfs - 775 sys sys 1085077120 172959
 386/bin/venti - 20000000775 sys sys 947360466 0
@@ -483,10 +483,10 @@
 386/bin/vt - 775 sys sys 1085077128 170967
 386/bin/vtdump - 775 sys sys 1085077129 157507
 386/bin/wc - 775 sys sys 1085077129 41133
-386/bin/webcookies - 775 sys sys 1086923031 159352
-386/bin/webfs - 775 sys sys 1086923032 347848
+386/bin/webcookies - 775 sys sys 1089397321 159466
+386/bin/webfs - 775 sys sys 1089408720 347691
 386/bin/webfsget - 775 sys sys 1085077130 39115
-386/bin/wikifs - 775 sys sys 1086923032 199190
+386/bin/wikifs - 775 sys sys 1089408720 199130
 386/bin/winwatch - 775 sys sys 1085077131 141299
 386/bin/xd - 775 sys sys 1085077131 61998
 386/bin/xmr - 775 sys sys 1085077131 40129
@@ -507,46 +507,46 @@
 386/lib - 20000000775 sys sys 1016826328 0
 386/lib/ape - 20000000775 sys sys 944969312 0
 386/lib/ape/lib9.a - 664 sys sys 1038237538 6378
-386/lib/ape/libap.a - 664 sys sys 1088263708 806956
-386/lib/ape/libbsd.a - 664 sys sys 1087442542 179270
-386/lib/ape/libdraw.a - 664 sys sys 1085077138 574254
-386/lib/ape/libfmt.a - 664 sys sys 1087442542 147014
+386/lib/ape/libap.a - 664 sys sys 1089397323 807334
+386/lib/ape/libbsd.a - 664 sys sys 1089397324 179308
+386/lib/ape/libdraw.a - 664 sys sys 1089397325 573896
+386/lib/ape/libfmt.a - 664 sys sys 1089402371 147204
 386/lib/ape/libl.a - 664 sys sys 1085077138 9420
 386/lib/ape/libnet.a - 664 sys sys 1073851263 16950
-386/lib/ape/libregexp.a - 664 sys sys 1085077139 47502
-386/lib/ape/libutf.a - 664 sys sys 1073851264 81308
-386/lib/ape/libv.a - 664 sys sys 1073851264 19648
-386/lib/lib9p.a - 664 sys sys 1086923033 79306
-386/lib/libString.a - 664 sys sys 1073851264 22204
-386/lib/libauth.a - 664 sys sys 1076990357 56134
-386/lib/libauthsrv.a - 664 sys sys 1085077139 33658
-386/lib/libbin.a - 664 sys sys 1073851265 2556
-386/lib/libbio.a - 664 sys sys 1085077139 26078
-386/lib/libc.a - 664 sys sys 1085077140 495150
-386/lib/libcomplete.a - 664 sys sys 1076817073 6312
-386/lib/libcontrol.a - 664 sys sys 1088823723 276608
-386/lib/libdisk.a - 664 sys sys 1085077141 42290
-386/lib/libdraw.a - 664 sys sys 1085077142 372618
-386/lib/libflate.a - 664 sys sys 1085077142 77178
-386/lib/libframe.a - 664 sys sys 1085077142 65640
-386/lib/libgeometry.a - 664 sys sys 1085077142 50702
-386/lib/libhtml.a - 664 sys sys 1085077143 220154
-386/lib/libhttpd.a - 664 sys sys 1085077143 99392
-386/lib/libip.a - 664 sys sys 1089257540 35264
-386/lib/libl.a - 664 sys sys 1085077143 5384
-386/lib/libmach.a - 664 sys sys 1089339723 733484
-386/lib/libmemdraw.a - 664 sys sys 1085077145 287684
-386/lib/libmemlayer.a - 664 sys sys 1085077145 47360
-386/lib/libmp.a - 664 sys sys 1085713909 80458
-386/lib/libndb.a - 664 sys sys 1085077146 60772
-386/lib/libplumb.a - 664 sys sys 1073851274 18876
-386/lib/libregexp.a - 664 sys sys 1085077146 37440
-386/lib/libscribble.a - 664 sys sys 1085077146 107474
-386/lib/libsec.a - 664 sys sys 1085077147 644960
-386/lib/libstdio.a - 664 sys sys 1085077148 126326
-386/lib/libsunrpc.a - 664 sys sys 1085077148 356238
-386/lib/libthread.a - 664 sys sys 1085077148 71450
-386/lib/libventi.a - 664 sys sys 1085077149 97598
+386/lib/ape/libregexp.a - 664 sys sys 1089402372 47670
+386/lib/ape/libutf.a - 664 sys sys 1089402372 81266
+386/lib/ape/libv.a - 664 sys sys 1089402372 19668
+386/lib/lib9p.a - 664 sys sys 1089397326 79300
+386/lib/libString.a - 664 sys sys 1089397326 22184
+386/lib/libauth.a - 664 sys sys 1089397326 56134
+386/lib/libauthsrv.a - 664 sys sys 1089397326 33522
+386/lib/libbin.a - 664 sys sys 1089397326 2534
+386/lib/libbio.a - 664 sys sys 1089397326 26078
+386/lib/libc.a - 664 sys sys 1089397327 495436
+386/lib/libcomplete.a - 664 sys sys 1089397327 6370
+386/lib/libcontrol.a - 664 sys sys 1089397328 274152
+386/lib/libdisk.a - 664 sys sys 1089397328 42234
+386/lib/libdraw.a - 664 sys sys 1089397329 372096
+386/lib/libflate.a - 664 sys sys 1089397329 76872
+386/lib/libframe.a - 664 sys sys 1089397329 66084
+386/lib/libgeometry.a - 664 sys sys 1089397329 50470
+386/lib/libhtml.a - 664 sys sys 1089397330 219972
+386/lib/libhttpd.a - 664 sys sys 1089397330 99488
+386/lib/libip.a - 664 sys sys 1089397330 35268
+386/lib/libl.a - 664 sys sys 1089397330 5384
+386/lib/libmach.a - 664 sys sys 1089397332 650354
+386/lib/libmemdraw.a - 664 sys sys 1089397332 283188
+386/lib/libmemlayer.a - 664 sys sys 1089397332 47360
+386/lib/libmp.a - 664 sys sys 1089397333 79532
+386/lib/libndb.a - 664 sys sys 1089397333 60666
+386/lib/libplumb.a - 664 sys sys 1089397333 18876
+386/lib/libregexp.a - 664 sys sys 1089397333 37464
+386/lib/libscribble.a - 664 sys sys 1089397333 107268
+386/lib/libsec.a - 664 sys sys 1089397335 643958
+386/lib/libstdio.a - 664 sys sys 1089397335 126382
+386/lib/libsunrpc.a - 664 sys sys 1089397336 355994
+386/lib/libthread.a - 664 sys sys 1089397336 71162
+386/lib/libventi.a - 664 sys sys 1089397336 97708
 386/mbr - 775 sys sys 1022125974 407
 386/mkfile - 664 sys sys 948141303 46
 386/pbs - 775 sys sys 1022125973 494
@@ -610,7 +610,7 @@ acme/bin/386/acd - 775 sys sys 1032232412 137068
 acme/bin/386/adict - 775 sys sys 1015011247 99806
 acme/bin/386/mkwnew - 775 sys sys 1085077134 38931
 acme/bin/386/spout - 775 sys sys 1085077134 59585
-acme/bin/386/win - 775 sys sys 1086923033 177119
+acme/bin/386/win - 775 sys sys 1089397322 176906
 acme/bin/Battery - 775 sys sys 1017457907 451
 acme/bin/Isspam - 775 sys sys 1063951165 235
 acme/bin/Perl - 775 sys sys 1015011260 230
@@ -851,7 +851,7 @@ dist/replica - 20000000775 sys sys 1019277119 0
 dist/replica/cd - 664 sys sys 1019527959 390
 dist/replica/kfs - 664 sys sys 1019527929 237
 dist/replica/network - 775 sys sys 1071079179 996
-dist/replica/plan9.proto - 664 sys sys 1079575451 2566
+dist/replica/plan9.proto - 664 sys sys 1089404586 2510
 env - 20000000775 sys sys 1015094872 0
 fd - 20000000775 sys sys 947958544 0
 lib - 20000000775 sys sys 958504315 0
@@ -5230,6 +5230,7 @@ sys/src/9/boot/doauthenticate.c - 664 sys sys 1015012529 2300
 sys/src/9/boot/embed.c - 664 sys sys 1039763720 1191
 sys/src/9/boot/getpasswd.c - 664 sys sys 957373373 654
 sys/src/9/boot/libboot.a8 - 664 sys sys 1089299185 63496
+sys/src/9/boot/libboot.aq - 664 sys sys 1089390072 78666
 sys/src/9/boot/local.c - 664 sys sys 1068835808 5355
 sys/src/9/boot/mkboot - 775 sys sys 1045504382 1935
 sys/src/9/boot/nopsession.c - 664 sys sys 957373374 843
@@ -5277,6 +5278,7 @@ sys/src/9/mtx/dat.h - 664 sys sys 1071245548 3849
 sys/src/9/mtx/devarch.c - 664 sys sys 1018721285 6793
 sys/src/9/mtx/devether.c - 664 sys sys 1071245412 9281
 sys/src/9/mtx/devrtc.c - 664 sys sys 1018721285 6772
+sys/src/9/mtx/errstr.h - 664 sys sys 1089390059 2137
 sys/src/9/mtx/ether2114x.c - 664 sys sys 1026848191 37904
 sys/src/9/mtx/etherif.h - 664 sys sys 1045504432 785
 sys/src/9/mtx/fns.h - 664 sys sys 1084475126 3171
@@ -6668,12 +6670,14 @@ sys/src/cmd/8c/bound.c - 664 sys sys 1084472146 16274
 sys/src/cmd/8c/bound.h - 664 sys sys 1084472146 903
 sys/src/cmd/8c/cgen.c - 664 sys sys 1089299180 32120
 sys/src/cmd/8c/cgen64.c - 664 sys sys 1089299182 45852
+sys/src/cmd/8c/div.c - 664 sys sys 1089382812 3313
 sys/src/cmd/8c/enam.c - 664 sys sys 1089299181 3227
 sys/src/cmd/8c/gc.h - 664 sys sys 1089299181 6418
 sys/src/cmd/8c/list.c - 664 sys sys 1067720660 3975
 sys/src/cmd/8c/machcap.c - 664 sys sys 1089299180 1201
 sys/src/cmd/8c/mkenam - 664 sys sys 944960730 112
 sys/src/cmd/8c/mkfile - 664 sys sys 1089299181 322
+sys/src/cmd/8c/mul.c - 664 sys sys 1089382812 5535
 sys/src/cmd/8c/peep.c - 664 sys sys 1089299181 11182
 sys/src/cmd/8c/reg.c - 664 sys sys 1089299180 20556
 sys/src/cmd/8c/sgen.c - 664 sys sys 1089299181 12833
@@ -7180,6 +7184,7 @@ sys/src/cmd/cb/mkfile - 664 sys sys 1062860425 172
 sys/src/cmd/cc - 20000000775 sys sys 1018556175 0
 sys/src/cmd/cc/acid.c - 664 sys sys 944960808 5314
 sys/src/cmd/cc/bits.c - 664 sys sys 944960873 850
+sys/src/cmd/cc/cc.a8 - 664 sys sys 1089383589 487648
 sys/src/cmd/cc/cc.h - 664 sys sys 1089299183 12053
 sys/src/cmd/cc/cc.y - 664 sys sys 1076969746 15801
 sys/src/cmd/cc/com.c - 664 sys sys 1089299183 18909
@@ -9488,6 +9493,8 @@ sys/src/cmd/ip/snoopy/ppp_lcp.c - 664 sys sys 1015090061 50
 sys/src/cmd/ip/snoopy/pppoe_disc.c - 664 sys sys 1033797942 2495
 sys/src/cmd/ip/snoopy/pppoe_sess.c - 664 sys sys 1033797942 36
 sys/src/cmd/ip/snoopy/rarp.c - 664 sys sys 1015090062 50
+sys/src/cmd/ip/snoopy/rtcp.c - 644 sys sys 1089389638 1958
+sys/src/cmd/ip/snoopy/rtp.c - 664 sys sys 1089389638 1160
 sys/src/cmd/ip/snoopy/tcp.c - 664 sys sys 1055699196 3593
 sys/src/cmd/ip/snoopy/udp.c - 664 sys sys 1089299190 1990
 sys/src/cmd/ip/telnet.c - 664 sys sys 1080058033 8535
@@ -10088,7 +10095,7 @@ sys/src/cmd/qa/mkfile - 664 sys sys 944961076 215
 sys/src/cmd/qc - 20000000775 sys sys 944961081 0
 sys/src/cmd/qc/bits.c - 664 sys sys 944961081 1355
 sys/src/cmd/qc/cgen.c - 664 sys sys 1076969803 18282
-sys/src/cmd/qc/enam.c - 664 sys sys 1089299168 3653
+sys/src/cmd/qc/enam.c - 664 sys sys 1089383584 3653
 sys/src/cmd/qc/gc.h - 664 sys sys 1089299169 5971
 sys/src/cmd/qc/list.c - 664 sys sys 1067720728 3785
 sys/src/cmd/qc/mkenam - 664 sys sys 944961081 158
@@ -10906,9 +10913,9 @@ sys/src/cmd/usb/mkfile - 664 sys sys 1089299190 221
 sys/src/cmd/usb/mouse - 20000000775 sys sys 1017802022 0
 sys/src/cmd/usb/mouse/mkfile - 664 sys sys 1017802022 211
 sys/src/cmd/usb/mouse/usbmouse.c - 664 sys sys 1017802022 3074
-sys/src/cmd/usb/print - 20000000775 sys sys 1073007760 0
-sys/src/cmd/usb/print/mkfile - 664 sys sys 1073660166 195
-sys/src/cmd/usb/print/usbprint - 775 sys sys 1073007760 222
+sys/src/cmd/usb/printer - 20000000775 sys sys 1073007760 0
+sys/src/cmd/usb/printer/mkfile - 664 sys sys 1089396828 199
+sys/src/cmd/usb/printer/usbprinter - 775 sys sys 1073007760 222
 sys/src/cmd/usb/usbd - 20000000775 sys sys 1017802021 0
 sys/src/cmd/usb/usbd/dat.h - 664 sys sys 1017802021 682
 sys/src/cmd/usb/usbd/device.c - 664 sys sys 1018387004 2955
@@ -12312,7 +12319,7 @@ sys/src/libventi/strdup.c - 664 sys sys 1045502096 203
 sys/src/libventi/venti.txt - 664 sys sys 1045502097 4347
 sys/src/libventi/zero.c - 664 sys sys 1045502097 1509
 sys/src/mkfile - 664 sys sys 1073061130 1006
-sys/src/mkfile.proto - 664 sys sys 1089299185 266
+sys/src/mkfile.proto - 664 sys sys 1089382963 265
 tmp - 20000000555 sys sys 953999902 0
 usr - 20000000775 sys sys 953406542 0
 usr/glenda - 20000000775 glenda glenda 953406571 0

+ 117 - 0
dist/replica/plan9.log

@@ -16162,3 +16162,120 @@
 1089340247 5 c sys/man/8/INDEX - 664 sys sys 1089339723 2669
 1089343848 0 a sys/src/cmd/cc/scon.c - 664 sys sys 1089343502 8606
 1089343848 1 d sys/src/cmd/cc/con.c - 664 sys sys 1084472048 0
+1089345648 0 d 386/bin/rtstats - 775 sys sys 1071245345 0
+1089347448 0 a sys/src/cmd/usb/printer - 20000000775 sys sys 1073007760 0
+1089347448 1 a sys/src/cmd/usb/printer/mkfile - 664 sys sys 1073660166 195
+1089347448 2 a sys/src/cmd/usb/printer/usbprint - 775 sys sys 1073007760 222
+1089347448 3 d sys/src/cmd/usb/print/usbprint - 775 sys sys 1073007760 0
+1089347448 4 d sys/src/cmd/usb/print/mkfile - 664 sys sys 1073660166 0
+1089347448 5 d sys/src/cmd/usb/print - 20000000775 sys sys 1073007760 0
+1089383455 0 a sys/src/cmd/8c/div.c - 640 sys sys 1089382812 3313
+1089383455 1 a sys/src/cmd/8c/mul.c - 640 sys sys 1089382812 5535
+1089383455 2 c sys/src/mkfile.proto - 664 sys sys 1089382963 265
+1089385255 0 a sys/src/cmd/cc/cc.a8 - 664 sys sys 1089383589 487648
+1089385255 1 c sys/src/cmd/qc/enam.c - 664 sys sys 1089383584 3653
+1089390657 0 a sys/src/9/boot/libboot.aq - 664 sys sys 1089390072 78666
+1089390657 1 a sys/src/9/mtx/errstr.h - 664 sys sys 1089390059 2137
+1089390657 2 a sys/src/cmd/ip/snoopy/rtcp.c - 644 sys sys 1089389638 1958
+1089390657 3 a sys/src/cmd/ip/snoopy/rtp.c - 664 sys sys 1089389638 1160
+1089397858 0 c 386/bin/8a - 775 sys sys 1089397305 112804
+1089397858 1 c 386/bin/8c - 775 sys sys 1089397306 357675
+1089397858 2 c 386/bin/8l - 775 sys sys 1089397306 114875
+1089397858 3 c 386/bin/acid - 775 sys sys 1089397307 353429
+1089397858 4 c 386/bin/ar - 775 sys sys 1089397307 105059
+1089397858 5 c 386/bin/archfs - 775 sys sys 1089397307 138740
+1089397858 6 c 386/bin/cdfs - 775 sys sys 1089397311 159049
+1089397858 7 c 386/bin/db - 775 sys sys 1089397311 299837
+1089397858 8 c 386/bin/nntpfs - 775 sys sys 1089397315 158830
+1089397858 9 c 386/bin/snap - 775 sys sys 1089397316 267283
+1089397858 10 c 386/bin/snapfs - 775 sys sys 1089397317 336137
+1089397858 11 c 386/bin/webcookies - 775 sys sys 1089397321 159466
+1089397858 12 c 386/bin/file - 775 sys sys 1089397313 108021
+1089397858 13 c 386/bin/kprof - 775 sys sys 1089397313 97169
+1089397858 14 c 386/bin/ktrace - 775 sys sys 1089397313 111120
+1089397858 15 c 386/bin/nm - 775 sys sys 1089397314 112843
+1089397858 16 c 386/bin/prof - 775 sys sys 1089397315 101912
+1089397858 17 c 386/bin/rdbfs - 775 sys sys 1089397315 166357
+1089397858 18 c 386/bin/size - 775 sys sys 1089397316 72148
+1089397858 19 c 386/bin/snoopy - 775 sys sys 1089397318 155507
+1089397858 20 c 386/bin/auth/factotum - 775 sys sys 1089397308 307187
+1089397858 21 c 386/bin/aux/apm - 775 sys sys 1089397309 172056
+1089397858 22 c 386/bin/aux/disksim - 775 sys sys 1089397309 142309
+1089397858 23 c 386/bin/aux/flashfs - 775 sys sys 1089397309 158247
+1089397858 24 c 386/bin/aux/ms2 - 775 sys sys 1089397310 79497
+1089397858 25 c 386/bin/aux/olefs - 775 sys sys 1089397310 141220
+1089397858 26 c 386/bin/aux/stub - 775 sys sys 1089397310 132953
+1089397858 27 c 386/bin/execnet - 775 sys sys 1089397312 169857
+1089397858 28 c 386/bin/ext2srv - 775 sys sys 1089397312 171855
+1089397858 29 c 386/bin/mntgen - 775 sys sys 1089397313 133423
+1089397858 30 c 386/bin/nfs - 775 sys sys 1089397314 313346
+1089397858 31 c 386/bin/sshnet - 775 sys sys 1089397318 280607
+1089397858 32 c 386/bin/tprof - 775 sys sys 1089397319 252765
+1089397858 33 c 386/bin/trace - 775 sys sys 1089397319 178457
+1089397858 34 c 386/bin/upas/fs - 775 sys sys 1089397320 329933
+1089397858 35 c 386/bin/upas/marshal - 775 sys sys 1089397321 130452
+1089397858 36 c 386/lib/ape/libap.a - 664 sys sys 1089397323 807334
+1089397858 37 c 386/lib/ape/libbsd.a - 664 sys sys 1089397324 179308
+1089397858 38 c 386/lib/ape/libdraw.a - 664 sys sys 1089397325 573896
+1089397858 39 c 386/lib/ape/libfmt.a - 664 sys sys 1089397325 147014
+1089397858 40 c 386/lib/ape/libregexp.a - 664 sys sys 1089397325 47502
+1089397858 41 c 386/lib/ape/libutf.a - 664 sys sys 1089397325 81308
+1089397858 42 c 386/lib/ape/libv.a - 664 sys sys 1089397326 19648
+1089397858 43 c 386/lib/lib9p.a - 664 sys sys 1089397326 79300
+1089397858 44 c 386/lib/libString.a - 664 sys sys 1089397326 22184
+1089397858 45 c 386/lib/libauth.a - 664 sys sys 1089397326 56134
+1089397858 46 c 386/lib/libauthsrv.a - 664 sys sys 1089397326 33522
+1089397858 47 c 386/lib/libbin.a - 664 sys sys 1089397326 2534
+1089397858 48 c 386/lib/libbio.a - 664 sys sys 1089397326 26078
+1089397858 49 c 386/lib/libc.a - 664 sys sys 1089397327 495436
+1089397858 50 c 386/lib/libcomplete.a - 664 sys sys 1089397327 6370
+1089397858 51 c 386/lib/libcontrol.a - 664 sys sys 1089397328 274152
+1089397858 52 c 386/lib/libdisk.a - 664 sys sys 1089397328 42234
+1089397858 53 c 386/lib/libdraw.a - 664 sys sys 1089397329 372096
+1089397858 54 c 386/lib/libflate.a - 664 sys sys 1089397329 76872
+1089397858 55 c 386/lib/libframe.a - 664 sys sys 1089397329 66084
+1089397858 56 c 386/lib/libgeometry.a - 664 sys sys 1089397329 50470
+1089397858 57 c 386/lib/libhtml.a - 664 sys sys 1089397330 219972
+1089397858 58 c 386/lib/libhttpd.a - 664 sys sys 1089397330 99488
+1089397858 59 c 386/lib/libip.a - 664 sys sys 1089397330 35268
+1089397858 60 c 386/lib/libl.a - 664 sys sys 1089397330 5384
+1089397858 61 c 386/lib/libmach.a - 664 sys sys 1089397332 650354
+1089397858 62 c 386/lib/libmemdraw.a - 664 sys sys 1089397332 283188
+1089397858 63 c 386/lib/libmemlayer.a - 664 sys sys 1089397332 47360
+1089397858 64 c 386/lib/libmp.a - 664 sys sys 1089397333 79532
+1089397858 65 c 386/lib/libndb.a - 664 sys sys 1089397333 60666
+1089397858 66 c 386/lib/libplumb.a - 664 sys sys 1089397333 18876
+1089397858 67 c 386/lib/libregexp.a - 664 sys sys 1089397333 37464
+1089397858 68 c 386/lib/libscribble.a - 664 sys sys 1089397333 107268
+1089397858 69 c 386/lib/libsec.a - 664 sys sys 1089397335 643958
+1089397858 70 c 386/lib/libstdio.a - 664 sys sys 1089397335 126382
+1089397858 71 c 386/lib/libsunrpc.a - 664 sys sys 1089397336 355994
+1089397858 72 c 386/lib/libthread.a - 664 sys sys 1089397336 71162
+1089397858 73 c 386/lib/libventi.a - 664 sys sys 1089397336 97708
+1089397858 74 c acme/bin/386/win - 775 sys sys 1089397322 176906
+1089397858 75 c sys/src/cmd/usb/printer/mkfile - 664 sys sys 1089396828 199
+1089401459 0 c 386/lib/ape/libfmt.a - 664 sys sys 1089401405 147204
+1089401459 1 c 386/lib/ape/libregexp.a - 664 sys sys 1089401405 47670
+1089401459 2 c 386/lib/ape/libutf.a - 664 sys sys 1089401405 81266
+1089401459 3 c 386/lib/ape/libv.a - 664 sys sys 1089401406 19668
+1089402553 0 c 386/9loaddebug - 775 sys sys 1089402462 270242
+1089402553 1 c 386/9loadlitedebug - 775 sys sys 1089402462 183654
+1089402553 2 c 386/9pc - 775 sys sys 1089402465 1808607
+1089402553 3 c 386/9pccpu - 775 sys sys 1089402468 1464770
+1089402553 4 c 386/9pcdisk - 775 sys sys 1089402472 2011213
+1089402553 5 c 386/9pcf - 775 sys sys 1089402477 2342976
+1089402553 6 c 386/lib/ape/libfmt.a - 664 sys sys 1089402371 147204
+1089402553 7 c 386/lib/ape/libregexp.a - 664 sys sys 1089402372 47670
+1089402553 8 c 386/lib/ape/libutf.a - 664 sys sys 1089402372 81266
+1089402553 9 c 386/lib/ape/libv.a - 664 sys sys 1089402372 19668
+1089402553 10 a sys/src/cmd/usb/printer/usbprinter - 775 sys sys 1073007760 222
+1089402553 11 d sys/src/cmd/usb/printer/usbprint - 775 sys sys 1073007760 0
+1089404815 0 c dist/replica/plan9.proto - 664 sys sys 1089404586 2510
+1089408660 0 a 386/bin/usb/usbprinter - 775 sys sys 1089408503 222
+1089408660 1 c 386/bin/wikifs - 775 sys sys 1089408504 199130
+1089408660 2 c 386/bin/webfs - 775 sys sys 1089408504 347691
+1089410460 0 c 386/bin/usb/usbprinter - 775 sys sys 1089408719 222
+1089410460 1 c 386/bin/wikifs - 775 sys sys 1089408720 199130
+1089410460 2 c 386/bin/webfs - 775 sys sys 1089408720 347691
+1089419462 0 m sys/src/cmd/8c/div.c - 664 sys sys 1089382812 3313
+1089419462 1 m sys/src/cmd/8c/mul.c - 664 sys sys 1089382812 5535

+ 0 - 4
dist/replica/plan9.proto

@@ -26,16 +26,12 @@ usr	- sys sys
 		+	- glenda glenda
 
 # architectures owned by sys
-29000	- sys sys
-	+	- sys sys
 386	- sys sys
 	+	- sys sys
 68000	- sys sys
 	+	- sys sys
 68020	- sys sys
 	+	- sys sys
-960	- sys sys
-	+	- sys sys
 alpha	- sys sys
 	+	- sys sys
 arm	- sys sys

+ 0 - 4
dist/replica/plan9x.proto

@@ -26,16 +26,12 @@ usr	- sys sys
 		+	- glenda glenda
 
 # architectures owned by sys
-29000	- sys sys
-	+	- sys sys
 386	- sys sys
 	+	- sys sys
 68000	- sys sys
 	+	- sys sys
 68020	- sys sys
 	+	- sys sys
-960	- sys sys
-	+	- sys sys
 alpha	- sys sys
 	+	- sys sys
 arm	- sys sys

+ 0 - 4
dist/replica/proto2

@@ -25,16 +25,12 @@ usr	- sys sys
 		+	- glenda glenda
 
 # architectures owned by sys
-29000	- sys sys
-	+	- sys sys
 386	- sys sys
 	+	- sys sys
 68000	- sys sys
 	+	- sys sys
 68020	- sys sys
 	+	- sys sys
-960	- sys sys
-	+	- sys sys
 alpha	- sys sys
 	+	- sys sys
 arm	- sys sys

+ 51 - 0
sys/src/9/mtx/errstr.h

@@ -0,0 +1,51 @@
+char Enoerror[] = "no error";
+char Emount[] = "inconsistent mount";
+char Eunmount[] = "not mounted";
+char Eismtpt[] = "is a mount point";
+char Eunion[] = "not in union";
+char Emountrpc[] = "mount rpc error";
+char Eshutdown[] = "device shut down";
+char Enocreate[] = "mounted directory forbids creation";
+char Enonexist[] = "file does not exist";
+char Eexist[] = "file already exists";
+char Ebadsharp[] = "unknown device in # filename";
+char Enotdir[] = "not a directory";
+char Eisdir[] = "file is a directory";
+char Ebadchar[] = "bad character in file name";
+char Efilename[] = "file name syntax";
+char Eperm[] = "permission denied";
+char Ebadusefd[] = "inappropriate use of fd";
+char Ebadarg[] = "bad arg in system call";
+char Einuse[] = "device or object already in use";
+char Eio[] = "i/o error";
+char Etoobig[] = "read or write too large";
+char Etoosmall[] = "read or write too small";
+char Enoport[] = "network port not available";
+char Ehungup[] = "i/o on hungup channel";
+char Ebadctl[] = "bad process or channel control request";
+char Enodev[] = "no free devices";
+char Eprocdied[] = "process exited";
+char Enochild[] = "no living children";
+char Eioload[] = "i/o error in demand load";
+char Enovmem[] = "virtual memory allocation failed";
+char Ebadfd[] = "fd out of range or not open";
+char Enofd[] = "no free file descriptors";
+char Eisstream[] = "seek on a stream";
+char Ebadexec[] = "exec header invalid";
+char Etimedout[] = "connection timed out";
+char Econrefused[] = "connection refused";
+char Econinuse[] = "connection in use";
+char Eintr[] = "interrupted";
+char Enomem[] = "kernel allocate failed";
+char Enoswap[] = "swap space full";
+char Esoverlap[] = "segments overlap";
+char Emouseset[] = "mouse type already set";
+char Eshort[] = "i/o count too small";
+char Egreg[] = "ken has left the building";
+char Ebadspec[] = "bad attach specifier";
+char Enoreg[] = "process has no saved registers";
+char Enoattach[] = "mount/attach disallowed";
+char Eshortstat[] = "stat buffer too small";
+char Ebadstat[] = "malformed stat buffer";
+char Enegoff[] = "negative i/o offset";
+char Ecmdargs[] = "wrong #args in control message";

+ 206 - 0
sys/src/cmd/8c/div.c

@@ -0,0 +1,206 @@
+#include "gc.h"
+
+/*
+ * Based on: Granlund, T.; Montgomery, P.L.
+ * "Division by Invariant Integers using Multiplication".
+ * SIGPLAN Notices, Vol. 29, June 1994, page 61.
+ */
+
+#define	TN(n)	(1ULL << (n))
+#define	T31	TN(31)
+#define	T32	TN(32)
+
+int
+multiplier(ulong d, int p, uvlong *mp)
+{
+	int l;
+	uvlong mlo, mhi, tlo, thi;
+
+	l = topbit(d - 1) + 1;
+	mlo = (((TN(l) - d) << 32) / d) + T32;
+	if(l + p == 64)
+		mhi = (((TN(l) + 1 - d) << 32) / d) + T32;
+	else
+		mhi = (TN(32 + l) + TN(32 + l - p)) / d;
+	assert(mlo < mhi);
+	while(l > 0) {
+		tlo = mlo >> 1;
+		thi = mhi >> 1;
+		if(tlo == thi)
+			break;
+		mlo = tlo;
+		mhi = thi;
+		l--;
+	}
+	*mp = mhi;
+	return l;
+}
+
+int
+sdiv(ulong d, ulong *mp, int *sp)
+{
+	int s;
+	uvlong m;
+
+	s = multiplier(d, 32 - 1, &m);
+	*mp = m;
+	*sp = s;
+	if(m >= T31)
+		return 1;
+	else
+		return 0;
+}
+
+int
+udiv(ulong d, ulong *mp, int *sp, int *pp)
+{
+	int p, s;
+	uvlong m;
+
+	s = multiplier(d, 32, &m);
+	p = 0;
+	if(m >= T32) {
+		while((d & 1) == 0) {
+			d >>= 1;
+			p++;
+		}
+		s = multiplier(d, 32 - p, &m);
+	}
+	*mp = m;
+	*pp = p;
+	if(m >= T32) {
+		assert(p == 0);
+		*sp = s - 1;
+		return 1;
+	}
+	else {
+		*sp = s;
+		return 0;
+	}
+}
+
+void
+sdivgen(Node *l, Node *r, Node *ax, Node *dx)
+{
+	int a, s;
+	ulong m;
+	vlong c;
+
+	c = r->vconst;
+	if(c < 0)
+		c = -c;
+	a = sdiv(c, &m, &s);
+//print("a=%d i=%ld s=%d m=%lux\n", a, (long)r->vconst, s, m);
+	gins(AMOVL, nodconst(m), ax);
+	gins(AIMULL, l, Z);
+	gins(AMOVL, l, ax);
+	if(a)
+		gins(AADDL, ax, dx);
+	gins(ASHRL, nodconst(31), ax);
+	gins(ASARL, nodconst(s), dx);
+	gins(AADDL, ax, dx);
+	if(r->vconst < 0)
+		gins(ANEGL, Z, dx);
+}
+
+void
+udivgen(Node *l, Node *r, Node *ax, Node *dx)
+{
+	int a, s, t;
+	ulong m;
+	Node nod;
+
+	a = udiv(r->vconst, &m, &s, &t);
+//print("a=%ud i=%ld p=%d s=%d m=%lux\n", a, (long)r->vconst, t, s, m);
+	if(t != 0) {
+		gins(AMOVL, l, ax);
+		gins(ASHRL, nodconst(t), ax);
+		gins(AMOVL, nodconst(m), dx);
+		gins(AMULL, dx, Z);
+	}
+	else if(a) {
+		if(l->op != OREGISTER) {
+			regalloc(&nod, l, Z);
+			gins(AMOVL, l, &nod);
+			l = &nod;
+		}
+		gins(AMOVL, nodconst(m), ax);
+		gins(AMULL, l, Z);
+		gins(AADDL, l, dx);
+		gins(ARCRL, nodconst(1), dx);
+		if(l == &nod)
+			regfree(l);
+	}
+	else {
+		gins(AMOVL, nodconst(m), ax);
+		gins(AMULL, l, Z);
+	}
+	if(s != 0)
+		gins(ASHRL, nodconst(s), dx);
+}
+
+void
+sext(Node *d, Node *s, Node *l)
+{
+	if(s->reg == D_AX && !nodreg(d, Z, D_DX)) {
+		reg[D_DX]++;
+		gins(ACDQ, Z, Z);
+	}
+	else {
+		regalloc(d, l, Z);
+		gins(AMOVL, s, d);
+		gins(ASARL, nodconst(31), d);
+	}
+}
+
+void
+sdiv2(long c, int v, Node *l, Node *n)
+{
+	Node nod;
+
+	if(v > 0) {
+		if(v > 1) {
+			sext(&nod, n, l);
+			gins(AANDL, nodconst((1 << v) - 1), &nod);
+			gins(AADDL, &nod, n);
+			regfree(&nod);
+		}
+		else {
+			gins(ACMPL, n, nodconst(0x80000000));
+			gins(ASBBL, nodconst(-1), n);
+		}
+		gins(ASARL, nodconst(v), n);
+	}
+	if(c < 0)
+		gins(ANEGL, Z, n);
+}
+
+void
+smod2(long c, int v, Node *l, Node *n)
+{
+	Node nod;
+
+	if(c == 1) {
+		gins(AANDL, nodconst(1), n);
+		return;
+	}
+
+	sext(&nod, n, l);
+	if(v == 0) {
+		zeroregm(n);
+		gins(AXORL, &nod, n);
+		gins(ASUBL, &nod, n);
+	}
+	else if(v > 1) {
+		gins(AANDL, nodconst((1 << v) - 1), &nod);
+		gins(AADDL, &nod, n);
+		gins(AANDL, nodconst((1 << v) - 1), n);
+		gins(ASUBL, &nod, n);
+	}
+	else {
+		gins(AANDL, nodconst(1), n);
+		gins(AXORL, &nod, n);
+		gins(ASUBL, &nod, n);
+	}
+	regfree(&nod);
+}

+ 428 - 0
sys/src/cmd/8c/mul.c

@@ -0,0 +1,428 @@
+#include "gc.h"
+
+typedef struct	Malg	Malg;
+typedef struct	Mparam	Mparam;
+
+struct	Malg
+{
+	char	vals[10];
+};
+
+struct	Mparam
+{
+	ulong	value;
+	char	alg;
+	char	neg;
+	char	shift;
+	char	arg;
+	char	off;
+};
+
+static	Mparam	multab[32];
+static	int	mulptr;
+
+static	Malg	malgs[]	=
+{
+	{0, 100},
+	{-1, 1, 100},
+	{-9, -5, -3, 3, 5, 9, 100},
+	{6, 10, 12, 18, 20, 24, 36, 40, 72, 100},
+	{-8, -4, -2, 2, 4, 8, 100},
+};
+
+/*
+ * return position of lowest 1
+ */
+int
+lowbit(ulong v)
+{
+	int s, i;
+	ulong m;
+
+	s = 0;
+	m = 0xFFFFFFFFUL;
+	for(i = 16; i > 0; i >>= 1) {
+		m >>= i;
+		if((v & m) == 0) {
+			v >>= i;
+			s += i;
+		}
+	}
+	return s;
+}
+
+void
+genmuladd(Node *d, Node *s, int m, Node *a)
+{
+	Node nod;
+
+	nod.op = OINDEX;
+	nod.left = a;
+	nod.right = s;
+	nod.scale = m;
+	nod.type = types[TIND];
+	nod.xoffset = 0;
+	xcom(&nod);
+	gopcode(OADDR, d->type, &nod, d);
+}
+
+void
+mulparam(ulong m, Mparam *mp)
+{
+	int c, i, j, n, o, q, s;
+	int bc, bi, bn, bo, bq, bs, bt;
+	char *p;
+	long u;
+	ulong t;
+
+	bc = bq = 10;
+	bi = bn = bo = bs = bt = 0;
+	for(i = 0; i < nelem(malgs); i++) {
+		for(p = malgs[i].vals, j = 0; (o = p[j]) < 100; j++)
+		for(s = 0; s < 2; s++) {
+			c = 10;
+			q = 10;
+			u = m - o;
+			if(u == 0)
+				continue;
+			if(s) {
+				o = -o;
+				if(o > 0)
+					continue;
+				u = -u;
+			}
+			n = lowbit(u);
+			t = (ulong)u >> n;
+			switch(i) {
+			case 0:
+				if(t == 1) {
+					c = s + 1;
+					q = 0;
+					break;
+				}
+				switch(t) {
+				case 3:
+				case 5:
+				case 9:
+					c = s + 1;
+					if(n)
+						c++;
+					q = 0;
+					break;
+				}
+				if(s)
+					break;
+				switch(t) {
+				case 15:
+				case 25:
+				case 27:
+				case 45:
+				case 81:
+					c = 2;
+					if(n)
+						c++;
+					q = 1;
+					break;
+				}
+				break;
+			case 1:
+				if(t == 1) {
+					c = 3;
+					q = 3;
+					break;
+				}
+				switch(t) {
+				case 3:
+				case 5:
+				case 9:
+					c = 3;
+					q = 2;
+					break;
+				}
+				break;
+			case 2:
+				if(t == 1) {
+					c = 3;
+					q = 2;
+					break;
+				}
+				break;
+			case 3:
+				if(s)
+					break;
+				if(t == 1) {
+					c = 3;
+					q = 1;
+					break;
+				}
+				break;
+			case 4:
+				if(t == 1) {
+					c = 3;
+					q = 0;
+					break;
+				}
+				break;
+			}
+			if(c < bc || (c == bc && q > bq)) {
+				bc = c;
+				bi = i;
+				bn = n;
+				bo = o;
+				bq = q;
+				bs = s;
+				bt = t;
+			}
+		}
+	}
+	mp->value = m;
+	if(bc <= 3) {
+		mp->alg = bi;
+		mp->shift = bn;
+		mp->off = bo;
+		mp->neg = bs;
+		mp->arg = bt;
+	}
+	else
+		mp->alg = -1;
+}
+
+int
+m0(int a)
+{
+	switch(a) {
+	case -2:
+	case 2:
+		return 2;
+	case -3:
+	case 3:
+		return 2;
+	case -4:
+	case 4:
+		return 4;
+	case -5:
+	case 5:
+		return 4;
+	case 6:
+		return 2;
+	case -8:
+	case 8:
+		return 8;
+	case -9:
+	case 9:
+		return 8;
+	case 10:
+		return 4;
+	case 12:
+		return 2;
+	case 15:
+		return 2;
+	case 18:
+		return 8;
+	case 20:
+		return 4;
+	case 24:
+		return 2;
+	case 25:
+		return 4;
+	case 27:
+		return 2;
+	case 36:
+		return 8;
+	case 40:
+		return 4;
+	case 45:
+		return 4;
+	case 72:
+		return 8;
+	case 81:
+		return 8;
+	}
+	diag(Z, "bad m0");
+	return 0;
+}
+
+int
+m1(int a)
+{
+	switch(a) {
+	case 15:
+		return 4;
+	case 25:
+		return 4;
+	case 27:
+		return 8;
+	case 45:
+		return 8;
+	case 81:
+		return 8;
+	}
+	diag(Z, "bad m1");
+	return 0;
+}
+
+int
+m2(int a)
+{
+	switch(a) {
+	case 6:
+		return 2;
+	case 10:
+		return 2;
+	case 12:
+		return 4;
+	case 18:
+		return 2;
+	case 20:
+		return 4;
+	case 24:
+		return 8;
+	case 36:
+		return 4;
+	case 40:
+		return 8;
+	case 72:
+		return 8;
+	}
+	diag(Z, "bad m2");
+	return 0;
+}
+
+void
+shiftit(Type *t, Node *s, Node *d)
+{
+	long c;
+
+	c = (long)s->vconst & 31;
+	switch(c) {
+	case 0:
+		break;
+	case 1:
+		gopcode(OADD, t, d, d);
+		break;
+	default:
+		gopcode(OASHL, t, s, d);
+	}
+}
+
+static int
+mulgen1(ulong v, Node *n)
+{
+	int i, o;
+	Mparam *p;
+	Node nod, nods;
+
+	for(i = 0; i < nelem(multab); i++) {
+		p = &multab[i];
+		if(p->value == v)
+			goto found;
+	}
+
+	p = &multab[mulptr];
+	if(++mulptr == nelem(multab))
+		mulptr = 0;
+
+	mulparam(v, p);
+
+found:
+//	print("v=%.lx a=%d n=%d s=%d g=%d o=%d \n", p->value, p->alg, p->neg, p->shift, p->arg, p->off);
+	if(p->alg < 0)
+		return 0;
+
+	nods = *nodconst(p->shift);
+
+	o = OADD;
+	if(p->alg > 0) {
+		regalloc(&nod, n, Z);
+		if(p->off < 0)
+			o = OSUB;
+	}
+
+	switch(p->alg) {
+	case 0:
+		switch(p->arg) {
+		case 1:
+			shiftit(n->type, &nods, n);
+			break;
+		case 15:
+		case 25:
+		case 27:
+		case 45:
+		case 81:
+			genmuladd(n, n, m1(p->arg), n);
+			/* fall thru */
+		case 3:
+		case 5:
+		case 9:
+			genmuladd(n, n, m0(p->arg), n);
+			shiftit(n->type, &nods, n);
+			break;
+		default:
+			goto bad;
+		}
+		if(p->neg == 1)
+			gins(ANEGL, Z, n);
+		break;
+	case 1:
+		switch(p->arg) {
+		case 1:
+			gmove(n, &nod);
+			shiftit(n->type, &nods, &nod);
+			break;
+		case 3:
+		case 5:
+		case 9:
+			genmuladd(&nod, n, m0(p->arg), n);
+			shiftit(n->type, &nods, &nod);
+			break;
+		default:
+			goto bad;
+		}
+		if(p->neg)
+			gopcode(o, n->type, &nod, n);
+		else {
+			gopcode(o, n->type, n, &nod);
+			gmove(&nod, n);
+		}
+		break;
+	case 2:
+		genmuladd(&nod, n, m0(p->off), n);
+		shiftit(n->type, &nods, n);
+		goto comop;
+	case 3:
+		genmuladd(&nod, n, m0(p->off), n);
+		shiftit(n->type, &nods, n);
+		genmuladd(n, &nod, m2(p->off), n);
+		break;
+	case 4:
+		genmuladd(&nod, n, m0(p->off), nodconst(0));
+		shiftit(n->type, &nods, n);
+		goto comop;
+	default:
+		diag(Z, "bad mul alg");
+		break;
+	comop:
+		if(p->neg) {
+			gopcode(o, n->type, n, &nod);
+			gmove(&nod, n);
+		}
+		else
+			gopcode(o, n->type, &nod, n);
+	}
+
+	if(p->alg > 0)
+		regfree(&nod);
+
+	return 1;
+
+bad:
+	diag(Z, "mulgen botch");
+	return 1;
+}
+
+void
+mulgen(Type *t, Node *r, Node *n)
+{
+	if(!mulgen1(r->vconst, n))
+		gopcode(OMUL, t, r, n);
+}

+ 95 - 0
sys/src/cmd/ip/snoopy/rtcp.c

@@ -0,0 +1,95 @@
+#include <u.h>
+#include <libc.h>
+#include <ip.h>
+#include "dat.h"
+#include "protos.h"
+
+typedef struct Hdr Hdr;
+struct Hdr {
+	uchar	hdr;			// RTCP header
+	uchar	pt;			// Packet type
+	uchar	len[2];		// Report length
+	uchar	ssrc[4];		// Synchronization source identifier
+	uchar	ntp[8];		// NTP time stamp
+	uchar	rtp[4];		// RTP time stamp
+	uchar	pktc[4];		// Sender's packet count
+	uchar	octc[4];		// Sender's octect count
+};
+
+typedef struct Report Report;
+struct Report {
+	uchar	ssrc[4];		// SSRC identifier
+	uchar	lost[4];		// Fraction + cumu lost
+	uchar	seqhi[4];		// Highest seq number received
+	uchar	jitter[4];		// Interarrival jitter
+	uchar	lsr[4];		// Last SR
+	uchar	dlsr[4];		// Delay since last SR
+};
+
+enum{
+	RTCPLEN = 28,		// Minimum size of an RTCP header
+	REPORTLEN = 24,
+};
+
+
+static void
+p_compile(Filter *f)
+{
+	sysfatal("unknown rtcp field: %s", f->s);
+}
+
+static int
+p_filter(Filter *, Msg *)
+{
+	return 0;
+}
+
+static int
+p_seprint(Msg *m)
+{
+	Hdr*h;
+	Report*r;
+	int rc, i, frac;
+	float dlsr;
+
+	if(m->pe - m->ps < RTCPLEN)
+		return -1;
+
+	h = (Hdr*)m->ps;
+	if(m->pe - m->ps < (NetS(h->len) + 1) * 4)
+		return -1;
+
+	rc = h->hdr & 0x1f;
+	m->ps += RTCPLEN;
+	m->p = seprint(m->p, m->e, "version=%d rc=%d tp=%d ssrc=%8ux ntp=%d.%.10ud rtp=%d pktc=%d octc=%d hlen=%d",
+				(h->hdr >> 6) & 3, rc, h->pt, NetL(h->ssrc),
+				NetL(h->ntp), (uint)NetL(&h->ntp[4]), NetL(h->rtp),
+				NetL(h->pktc), NetL(h->octc),
+				(NetS(h->len) + 1) * 4);
+
+	for(i = 0; i < rc; i++){
+		r = (Report*)m->ps;	
+		m->ps += REPORTLEN;
+
+		frac = (int)(((float)r->lost[0] * 100.) / 256.);
+		r->lost[0] = 0;
+		dlsr = (float)NetL(r->dlsr) / 65536.;
+
+		m->p = seprint(m->p, m->e, "\n\trr(csrc=%8ux frac=%3d%% cumu=%10d seqhi=%10ud jitter=%10d lsr=%8ux dlsr=%f)",
+				NetL(r->ssrc), frac, NetL(r->lost), NetL(r->seqhi),
+				NetL(r->jitter), NetL(r->lsr), 
+				dlsr);
+	}
+	m->pr = nil;
+	return 0;
+}
+
+Proto rtcp = {
+	"rtcp",
+	p_compile,
+	p_filter,
+	p_seprint,
+	nil,
+	nil,
+	defaultframer,
+};

+ 74 - 0
sys/src/cmd/ip/snoopy/rtp.c

@@ -0,0 +1,74 @@
+#include <u.h>
+#include <libc.h>
+#include <ip.h>
+#include "dat.h"
+#include "protos.h"
+
+typedef struct Hdr Hdr;
+struct Hdr {
+	uchar	hdr;		// RTP header
+	uchar	marker;	// Payload and marker
+	uchar	seq[2];	// Sequence number
+	uchar	ts[4];		// Time stamp
+	uchar	ssrc[4];	// Synchronization source identifier
+};
+
+enum{
+	RTPLEN = 12,		// Minimum size of an RTP header
+};
+
+
+static void
+p_compile(Filter *f)
+{
+	sysfatal("unknown rtp field: %s", f->s);
+}
+
+static int
+p_filter(Filter *, Msg *)
+{
+	return 0;
+}
+
+static int
+p_seprint(Msg *m)
+{
+	Hdr*h;
+	ushort seq;
+	ulong ssrc, ts;
+	int cc, i;
+
+	if(m->pe - m->ps < RTPLEN)
+		return -1;
+
+	h = (Hdr*)m->ps;
+	cc = h->hdr & 0xf;
+	if(m->pe - m->ps < RTPLEN + cc * 4)
+		return -1;
+
+	m->ps += RTPLEN;
+
+	seq = NetS(h->seq);
+	ts = NetL(h->ts);
+	ssrc = NetL(h->ssrc);
+
+	m->p = seprint(m->p, m->e, "version=%d x=%d cc=%d seq=%d ts=%ld ssrc=%ulx",
+				(h->hdr >> 6) & 3, (h->hdr >> 4) & 1, cc, seq, ts, ssrc);
+	for(i = 0; i < cc; i++){
+		m->p = seprint(m->p, m->e, " csrc[%d]=%d",
+				i, NetL(m->ps));
+		m->ps += 4;
+	}
+	m->pr = nil;
+	return 0;
+}
+
+Proto rtp = {
+	"rtp",
+	p_compile,
+	p_filter,
+	p_seprint,
+	nil,
+	nil,
+	defaultframer,
+};

+ 2 - 2
sys/src/cmd/usb/print/mkfile → sys/src/cmd/usb/printer/mkfile

@@ -6,7 +6,7 @@ none:VQ:
 	echo mk all, install, installall, clean, or nuke
 
 install installall safeinstall:V:
-	cp usbprint $bin
+	cp usbprinter $BIN
 
 all safeinstall clean nuke:V:
-	echo usbprint
+	echo usbprinter

+ 13 - 0
sys/src/cmd/usb/printer/usbprinter

@@ -0,0 +1,13 @@
+#!/bin/rc
+
+if (! test -e /dev/usb)
+	bind -b '#U' /dev
+
+for(i in /dev/usb?/[0-9]*){
+	if (grep -s 'Enabled 0x020107' $i/status){
+		echo -n 'ep 2 bulk w 64 32' >$i/ctl
+		bind $i/ep2data /n/lp
+		exit ''
+	}
+}
+exit 'no printer'

+ 2 - 2
sys/src/mkfile.proto

@@ -2,8 +2,8 @@
 # common mkfile parameters shared by all architectures
 #
 
-OS=2578qv
-CPUS=mips 386 power alpha arm
+OS=578qv
+CPUS=arm alpha 386 power mips
 CFLAGS=-FVw
 LEX=lex
 YACC=yacc