Baz Walter <baz...@ftml.net> writes: > On 03/05/10 18:41, Grant Edwards wrote: > > Firstly, a file may have any number of paths (including 0). > > yes, of course. i forgot about hard links
Rather, you forgot that *every* entry that references a file is a hard link. To ask for a filesystem entry referencing the file contents *is* to ask for a hard link; and there can be zero or more of those. The case where there is exactly one of those for a given file is the special case, and should not be assumed. -- \ “[Freedom of speech] isn't something somebody else gives you. | `\ That's something you give to yourself.” —_Hocus Pocus_, Kurt | _o__) Vonnegut | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list