aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-07-18 17:30:25 +0200
committerBjörn-Egil Dahlberg <[email protected]>2013-07-18 17:30:25 +0200
commit88b1630f8fd21047aa7c733af6ade78f7f162287 (patch)
tree97a8e389d607143b588268940341ca7f8056d831 /lib
parent926645ce74a10b91686822bade08fa7b7282847a (diff)
downloadotp-88b1630f8fd21047aa7c733af6ade78f7f162287.tar.gz
otp-88b1630f8fd21047aa7c733af6ade78f7f162287.tar.bz2
otp-88b1630f8fd21047aa7c733af6ade78f7f162287.zip
os_mon: Fix openbsd diskspace queries
Use 'df -k -l' to query OpenBSD about diskspace on local disks. Same reasoning as for FreeBSD - additional filesystems without listing them all.
Diffstat (limited to 'lib')
-rw-r--r--lib/os_mon/src/disksup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os_mon/src/disksup.erl b/lib/os_mon/src/disksup.erl
index 24b4c4cce5..278da26a20 100644
--- a/lib/os_mon/src/disksup.erl
+++ b/lib/os_mon/src/disksup.erl
@@ -266,7 +266,7 @@ check_disk_space({unix, freebsd}, Port, Threshold) ->
Result = my_cmd("/bin/df -k -l", Port),
check_disks_solaris(skip_to_eol(Result), Threshold);
check_disk_space({unix, openbsd}, Port, Threshold) ->
- Result = my_cmd("/bin/df -k -t ffs", Port),
+ Result = my_cmd("/bin/df -k -l", Port),
check_disks_solaris(skip_to_eol(Result), Threshold);
check_disk_space({unix, netbsd}, Port, Threshold) ->
Result = my_cmd("/bin/df -k -t ffs", Port),