2 # backuparenas dev name ... - dump arena `name' from $fs to blu-ray disc.
8 if (test -e /sys/lib/backup/funcs)
9 . /sys/lib/backup/funcs
13 if (! test -e $fsroot/!THIS_IS_^`{echo $fs | tr a-z A-Z}^_MAIN) {
14 import $fs / $fsroot || exit
16 unmount /mnt/cd >[2]/dev/null
23 if (! {venti/rdarena arena0 $name |
24 pump -i 65536 -o 1048576 -k 51200 -d 10 >/mnt/cd/wd/$name})
27 if (test -e '/env/fn#dumpdone' -a -e '/env/set')
30 echo 'remember to *not* remove /mnt/cd/wd' >[1=2]
31 # don't remove /mnt/cd/wd, since that would finalize the disc
32 # and bugger the permanent toc, at least on bd-r.