Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2001 19:58:24 -0700 (PDT)
From:      "python os.statvfs module is not functional" <t_messmer@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/28138: python os.statvfs module is not functional
Message-ID:  <200106140258.f5E2wOh16358@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         28138
>Category:       ports
>Synopsis:       python os.statvfs module is not functional
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 13 20:00:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Tom Messmer
>Release:        4.3 stable
>Organization:
>Environment:
FreeBSD lucky.yeahright.com 4.3-STABLE FreeBSD 4.3-STABLE #6: Mon May 28 22:10:11 PDT 2001     messmer@lucky.spamola.com:/usr/src/sys/compile/LUCKY  i386
>Description:
statvfs is a common module which just uses the C statvfs call and returns a tuple of file system stats. It is usually loaded with the os module and is called like myFs = os.statvfs('/')

Its not loading on the FreeBSD port, but does with no problem on many of our favorite other os's. Which would be fine but I have to write a script for FreeBSD so help. Please. 

>How-To-Repeat:
See! No statvfs!!! You're killing me here!

lucky# python
Python 2.0 (#2, Jun 12 2001, 23:51:51) 
[GCC 2.95.3 [FreeBSD] 20010315 (release)] on freebsd4
Type "copyright", "credits" or "license" for more information.
>Fix:
Well I'm whining at you, I guess.
>Release-Note:
>Audit-Trail:
>Unformatted:
 >>> import os
 >>> dir(os)
 ['F_OK', 'NGROUPS_MAX', 'O_APPEND', 'O_CREAT', 'O_EXCL', 'O_NDELAY', 'O_NOCTTY', 'O_NONBLOCK', 'O_RDONLY', 'O_RDWR', 'O_TRUNC', 'O_WRONLY', 'P_NOWAIT', 'P_NOWAITO', 'P_WAIT', 'R_OK', 'TMP_MAX', 'UserDict', 'WEXITSTATUS', 'WIFEXITED', 'WIFSIGNALED', 'WIFS TOPPED', 'WNOHANG', 'WSTOPSIG', 'WTERMSIG', 'W_OK', 'X_OK', '_Environ', '__builtins__', '__doc__', '__file__', '__name__', '_execvpe', '_exists', '_exit', '_notfound', '_spawnvef', 'abort', 'access', 'altsep', 'chdir', 'chmod', 'chown', 'close', 'confstr ', 'confstr_names', 'ctermid', 'curdir', 'defpath', 'dup', 'dup2', 'environ', 'error', 'execl', 'execle', 'execlp', 'execlpe', 'execv', 'execve', 'execvp', 'execvpe', 'fdopen', 'fork', 'forkpty', 'fpathconf', 'fstat', 'fsync', 'ftruncate', 'getcwd', 'get egid', 'getenv', 'geteuid', 'getgid', 'getgroups', 'getlogin', 'getpgrp', 'getpid', 'getppid', 'getuid', 'isatty', 'kill', 'linesep', 'link', 'listdir', 'lseek', 'lstat', 'makedirs', 'mkdir', 'mkfifo', 'name', 'nice', 'open', 'openpty', 'pardir', 'path',  'pathconf', 'pathconf_names', 'pathsep', 'pipe', 'popen', 'popen2', 'popen3', 'popen4', 'putenv', 'read', 'readlink', 'remove', 'removedirs', 'rename', 'renames', 'rmdir', 'sep', 'setegid', 'seteuid', 'setgid', 'setpgid', 'setpgrp', 'setregid', 'setreui d', 'setsid', 'setuid', 'spawnl', 'spawnle', 'spawnlp', 'spawnlpe', 'spawnv', 'spawnve', 'spawnvp', 'spawnvpe', 'stat', 'strerror', 'symlink', 'sys', 'sysconf', 'sysconf_names', 'system', 'tcgetpgrp', 'tcsetpgrp', 'tempnam', 'times', 'tmpfile', 'tmpnam',  'ttyname', 'umask', 'uname', 'unlink', 'utime', 'wait', 'waitpid', 'write']
 >>>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106140258.f5E2wOh16358>