Yet another magic symlinks implementation

Danny Braniss danny at cs.huji.ac.il
Sun Nov 5 07:14:58 UTC 2006


> In <454C55BD.000003.22283 at webmail11.yandex.ru>, Andrey V. Elsukov <bu7cher at yandex.ru> typed:
> > Hi, All!
> > 
> > I've ported NetBSD magic symlinks implementation to FreeBSD.
> > The description of magiclinks can been found here:
> > http://www.daemon-systems.org/man/symlink.7.html
> 
> This kind of thing has been showing up in Unix variants for a couple
> of decades, but none have have ever caught on. Can you provide some
> examples of what this is being used for?
> 
> It's not clear the the thing that it looks to me like it would be most
> useful for is possible. That would be making various lib directories
> on 64bit platforms that supported 32bit binaries point to either lib32
> or lib64, depending on which mode the process was running in. It
> doesn't look like @emul gets set for that, and the docs say that
> @machine_arch depensd are the results of a uname invocation, which I
> wouldn't expect to change based on the mode of the process.
> 
> 	Thanks,
> 	<mike

agree,
btw, am/am-utils has most (maybe more) of this magics/semantics, and
it is available on many different unix flavours, thus making it
ideal for this kind of things, imho.

danny




More information about the freebsd-hackers mailing list