Browse Source

Plan 9 from Bell Labs 2007-05-04

David du Colombier 14 years ago
parent
commit
15b2ed9f44

+ 10 - 4
dist/replica/_plan9.db

@@ -1402,7 +1402,7 @@ lib/face/48x48x4/x/xigh.1 - 664 sys sys 1142019024 1204
 lib/face/48x48x4/y - 20000000775 sys sys 1020895714 0
 lib/face/48x48x4/z - 20000000775 sys sys 1020895714 0
 lib/face/48x48x8 - 20000000775 sys sys 1123100641 0
-lib/face/48x48x8/.dict - 664 sys sys 1176834010 4026
+lib/face/48x48x8/.dict - 664 sys sys 1178172651 4056
 lib/face/48x48x8/Z - 20000000775 sys sys 1020895714 0
 lib/face/48x48x8/a - 20000000775 sys sys 1056983599 0
 lib/face/48x48x8/a/alcortes.1 - 664 sys sys 1176753392 976
@@ -5481,6 +5481,7 @@ rc/bin/dial - 20000000775 sys sys 1059180057 0
 rc/bin/diffy - 775 sys sys 1140694870 277
 rc/bin/dircp - 775 sys sys 1169490692 234
 rc/bin/diskparts - 775 sys sys 1177742148 605
+rc/bin/dmaon - 775 sys sys 1178214935 213
 rc/bin/doc2ps - 775 sys sys 1069793831 244
 rc/bin/doc2txt - 775 sys sys 1025197880 563
 rc/bin/doctype - 775 sys sys 1162921755 1727
@@ -5808,7 +5809,7 @@ sys/games - 20000000775 sys sys 1117225532 0
 sys/games/lib - 20000000775 sys sys 1165337608 0
 sys/games/lib/4scores - 10000000666 sys sys 1118680448 0
 sys/games/lib/5scores - 10000000666 sys sys 1118680453 0
-sys/games/lib/fortunes - 664 sys sys 1177258701 264583
+sys/games/lib/fortunes - 664 sys sys 1178172623 264652
 sys/games/lib/mahjongg - 20000000775 sys sys 1095792278 0
 sys/games/lib/mahjongg/backgrounds - 20000000775 sys sys 1095792293 0
 sys/games/lib/mahjongg/backgrounds/default.bit - 664 sys sys 1095792293 346803
@@ -7657,7 +7658,7 @@ sys/man/4/archfs - 664 sys sys 960000712 533
 sys/man/4/cdfs - 664 sys sys 1026846913 3638
 sys/man/4/cfs - 664 sys sys 1172762903 1813
 sys/man/4/consolefs - 664 sys sys 1144424854 4245
-sys/man/4/cwfs - 664 sys sys 1174799917 6329
+sys/man/4/cwfs - 664 sys sys 1178224996 6225
 sys/man/4/dossrv - 664 sys sys 1168307403 4334
 sys/man/4/execnet - 664 sys sys 1019866708 1069
 sys/man/4/exportfs - 664 sys sys 1145881912 4655
@@ -7956,7 +7957,7 @@ sys/src/9/ip/inferno.c - 664 sys sys 1022588098 517
 sys/src/9/ip/ip.c - 664 sys sys 1176957040 15288
 sys/src/9/ip/ip.h - 664 sys sys 1176957139 15982
 sys/src/9/ip/ipaux.c - 664 sys sys 1079538100 12862
-sys/src/9/ip/ipifc.c - 664 sys sys 1176957160 33517
+sys/src/9/ip/ipifc.c - 664 sys sys 1178172609 33638
 sys/src/9/ip/ipmux.c - 664 sys sys 1047260566 15362
 sys/src/9/ip/iproute.c - 664 sys sys 1168305878 14778
 sys/src/9/ip/ipv6.c - 664 sys sys 1176938017 14297
@@ -15812,3 +15813,8 @@ usr/glenda/lib/profile - 664 glenda glenda 1105128663 890
 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/man/1/INDEX - 664 sys sys 1178249214 3131
+sys/man/2/INDEX - 664 sys sys 1178249215 20532
+sys/man/4/INDEX - 664 sys sys 1178249215 1026
+sys/man/6/INDEX - 664 sys sys 1178249215 503
+sys/man/8/INDEX - 664 sys sys 1178249215 2888

