Re: [SLUG] Elementary symlink question

2004-09-14 Thread amos
Peter Hardy wrote: On Tue, 2004-09-14 at 10:34, Jan Schmidt wrote: quote who=Matthew Davidson However, I maintain that's the way it _should_ work! That's the way hard links work, but they can only link within the same file system. But you shouldn't add hard links to

Re: [SLUG] Elementary symlink question

2004-09-13 Thread Ian Wienand
On Mon, Sep 13, 2004 at 04:04:43PM +1000, Matthew Davidson wrote: lrwxrwxrwx 1 mdavids mdavids 12 2004-09-13 15:52 application - version/0.3/ -rw-r--r-- 1 mdavids mdavids0 2004-09-13 15:43 file drwxr-sr-x 5 mdavids mdavids 4096 2004-09-13 15:51 version [EMAIL PROTECTED]:~/test$ cd

[SLUG] Elementary symlink question

2004-09-13 Thread Matthew Davidson
Hi, I'm missing something very fundamental about symlinks. Say I want to test some trivial little program I've written, but want to make it easy to switch between revisions. I thought the following should work: lrwxrwxrwx 1 mdavids mdavids 12 2004-09-13 15:52 application - version/0.3/

Re: [SLUG] Elementary symlink question

2004-09-13 Thread Rick Welykochy
Matthew Davidson wrote: Hi, I'm missing something very fundamental about symlinks. Say I want to test some trivial little program I've written, but want to make it easy to switch between revisions. I thought the following should work: lrwxrwxrwx 1 mdavids mdavids 12 2004-09-13 15:52

Re: [SLUG] Elementary symlink question

2004-09-13 Thread Matthew Davidson
On Mon, 2004-09-13 at 16:40, Ian Wienand wrote: On Mon, Sep 13, 2004 at 04:04:43PM +1000, Matthew Davidson wrote: lrwxrwxrwx 1 mdavids mdavids 12 2004-09-13 15:52 application - version/0.3/ -rw-r--r-- 1 mdavids mdavids0 2004-09-13 15:43 file drwxr-sr-x 5 mdavids mdavids 4096

Re: [SLUG] Elementary symlink question

2004-09-13 Thread Jan Schmidt
quote who=Matthew Davidson Funny; I've always assumed that the system treated a directory symlink as a real directory that just happens to have exactly the same contents as some other directory. I suppose I'd never put myself in a situation to find out outherwise. No, think of it more as a

Re: [SLUG] Elementary symlink question

2004-09-13 Thread Peter Hardy
On Tue, 2004-09-14 at 10:34, Jan Schmidt wrote: quote who=Matthew Davidson However, I maintain that's the way it _should_ work! That's the way hard links work, but they can only link within the same file system. But you shouldn't add hard links to directories. The ln utility will only let

Re: [SLUG] Elementary symlink question

2004-09-13 Thread Ian Wienand
On Tue, Sep 14, 2004 at 09:58:59AM +1000, Matthew Davidson wrote: Funny; I've always assumed that the system treated a directory symlink as a real directory that just happens to have exactly the same contents as some other directory. I suppose I'd never put myself in a situation to find out