diff options
author | Björn-Egil Dahlberg <[email protected]> | 2013-07-22 13:41:49 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2013-07-22 13:41:49 +0200 |
commit | aba918012baf791ea55da96fb507eae8c30238ba (patch) | |
tree | cd60b1b96ddcf6334c8231b9ebd89fa4b4c13017 /lib/os_mon/src | |
parent | da052b16d47b226eac4c5cf421be3f07aec18386 (diff) | |
parent | 88b1630f8fd21047aa7c733af6ade78f7f162287 (diff) | |
download | otp-aba918012baf791ea55da96fb507eae8c30238ba.tar.gz otp-aba918012baf791ea55da96fb507eae8c30238ba.tar.bz2 otp-aba918012baf791ea55da96fb507eae8c30238ba.zip |
Merge branch 'egil/os_mon/fix-bsd-disksup/OTP-11207' into maint
* egil/os_mon/fix-bsd-disksup/OTP-11207:
os_mon: Fix openbsd diskspace queries
os_mon: Fix freebsd diskspace queries
Diffstat (limited to 'lib/os_mon/src')
-rw-r--r-- | lib/os_mon/src/disksup.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/os_mon/src/disksup.erl b/lib/os_mon/src/disksup.erl index 8c8bbe843a..278da26a20 100644 --- a/lib/os_mon/src/disksup.erl +++ b/lib/os_mon/src/disksup.erl @@ -263,10 +263,10 @@ check_disk_space({unix, dragonfly}, Port, Threshold) -> Result = my_cmd("/bin/df -k -t ufs,hammer", Port), check_disks_solaris(skip_to_eol(Result), Threshold); check_disk_space({unix, freebsd}, Port, Threshold) -> - Result = my_cmd("/bin/df -k -t ufs", Port), + 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), |