+ 10 - 9
dist/replica/plan9.db

@@ -1402,7 +1402,7 @@ lib/face/48x48x4/x/xigh.1 - 664 sys sys 1142019024 1204
 lib/face/48x48x4/y - 20000000775 sys sys 1020895714 0
 lib/face/48x48x4/z - 20000000775 sys sys 1020895714 0
 lib/face/48x48x8 - 20000000775 sys sys 1123100641 0
-lib/face/48x48x8/.dict - 664 sys sys 1176834010 4026
+lib/face/48x48x8/.dict - 664 sys sys 1178172651 4056
 lib/face/48x48x8/Z - 20000000775 sys sys 1020895714 0
 lib/face/48x48x8/a - 20000000775 sys sys 1056983599 0
 lib/face/48x48x8/a/alcortes.1 - 664 sys sys 1176753392 976
@@ -5481,6 +5481,7 @@ rc/bin/dial - 20000000775 sys sys 1059180057 0
 rc/bin/diffy - 775 sys sys 1140694870 277
 rc/bin/dircp - 775 sys sys 1169490692 234
 rc/bin/diskparts - 775 sys sys 1177742148 605
+rc/bin/dmaon - 775 sys sys 1178214935 213
 rc/bin/doc2ps - 775 sys sys 1069793831 244
 rc/bin/doc2txt - 775 sys sys 1025197880 563
 rc/bin/doctype - 775 sys sys 1162921755 1727
@@ -5808,7 +5809,7 @@ sys/games - 20000000775 sys sys 1117225532 0
 sys/games/lib - 20000000775 sys sys 1165337608 0
 sys/games/lib/4scores - 10000000666 sys sys 1118680448 0
 sys/games/lib/5scores - 10000000666 sys sys 1118680453 0
-sys/games/lib/fortunes - 664 sys sys 1177258701 264583
+sys/games/lib/fortunes - 664 sys sys 1178172623 264652
 sys/games/lib/mahjongg - 20000000775 sys sys 1095792278 0
 sys/games/lib/mahjongg/backgrounds - 20000000775 sys sys 1095792293 0
 sys/games/lib/mahjongg/backgrounds/default.bit - 664 sys sys 1095792293 346803
@@ -7311,7 +7312,7 @@ sys/man/1/0intro - 664 sys sys 1101668050 9625
 sys/man/1/2a - 664 sys sys 1158281866 1196
 sys/man/1/2c - 664 sys sys 1175892134 9440
 sys/man/1/2l - 664 sys sys 1158281887 4376
-sys/man/1/INDEX - 664 sys sys 1141357442 3040
+sys/man/1/INDEX - 664 sys sys 1178249214 3131
 sys/man/1/INDEX.html - 664 sys sys 1141352366 16517
 sys/man/1/acid - 664 sys sys 1134233059 9730
 sys/man/1/acme - 664 sys sys 1169932614 18550
@@ -7471,7 +7472,7 @@ sys/man/2/9p - 664 sys sys 1175867369 15852
 sys/man/2/9pcmdbuf - 664 sys sys 1165622380 2076
 sys/man/2/9pfid - 664 sys sys 1106072437 3663
 sys/man/2/9pfile - 664 sys sys 1048637158 4408
-sys/man/2/INDEX - 664 sys sys 1141357442 20441
+sys/man/2/INDEX - 664 sys sys 1178249215 20532
 sys/man/2/INDEX.html - 664 sys sys 1141352366 27454
 sys/man/2/abort - 664 sys sys 944959693 331
 sys/man/2/abs - 664 sys sys 944959693 461
@@ -7650,14 +7651,14 @@ sys/man/3/usb - 664 sys sys 1167774741 7052
 sys/man/3/vga - 664 sys sys 1131301005 4957
 sys/man/4 - 20000000775 sys sys 1128556957 0
 sys/man/4/0intro - 664 sys sys 944959699 472
-sys/man/4/INDEX - 664 sys sys 1141357442 1018
+sys/man/4/INDEX - 664 sys sys 1178249215 1026
 sys/man/4/INDEX.html - 664 sys sys 1141352366 5045
 sys/man/4/acme - 664 sys sys 1142172883 10392
 sys/man/4/archfs - 664 sys sys 960000712 533
 sys/man/4/cdfs - 664 sys sys 1026846913 3638
 sys/man/4/cfs - 664 sys sys 1172762903 1813
 sys/man/4/consolefs - 664 sys sys 1144424854 4245
