xfs
[Top] [All Lists]

Soft links to directories

To: linux-xfs <linux-xfs@xxxxxxxxxxx>
Subject: Soft links to directories
From: Ayose <colario@xxxxxxxxxxxx>
Date: Sat, 15 Dec 2001 19:09:02 +0000
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011202
Hello!


Please, look this:

[0]a$ mkdir -p aa/aaa/ bb/bbb/bbb cc/ccc
[0]a$ cd aa/
[0]aa$ ln -s ../bb/bbb/bbb/
[0]aa$ cd bbb
[0]bbb$ pwd
/tmp/a/aa/bbb
[0]bbb$ ln -s ../ # I hit TAB
aaa  bbb
[0]bbb$ ln -s ../aaa
[0]bbb$ ls -l
total 0
lrwxr-xr-x    1 setepo   setepo          6 dic 15 18:50 aaa -> ../aaa
[0]bbb$ cd aaa
bash: cd: aaa: No such file or directory
[0]bbb$ echo ../*
../bbb
[0]bbb$ mkdir a
[0]bbb$ cd a
[0]a$ cd ../../bbb/
[0]bbb$ pwd
/tmp/a/aa/bbb
[0]bbb$ echo ../../*
../../bbb
[0]bbb$ uname -r
2.4.16-xfs


Can anybody tell me where is the problem?



<Prev in Thread] Current Thread [Next in Thread>