This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients koobs, vstinner
Date 2017-07-27.14:12:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1501164780.06.0.378307513229.issue31044@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2017-07-27 14:13:00vstinnersetrecipients: + vstinner, koobs
2017-07-27 14:13:00vstinnersetmessageid: <1501164780.06.0.378307513229.issue31044@psf.upfronthosting.co.za>
2017-07-27 14:13:00vstinnerlinkissue31044 messages
2017-07-27 14:12:59vstinnercreate