-sys/man/4/cwfs - 664 sys sys 1174799917 6329
+sys/man/4/cwfs - 664 sys sys 1178224996 6225
 sys/man/4/dossrv - 664 sys sys 1168307403 4334
 sys/man/4/execnet - 664 sys sys 1019866708 1069
 sys/man/4/exportfs - 664 sys sys 1145881912 4655
@@ -7711,7 +7712,7 @@ sys/man/5/version - 664 sys sys 1015024830 2657
 sys/man/5/walk - 664 sys sys 1015024830 3622
 sys/man/6 - 20000000775 sys sys 1158064572 0
 sys/man/6/0intro - 664 sys sys 944959678 179
-sys/man/6/INDEX - 664 sys sys 1141357442 485
+sys/man/6/INDEX - 664 sys sys 1178249215 503
 sys/man/6/INDEX.html - 664 sys sys 1141352366 3298
 sys/man/6/a.out - 664 sys sys 1015024888 7155
 sys/man/6/ar - 664 sys sys 944959678 2092
@@ -7756,7 +7757,7 @@ sys/man/8 - 20000000775 sys sys 1162240005 0
 sys/man/8/0intro - 664 sys sys 944959679 247
 sys/man/8/9load - 664 sys sys 1094676489 9170
 sys/man/8/9pcon - 664 sys sys 1145881850 2234
-sys/man/8/INDEX - 664 sys sys 1141357442 2768
+sys/man/8/INDEX - 664 sys sys 1178249215 2888
 sys/man/8/INDEX.html - 664 sys sys 1141352367 8470
 sys/man/8/aan - 664 sys sys 1045501064 1670
 sys/man/8/aliasmail - 664 sys sys 1170818958 1350
@@ -7956,7 +7957,7 @@ sys/src/9/ip/inferno.c - 664 sys sys 1022588098 517
 sys/src/9/ip/ip.c - 664 sys sys 1176957040 15288
 sys/src/9/ip/ip.h - 664 sys sys 1176957139 15982
 sys/src/9/ip/ipaux.c - 664 sys sys 1079538100 12862
-sys/src/9/ip/ipifc.c - 664 sys sys 1176957160 33517
+sys/src/9/ip/ipifc.c - 664 sys sys 1178172609 33638
 sys/src/9/ip/ipmux.c - 664 sys sys 1047260566 15362
 sys/src/9/ip/iproute.c - 664 sys sys 1168305878 14778
 sys/src/9/ip/ipv6.c - 664 sys sys 1176938017 14297

+ 10 - 0
dist/replica/plan9.log

@@ -48535,3 +48535,13 @@
 1178076606 1 c 386/bin/ip/ping - 775 sys sys 1178076139 84614
 1178128816 0 c sys/src/cmd/ip/ftpd.c - 664 sys sys 1178127705 33168
 1178136016 0 c 386/bin/ip/ftpd - 775 sys sys 1178135892 170692
+1178173812 0 c lib/face/48x48x8/.dict - 664 sys sys 1178172651 4056
+1178173812 1 c sys/games/lib/fortunes - 664 sys sys 1178172623 264652
+1178173812 2 c sys/src/9/ip/ipifc.c - 664 sys sys 1178172609 33638
+1178215211 0 a rc/bin/dmaon - 775 sys sys 1178214935 213
+1178226017 0 c sys/man/4/cwfs - 664 sys sys 1178224996 6225
+1178249416 0 c sys/man/1/INDEX - 664 sys sys 1178249214 3131
+1178249416 1 c sys/man/2/INDEX - 664 sys sys 1178249215 20532
+1178249416 2 c sys/man/4/INDEX - 664 sys sys 1178249215 1026
+1178249416 3 c sys/man/6/INDEX - 664 sys sys 1178249215 503
+1178249416 4 c sys/man/8/INDEX - 664 sys sys 1178249215 2888

+ 1 - 0
lib/face/48x48x8/.dict

