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/doc2txt - 775 sys sys 1025197880 563
 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/dpost - 775 sys sys 1192741346 220
 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/acme - 664 sys sys 1196638943 10435
 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/consolefs - 664 sys sys 1196638943 4389
 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/doc2txt - 775 sys sys 1025197880 563
 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/dpost - 775 sys sys 1192741346 220
 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/acme - 664 sys sys 1196638943 10435
 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/consolefs - 664 sys sys 1196638943 4389
 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 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
+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
 }
 # 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
 is the track number.
 .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
 .B wd
 and, for CDs only,
 an empty directory
 .BR wa .
 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.
 .PP
 At any time, any number of tracks
@@ -100,7 +100,7 @@ also contains a
 file, into which control messages
 may be echoed.
 The current control messages are:
-.TF \fLformat
+.TF \fLquickblank
 .TP
 .B format
 Format the rewritable disc (\c
@@ -179,13 +179,12 @@ Additional lines may further describe the current disc.
 takes 4 optional arguments.
 The
 .B -s
-option causes
+option makes
 .I aux/cddb
-to use a different
+use
 .I server
-for the query
-(default is
-.LR freedb.freedb.org ).
+for the query instead of
+.LR freedb.freedb.org .
 The
 .B -D
 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
 is like
 .B -t
-but prints a line with the total time at the end.
+but prints a final line with the total time.
 .PD
 .SH EXAMPLE
 Backup to a BD-R disc:
+.br
+.ne 3
 .IP
 .EX
 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;
 use other media if you need more than one track per disc.
 .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:
 (CD DVD- DVD+ BD),
 (single-layer dual-layer),