code: mafs

ref: c947228f7cf50bbbeb3f1e1b1808280e9ae9247f
dir: /tests/test.3/action.rc/

View raw version
#!/bin/rc

# ls -l /srv/ /n/
fn dofile {
	file=$"*
	echo $file
	time fcp -x test.3/^$file /n/mafs_test.3/
	ls -ltr test.3/^$file /n/mafs_test.3/^$file
	diff test.3/^$file /n/mafs_test.3/^$file # > /mnt/term/tmp/test.out
	# tail /mnt/term/tmp/test.out
	rm /n/mafs_test.3/^$file
}

# to build these files
# dd -if big.file -of 94_blocks.file -bs 502 -count 94

dofile 32_blocks.file
dofile 33_blocks.file
dofile 94_blocks.file
dofile 95_blocks.file
dofile 128_blocks.file
dofile 1024_blocks.file
dofile 2048_blocks.file
dofile 4096_blocks.file
dofile 8192_blocks.file
dofile 16384_blocks.file
# dofile big.file # cannot do this, not enough space for this.

cat /n/mafs_test.3/adm/ctl