On 2007.04.20 at 11:57:35 -0700, David Schwartz wrote:
On 2007.04.19 at 11:59:39 -0700, David Schwartz wrote:
This is not nearly as simple as you might think. Are 'foo.txt'
and 'Foo.txt' the same file? What about 'directory/file.txt' and
'symlink/file.txt'?
I don't see how you
For example, if we are running under Unix-style kernel, we can make
stat calls on both files. And if both st_dev and st_ino fields of
the resulting stat structures are same, we should consider files same.
Why? Suppose the filesystem internally uses inodes larger than the st_ino
field. Is it
On 2007.04.25 at 01:55:23 -0700, David Schwartz wrote:
For example, if we are running under Unix-style kernel, we can make
stat calls on both files. And if both st_dev and st_ino fields of
the resulting stat structures are same, we should consider files same.
Why? Suppose the
On 2007.04.19 at 11:59:39 -0700, David Schwartz wrote:
This is not nearly as simple as you might think. Are 'foo.txt' and 'Foo.txt'
the same file? What about 'directory/file.txt' and 'symlink/file.txt'?
I don't see how you can do this without making assumptions about the
semantics of the
On 2007.04.19 at 11:59:39 -0700, David Schwartz wrote:
This is not nearly as simple as you might think. Are 'foo.txt'
and 'Foo.txt' the same file? What about 'directory/file.txt' and
'symlink/file.txt'?
I don't see how you can do this without making assumptions about the
semantics of