@@ -61,6 +61,7 @@ gmail.com/uriel99 u/uriel.2
 google.com/unknown g/google.1
 gr/unknown u/unknown.gr
 gsyc.escet.urjc.es/nemo n/nemo.1
+hamnavoe.com/9fans m/miller.1
 hamnavoe.com/miller m/miller.1
 harvard.edu/unknown h/harvard.1
 hbs.edu/unknown h/harvard.1

+ 7 - 0
rc/bin/dmaon

@@ -0,0 +1,7 @@
+#!/bin/rc
+# dmaon - turn on ide dma, if possible
+rfork e
+for (ctl in /dev/sd[C-H]?/ctl)
+	if (test -e $ctl && grep -s '^config .* dma ' $ctl &&
+	    ! grep -s '^config .* dma 00000000 ' $ctl)
+		echo 'dma on' >$ctl

+ 3 - 0
sys/games/lib/fortunes

@@ -4176,3 +4176,6 @@ Remember to drink responsibly during this St. Patrick's Day season.
 File under POPULAR: Male Vocal - Syd Barrett LP sleeve
 N = C + {fb (cm) . fb (tc)} + fb (Ts) + fc . ta, where N=force in Newtons required to break the cooked bacon, fb=function of the bacon type, fc=function of the condiment/filling effect, Ts=serving temperature, tc=cooking time, ta=time or duration of application of condiment/filling, cm=cooking method, C=Newtons required to break uncooked bacon
 #define v6addrcurr(lifc) (( (lifc)->origint + (lifc)->preflt >= (NOW/10^3) ) || ( (lifc)->preflt == 0xffffffff ))
+It seems that subjective C is more popular than objective C - brucee
+Eta aquarid  meeteeor shouwer - astro -k
+The program 'apt-get' is currently not installed.  You can install it by typing: apt-get install apt  - ubuntu linux

+ 11 - 1
sys/man/1/INDEX

@@ -1,24 +1,30 @@
 0intro 0intro
 intro 0intro
+0a 2a
 1a 2a
 2a 2a
 5a 2a
+6a 2a
 7a 2a
 8a 2a
 ka 2a
 qa 2a
 va 2a
+0c 2c
 1c 2c
 2c 2c
 5c 2c
+6c 2c
 7c 2c
 8c 2c
 kc 2c
 qc 2c
 vc 2c
+0l 2l
 1l 2l
 2l 2l
 5l 2l
+6l 2l
 7l 2l
 8l 2l
 kl 2l
@@ -56,6 +62,7 @@ chgrp chgrp
 chmod chmod
 cleanname cleanname
 cmp cmp
+col col
 colors colors
 getmap colors
 comm comm
@@ -120,11 +127,12 @@ graph graph
 grep grep
 gs gs
 gview gview
-
 bunzip2 gzip
 bzip2 gzip
+compress gzip
 gunzip gzip
 gzip gzip
+uncompress gzip
 unzip gzip
 zip gzip
 hget hget
@@ -149,6 +157,7 @@ broke kill
 kill kill
 slay kill
 ktrace ktrace
+kmem leak
 leak leak
 lens lens
 lex lex
@@ -170,6 +179,7 @@ mlmgr mlmgr
 mlowner mlmgr
 html2ms ms2html
 ms2html ms2html
+mug mug
 nedmail nedmail
 netstat netstat
 news news

+ 5 - 0
sys/man/2/INDEX

@@ -6,6 +6,7 @@ dirread9p 9p
 emalloc9p 9p
 erealloc9p 9p
 estrdup9p 9p
+listensrv 9p
 postfd 9p
 postmountsrv 9p
 readbuf 9p
@@ -13,6 +14,7 @@ readstr 9p
 respond 9p
 responderror 9p
 srv 9p
+threadlistensrv 9p
 threadpostmountsrv 9p
 9pcmdbuf 9pcmdbuf
 Cmdbuf 9pcmdbuf
@@ -1142,6 +1144,7 @@ runestrstr runestrcat
 recognize scribble
 scribble scribble
 scribblealloc scribble
+closescsi scsi
 openscsi scsi
 scsi scsi
 scsicmd scsi
@@ -1163,6 +1166,8 @@ segdetach segattach
 segfree segattach
 segbrk segbrk
 segflush segflush
+semacquire semacquire
+semrelease semacquire
 longjmp setjmp
 notejmp setjmp
 setjmp setjmp

