You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no statvfs-wrapper on FreeBSD because it doesn't have
statvfs(). But there's statfs() which might be sufficient: http://www.freebsd.org/cgi/man.cgi?
query=statfs&apropos=0&sektion=0&manpath=FreeBSD+5.3-
RELEASE+and+Ports&format=html
Python 2.4 (#2, Jan 4 2005, 04:22:40)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> dir (os)
...'spawnvpe', 'stat', 'stat_float_times', 'stat_result', 'statvfs_result',
'strerror',...
FreeBSD has statvfs(3) since FreeBSD 5.0.
Looking at FreeBSD's statvfs implementation (which
is a wrapper function for statfs system call), statfs
has little bit different structure than statvfs and
it may need some translation routine.
FreeBSD 4 is on the way to being a legacy platform,
and you can still use py-freebsd to utilize statfs(2)
on FreeBSD 4 and older. So I'm sorry but I don't
feel that adding some ifdef blocks is worthy enough.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: