2 # File which holds configuation parameters in a single place to avoid any
3 # mismatch between scripts (especially the cleanup scripts, which are
7 # Major number for OBD devices
10 # If LOOPDEV is empty (""), then no loopback device will be configured.
11 # If TMPFILE is empty (""), then no temporary file will be created for loop.
12 TMPFILE="/tmp/obdfs.tmpfile"
15 # If LOOPDEV is empty, then it is assumed that BASEDEV is a real block device
16 # that doesn't mind being overwritten - don't use a partition with data on it!!
19 # The following are mount points for the filesystems during the test.
24 # This is where the snapshot table will be stored:
25 SNAPTABLE="/tmp/obdfs.snaptable"
27 # A simple routine called by most of the scripts to help debugging. The
28 # kernel code has a lot of debugging statements, so this helps us keep
29 # track of what is going on in user-land to generate the kernel messages.
31 if [ "$1" = "log" ]; then
33 logger -p kern.info "******** $* **********"
36 logger -p kern.info "****start**** $* *****"
39 logger -p kern.info "*****end***** $* *****"