Subject: Re: magic symlinks: uid keyword translation
To: Hubert Feyrer <hubert@feyrer.de>
From: Elad Efrat <elad@NetBSD.org>
List: tech-kern
Date: 10/30/2006 15:24:28
Hubert Feyrer wrote:
> On Mon, 30 Oct 2006, Elad Efrat wrote:
>> attached diff adds a "uid" keyword translation for magic symlinks.
>> any objections?
> 
> No documentation in the diff makes this hard to understand what it
> actually does/is supposed to do.

what it does is replace "@uid" and "@uid/" with the real uid of the
process. so:

  /tmp -> /real_tmp/@uid

for example would translate /tmp to a different path depending on
who accesses it. (not implying any use, that's just a keyword for now
that I thin is useful for that and possibly other purposes)

maybe if the magic symlinks had a man-page, or entries on sysctl
man-pages, you would have easier time understanding what this does.

-e.

-- 
Elad Efrat