sovrin-foundation / steward-tools

tools for Sovrin steward
Apache License 2.0
9 stars 22 forks source link

Fix and improve get_storage_size_for_path #2

Closed btlogy closed 7 years ago

btlogy commented 7 years ago

This PR should fix #1 and improve the get_storage_size_for_path function as df can by called directly with the mount point without having to look up for the device.

btlogy commented 7 years ago

Tested successfully on CentOS 7 and Debian 8.

absltkaos commented 7 years ago

Looks like this should be fine to merge, and does fix the Issue.