2 # pjdfstest configuration file
4 # Supported operating systems: FreeBSD, Darwin, SunOS, Linux
10 #fs=`df -T . | tail -1 | awk '{print $2}'`
11 pattern="`df . | tail -1 | awk '{printf("%s on %s \n", $1, $6)}'`"
12 fs=`mount | ${GREP} -E "^${pattern}" | awk -F '[(,]' '{print toupper($2)}'`
16 pattern=`df -Pk . | tail -1 | awk '{printf("%s on %s \n", $1, $6)}'`
17 fs=`mount -v | ${GREP} -E "^${pattern}" | awk '{print $5}' | \
18 tr -s '[:lower:]' '[:upper:]'`
22 fs=`df -PT . | tail -1 | awk '{print toupper($2)}'`
25 echo "Unsupported operating system ${os}." >/dev/stderr
30 # If we cannot figure out file system type, define it here.
33 if [ -z "${fs}" ]; then
34 echo "Cannot figure out file system type, define it by hand." >/dev/stderr