[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hurd and Unix/Linux and Plan9 features
From: |
Ivan Shmakov |
Subject: |
Re: Hurd and Unix/Linux and Plan9 features |
Date: |
08 Feb 2007 02:02:22 +0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
>>>>> "PT" == Pierre THIERRY <nowhere.man@levallois.eu.org> writes:
>> Does this mean that something like "cd .." or "ls .." will no work
>> in ngHurd?
PT> It would just work in the way current systems work: it's not the FS
PT> but the application that decides what .. is.
PT> Try this on any available Unix with:
> ~$ mkdir -p a/b c/d
> ~$ cd c/d
> ~/c/d$ ln -s ../../a/b e
> ~/c/d$ cd e
> ~/c/d/e$ cd ..
> ~c/d$
PT> According to .. in FS, you should now be in a/b. But currently,
PT> most shells parse .. lexically.
Yes, shells oftenly do that. Note, however, that almost every
other program isn't so smart:
$ mkdir -p a/b c/d
$ cd c/d
c/d $ ln -s ../../a/b e
c/d $ cd e
c/d/e $ ls ../
b
c/d/e $
Would `ls' parse `..' by itself, `e' would have been shown
instead.
And again, I'm not about to /deny/ such ``lexical''
interpretation of `..', but it's not clear to me, which benefits
it would bring (or, which things it would break?)
- Hurd and Unix/Linux and Plan9 features, Shams, 2007/02/01
- Re: Hurd and Unix/Linux and Plan9 features, Ivan Shmakov, 2007/02/03
- Re: Hurd and Unix/Linux and Plan9 features, Shams, 2007/02/03
- Re: Hurd and Unix/Linux and Plan9 features, olafBuddenhagen, 2007/02/03
- Re: Hurd and Unix/Linux and Plan9 features, Ivan Shmakov, 2007/02/04
- Re: Hurd and Unix/Linux and Plan9 features, Shams, 2007/02/04
- Re: Hurd and Unix/Linux and Plan9 features, Pierre THIERRY, 2007/02/06
- Re: Hurd and Unix/Linux and Plan9 features,
Ivan Shmakov <=
- Re: Hurd and Unix/Linux and Plan9 features, Pierre THIERRY, 2007/02/07
- symbolic links & `..' entry, Ivan Shmakov, 2007/02/08
- Re: symbolic links & `..' entry, Pierre THIERRY, 2007/02/08
- Re: symbolic links & `..' entry, Ivan Shmakov, 2007/02/10
- Re: symbolic links & `..' entry, Thomas Bushnell BSG, 2007/02/10
- Re: symbolic links & `..' entry, Pierre THIERRY, 2007/02/11
Re: Hurd and Unix/Linux and Plan9 features, Pierre THIERRY, 2007/02/03
Re: Hurd and Unix/Linux and Plan9 features, olafBuddenhagen, 2007/02/03