+ 2 - 1
sys/man/4/INDEX

@@ -8,6 +8,7 @@ cfs cfs
 C consolefs
 clog consolefs
 consolefs consolefs
+cwfs cwfs
 9660srv dossrv
 9fat: dossrv
 a: dossrv
@@ -70,7 +71,7 @@ upasfs upasfs
 usb usb
 usbaudio usb
 usbmouse usb
-usbprinter usb
+usbprint usb
 usbd usbd
 vacfs vacfs
 webcookies webcookies

+ 3 - 10
sys/man/4/cwfs

@@ -252,6 +252,7 @@ and show the modified times of the MIPS C compiler
 over all dumps in February, 1992:
 .IP
 .EX
+cwfs w0
 9fs dump
 ls -l /n/dump/1992/02??/mips/bin/vc
 .EE
@@ -261,15 +262,6 @@ To get only one line of output for each version of the compiler:
 .EX
 ls -lp /n/dump/1992/02??/mips/bin/vc | uniq
 .EE
-.PP
-Make the
-.B other
-file system available in directory
-.BR /n/emelieother :
-.IP
-.EX
-mount -c /srv/boot /n/emelieother other
-.EE
 .SH SOURCE
 .B /sys/src/cmd/cwfs
 .SH SEE ALSO
@@ -278,7 +270,8 @@ mount -c /srv/boot /n/emelieother other
 .IR sd (3),
 .IR fs (4),
 .IR srv (4),
-.IR fs (8)
+.IR fs (8),
+.IR fsconfig (8)
 .br
 Sean Quinlan,
 ``A Cached WORM File System'',

+ 1 - 0
sys/man/6/INDEX

@@ -17,6 +17,7 @@ keys.who keys.who
 man man
 map map
 mhtml mhtml
+mnihongo mnihongo
 mpictures mpictures
 ms ms
 namespace namespace

+ 9 - 1
sys/man/8/INDEX

@@ -21,9 +21,10 @@ status auth
 wrkey auth
 boot boot
 booting booting
-checkarenas checkarenas
 cpurc cpurc
+cpurc.local cpurc
 termrc cpurc
+termrc.local cpurc
 cron cron
 dhcpd dhcpd
 dhcpleases dhcpd
@@ -35,6 +36,8 @@ fossilcons fossilcons
 exsort fs
 fs fs
 fsconfig fsconfig
+fshalt fshalt
+reboot fshalt
 getflags getflags
 usage getflags
 gpsevermore gpsfs
@@ -47,6 +50,8 @@ save httpd
 webls httpd
 init init
 ipconfig ipconfig
+ipv6on ipconfig
+linklocal ipconfig
 rip ipconfig
 ftpd ipserv
 ipserv ipserv
@@ -72,9 +77,12 @@ tcp113 listen
 tcp143 listen
 tcp17007 listen
 tcp17009 listen
+tcp17010 listen
 tcp17013 listen
+tcp1723 listen
 tcp19 listen
 tcp21 listen
+tcp22 listen
 tcp23 listen
 tcp25 listen
 tcp513 listen

+ 11 - 7
sys/src/9/ip/ipifc.c

@@ -185,6 +185,17 @@ ipifcunbind(Ipifc *ifc)
 		ifc->conv->inuse--;
 	ifc->ifcid++;
 
+	/* disassociate logical interfaces (before zeroing ifc->arg) */
+	while(ifc->lifc){
+		err = ipifcremlifc(ifc, ifc->lifc);
+		/*
+		 * note: err non-zero means lifc not found,
+		 * which can't happen in this case.
+		 */
+		if(err)
+			error(err);
+	}
+
 	/* disassociate device */
 	if(ifc->m && ifc->m->unbind)
 		(*ifc->m->unbind)(ifc);
@@ -197,13 +208,6 @@ ipifcunbind(Ipifc *ifc)
 	qclose(ifc->conv->wq);
 	qclose(ifc->conv->sq);
 
-	/* disassociate logical interfaces */
-	while(ifc->lifc){
-		err = ipifcremlifc(ifc, ifc->lifc);
-		if(err)
-			error(err);
-	}
-
 	ifc->m = nil;
 	wunlock(ifc);
 	poperror();