STINNER Victor added the comment:
os.stat() seems correct, st_dev and st_ino are the same than the system command
"stat":
CURRENT-amd64% ./python -c 'import os; st=os.stat("setup.py"); print(st)'
os.stat_result(st_mode=33188, st_ino=2384528, st_dev=954774858155, st_nlink=1,
st_uid=1003, st_gid=1003, st_size=99944, st_atime=1501162007,
st_mtime=1501162007, st_ctime=1501162007)
CURRENT-amd64% stat setup.py
954774858155 2384528 -rw-r--r-- 1 haypo haypo 18446744073709551615 99944 "Jul
27 23:26:47 2017" "Jul 27 23:26:47 2017" "Jul 27 23:26:47 2017" "Jul 27
23:26:47 2017" 100352 79 0x800 setup.py
The used filesystem for /home is ZFS:
CURRENT-amd64% df .
Filesystem 1K-blocks Used Avail Capacity Mounted on
storage/home 17041752 11205517 5836235 66% /usr/home
CURRENT-amd64% mount|grep home
storage/home on /usr/home (zfs, local, noatime, nfsv4acls)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue31044>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com