strange interaction between open and cwd

Cameron Simpson cs at zip.com.au
Tue May 4 20:10:01 EDT 2010


On 04May2010 14:48, Baz Walter <bazwal at ftml.net> wrote:
| On 04/05/10 09:08, Gregory Ewing wrote:
| >Grant Edwards wrote:
| >>except that Python objects can form a generalized graph, and Unix
| >>filesystems are constrained to be a tree.
| >
| >Actually I believe that root is allowed to create arbitrary
| >hard links to directories in Unix, so it's possible to turn
| >the file system in to a general graph. It's highly
| >unrecommended, though, because it confuses the heck out of
| >programs that recursively traverse directories (which is
| >why only root is allowed to do it).
| 
| i think there are versions of mac osx that use hard-linked
| directories in their backup systems.

I believe TimeMachine exploits that.

I think one can make loops with recursive mounts.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

You can't go around hoping that most people have sterling moral characters.
The most you can hope for is that people will pretend that they do.
        - Fran Lebowitz



More information about the Python-list mailing list