Bug in os.stat-module??

Donn Cave donn at u.washington.edu
Wed Aug 2 16:33:09 EDT 2000


Quoth "THOMAS WEHOLT" <weholt at c2i.net>:
| I try to get the different date-variables from a file on a cd-rom using the
| os.stat-method. It returns the same integer for all three, atime, ctime and
| mtime. Doing the exact same on a plain file anywhere else on the filesystem
| other than cd-rom will return, three, or at least two different integers.
| But on the cd-rom all the files have the same integer-value returned from
| the os.stat-call. Why?
|
| Anybody with the same experience and a possible workaround or fix?

I find the same on FreeBSD 4.0.  I don't think there is any workaround
or fix.  If you think about it, I think you'll agree that it's the only
way it could work, when the filesystem resides on a readonly medium.

	Donn Cave, donn at u.washington.edu



More information about the Python-list mailing list