Index: Modules/posixmodule.c =================================================================== --- Modules/posixmodule.c (revision 87117) +++ Modules/posixmodule.c (working copy) @@ -1037,6 +1037,7 @@ FILE_TIME_to_time_t_nsec(&info->ftLastWriteTime, &result->st_mtime, &result->st_mtime_nsec); FILE_TIME_to_time_t_nsec(&info->ftLastAccessTime, &result->st_atime, &result->st_atime_nsec); result->st_nlink = info->nNumberOfLinks; + result->st_dev = result->st_rdev = info->dwVolumeSerialNumber; result->st_ino = (((__int64)info->nFileIndexHigh)<<32) + info->nFileIndexLow; if (reparse_tag == IO_REPARSE_TAG_SYMLINK) { /* first clear the S_IFMT bits */