[Python-bugs-list] [Bug #111481] os.stat() doesn't return st_rdev
Fri, 25 Aug 2000 07:55:26 -0700
Bug #111481, was updated on 2000-Aug-09 06:38
Here is a current snapshot of the bug.
Bug Group: Feature Request
Summary: os.stat() doesn't return st_rdev
Details: The call os.stat() returns the fields st_mode, st_ino,
st_nlink, st_uid, st_gid, st_size, st_atime, st_mtime
st_ctime from "struct stat".
To be able to explore device nodes on a linux system
the field st_rdev needed as the major and minor device number is stored in this field.
It would be nice if it could be added as an extra element
in the tuple returned by os.stat, os.lstat etc.
For detailed info, follow this link: