jannis-a / pyload-freebsd

A FreeBSD port for pyLoad
21 stars 8 forks source link

Pyload reports wrong free space on ZFS/UFS FIlesystems #2

Closed Mask66 closed 10 years ago

Mask66 commented 10 years ago

As mentioned in http://forum.pyload.org/viewtopic.php?f=12&t=1423, pyload reports wrong free space on FreeBSD with a ZFS filesystem. It is easily patched (as mentioned in the thread) by replacing "return s.f_bsize * s.f_bavail" with "return s.f_frsize * s.f_bavail" in line 113 of utils.py. No Adverse effects so far.

jannis-a commented 10 years ago

Thanks for the hint, changed the port patches.