Browse Source

Plan 9 from Bell Labs 2008-06-17

David du Colombier 16 years ago
parent
commit
130ba8753a
5 changed files with 21 additions and 16 deletions
  1. 2 2
      dist/replica/_plan9.db
  2. 2 2
      dist/replica/plan9.db
  3. 2 0
      dist/replica/plan9.log
  4. 2 1
      rc/bin/dontkill
  5. 13 11
      sys/man/4/cdfs

+ 2 - 2
dist/replica/_plan9.db

@@ -5525,7 +5525,7 @@ rc/bin/dmaon - 775 sys sys 1205288448 220
 rc/bin/doc2ps - 775 sys sys 1205813503 338
 rc/bin/doc2ps - 775 sys sys 1205813503 338
 rc/bin/doc2txt - 775 sys sys 1025197880 563
 rc/bin/doc2txt - 775 sys sys 1025197880 563
 rc/bin/doctype - 775 sys sys 1162921755 1727
 rc/bin/doctype - 775 sys sys 1162921755 1727
-rc/bin/dontkill - 775 sys sys 1207346989 293
+rc/bin/dontkill - 775 sys sys 1213634657 313
 rc/bin/dosmnt - 775 sys sys 1109288224 303
 rc/bin/dosmnt - 775 sys sys 1109288224 303
 rc/bin/dpost - 775 sys sys 1192741346 220
 rc/bin/dpost - 775 sys sys 1192741346 220
 rc/bin/eject - 775 sys sys 945617207 123
 rc/bin/eject - 775 sys sys 945617207 123
@@ -7732,7 +7732,7 @@ sys/man/4/INDEX - 664 sys sys 1196638942 1026
 sys/man/4/INDEX.html - 664 sys sys 1196638942 5147
 sys/man/4/INDEX.html - 664 sys sys 1196638942 5147
 sys/man/4/acme - 664 sys sys 1196638943 10435
 sys/man/4/acme - 664 sys sys 1196638943 10435
 sys/man/4/archfs - 664 sys sys 1196638943 533
 sys/man/4/archfs - 664 sys sys 1196638943 533
-sys/man/4/cdfs - 664 sys sys 1211917385 5263
+sys/man/4/cdfs - 664 sys sys 1213644483 5267
 sys/man/4/cfs - 664 sys sys 1196638943 2136
 sys/man/4/cfs - 664 sys sys 1196638943 2136
 sys/man/4/consolefs - 664 sys sys 1196638943 4389
 sys/man/4/consolefs - 664 sys sys 1196638943 4389
 sys/man/4/cwfs - 664 sys sys 1196638943 6553
 sys/man/4/cwfs - 664 sys sys 1196638943 6553

+ 2 - 2
dist/replica/plan9.db

@@ -5525,7 +5525,7 @@ rc/bin/dmaon - 775 sys sys 1205288448 220
 rc/bin/doc2ps - 775 sys sys 1205813503 338
 rc/bin/doc2ps - 775 sys sys 1205813503 338
 rc/bin/doc2txt - 775 sys sys 1025197880 563
 rc/bin/doc2txt - 775 sys sys 1025197880 563
 rc/bin/doctype - 775 sys sys 1162921755 1727
 rc/bin/doctype - 775 sys sys 1162921755 1727
-rc/bin/dontkill - 775 sys sys 1207346989 293
+rc/bin/dontkill - 775 sys sys 1213634657 313
 rc/bin/dosmnt - 775 sys sys 1109288224 303
 rc/bin/dosmnt - 775 sys sys 1109288224 303
 rc/bin/dpost - 775 sys sys 1192741346 220
 rc/bin/dpost - 775 sys sys 1192741346 220
 rc/bin/eject - 775 sys sys 945617207 123
 rc/bin/eject - 775 sys sys 945617207 123
@@ -7732,7 +7732,7 @@ sys/man/4/INDEX - 664 sys sys 1196638942 1026
 sys/man/4/INDEX.html - 664 sys sys 1196638942 5147
 sys/man/4/INDEX.html - 664 sys sys 1196638942 5147
 sys/man/4/acme - 664 sys sys 1196638943 10435
 sys/man/4/acme - 664 sys sys 1196638943 10435
 sys/man/4/archfs - 664 sys sys 1196638943 533
 sys/man/4/archfs - 664 sys sys 1196638943 533
-sys/man/4/cdfs - 664 sys sys 1211917385 5263
+sys/man/4/cdfs - 664 sys sys 1213644483 5267
 sys/man/4/cfs - 664 sys sys 1196638943 2136
 sys/man/4/cfs - 664 sys sys 1196638943 2136
 sys/man/4/consolefs - 664 sys sys 1196638943 4389
 sys/man/4/consolefs - 664 sys sys 1196638943 4389
 sys/man/4/cwfs - 664 sys sys 1196638943 6553
 sys/man/4/cwfs - 664 sys sys 1196638943 6553

