Fix file system type detection on Solaris.
This commit is contained in:
parent
cd9b233e0a
commit
57ab39b94a
@ -13,7 +13,7 @@ FreeBSD|Darwin)
|
||||
;;
|
||||
Solaris|SunOS)
|
||||
GREP=ggrep
|
||||
pattern=`df -k . | tail -1 | awk '{printf("%s on %s \n", $1, $6)}'`
|
||||
pattern=`df -Pk . | tail -1 | awk '{printf("%s on %s \n", $1, $6)}'`
|
||||
fs=`mount -v | ${GREP} -E "^${pattern}" | awk '{print $5}' | \
|
||||
tr -s '[:lower:]' '[:upper:]'`
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user