+ 2 - 0
dist/replica/plan9.log

@@ -19885,3 +19885,5 @@
 1213560004 4 c sys/src/cmd/vac/vac.h - 664 sys sys 1213558389 3987
 1213560004 4 c sys/src/cmd/vac/vac.h - 664 sys sys 1213558389 3987
 1213560004 5 c sys/src/cmd/vac/vacfs.c - 664 sys sys 1213558401 13323
 1213560004 5 c sys/src/cmd/vac/vacfs.c - 664 sys sys 1213558401 13323
 1213560004 6 d sys/src/cmd/vac/vtdump.c - 664 sys sys 1213498240 0
 1213560004 6 d sys/src/cmd/vac/vtdump.c - 664 sys sys 1213498240 0
+1213635606 0 c rc/bin/dontkill - 775 sys sys 1213634657 313
+1213644604 0 c sys/man/4/cdfs - 664 sys sys 1213644483 5267

+ 2 - 1
rc/bin/dontkill

@@ -6,4 +6,5 @@ if (! ~ $#* 1) {
 	exit usage
 	exit usage
 }
 }
 # see /sys/src/9/port/proc.c:/^killbig
 # see /sys/src/9/port/proc.c:/^killbig
-exec chmod -w /proc/^`{psu | awk '$NF ~ /'$1'/ {print $2}'}^/ctl
+pids=`{psu | awk '$NF ~ /'$1'/ {print $2}'}
+~ $#pids 0 || chmod -w /proc/^$pids^/ctl

+ 13 - 11
sys/man/4/cdfs

@@ -60,15 +60,15 @@ and
 .I NNN
 .I NNN
 is the track number.
 is the track number.
 .PP
 .PP
-If the device is capable of writing discs
-and contains a writable disc, the top level
+If the device can write discs
+and contains a writable disc, the top-level
 directory also contains an empty directory
 directory also contains an empty directory
 .B wd
 .B wd
 and, for CDs only,
 and, for CDs only,
 an empty directory
 an empty directory
 .BR wa .
 .BR wa .
 Files created in these directories
 Files created in these directories
-appear in the top level directory
+appear in the top-level directory
 as new data or audio tracks, respectively, regardless of name.
 as new data or audio tracks, respectively, regardless of name.
 .PP
 .PP
 At any time, any number of tracks
 At any time, any number of tracks
@@ -100,7 +100,7 @@ also contains a
 file, into which control messages
 file, into which control messages
 may be echoed.
 may be echoed.
 The current control messages are:
 The current control messages are:
-.TF \fLformat
+.TF \fLquickblank
 .TP
 .TP
 .B format
 .B format
 Format the rewritable disc (\c
 Format the rewritable disc (\c
@@ -179,13 +179,12 @@ Additional lines may further describe the current disc.
 takes 4 optional arguments.
 takes 4 optional arguments.
 The
 The
 .B -s
 .B -s
-option causes
+option makes
 .I aux/cddb
 .I aux/cddb
-to use a different
+use
 .I server
 .I server
-for the query
-(default is
-.LR freedb.freedb.org ).
+for the query instead of
+.LR freedb.freedb.org .
 The
 The
 .B -D
 .B -D
 option causes the raw database response from the server to be dumped
 option causes the raw database response from the server to be dumped
@@ -196,10 +195,12 @@ option causes the time of each track to be appended to the normal output.
 .B -T
 .B -T
 is like
 is like
 .B -t
 .B -t
-but prints a line with the total time at the end.
+but prints a final line with the total time.
 .PD
 .PD
 .SH EXAMPLE
 .SH EXAMPLE
 Backup to a BD-R disc:
 Backup to a BD-R disc:
+.br
+.ne 3
 .IP
 .IP
 .EX
 .EX
 9fs boot
 9fs boot
@@ -250,7 +251,8 @@ while the drive burns the unused part of the track reservation
 Thus only a single DVD-R track can be written on a DVD-R disc;
 Thus only a single DVD-R track can be written on a DVD-R disc;
 use other media if you need more than one track per disc.
 use other media if you need more than one track per disc.
 .PP
 .PP
-There are too many combinations of optical media, approximately
+There are too many combinations of optical media, each with unique quirks,
+approximately
 the cross-product of these tuples:
 the cross-product of these tuples:
 (CD DVD- DVD+ BD),
 (CD DVD- DVD+ BD),
 (single-layer dual-layer),
 (single-layer dual-layer),