Re: Yet another magic symlinks implementation

2006-11-08 Thread Lamont Granquist
AFS also has an @sys variable which is useful for network filesystem mounted binaries and software for multiple architectures through a single globally unique path: http://www.openafs.org/pages/doc/AdminReference/auarf234.htm#HDRSYS And I'd vote with Oliver on preferring variant symlinks for

Re: Yet another magic symlinks implementation

2006-11-06 Thread Pawel Worach
Mike Meyer wrote: In <[EMAIL PROTECTED]>, Andrey V. Elsukov <[EMAIL PROTECTED]> 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

Re: Yet another magic symlinks implementation

2006-11-06 Thread Jeff Roberson
On Sat, 4 Nov 2006, Kostik Belousov wrote: On Sat, Nov 04, 2006 at 02:12:57PM +0300, Andrey V. Elsukov wrote: On Sat, Nov 04, 2006 at 11:56:29AM +0300, Andrey V. Elsukov wrote: I've ported NetBSD magic symlinks implementation to FreeBSD. The description of magiclinks can been found here: http:

Re: Yet another magic symlinks implementation

2006-11-06 Thread Oliver Fromme
Andrey V. Elsukov wrote: > >It is interesting to note that DragonFly has had variant symlnks for > >a long time, but we haven't actually found a use for them yet. > > Yes, Matt. Some time ago i've ported Df's variant symlinks too :) > http://butcher.heavennet.ru/patches/kernel/var

Re: Yet another magic symlinks implementation

2006-11-05 Thread Andrey V. Elsukov
>On Sat, Nov 04, 2006 at 11:56:29AM +0300, Andrey V. Elsukov wrote: >From what I know NetBSD removed mount flag and switched to global sysctl >to enable/disable this feature. Would be good to know why and eventually >do the same. Actually the current implementation uses a sysctl variable to enable

Re: Yet another magic symlinks implementation

2006-11-05 Thread Sam Leffler
Pawel Jakub Dawidek wrote: > On Sat, Nov 04, 2006 at 11:56:29AM +0300, Andrey V. Elsukov wrote: >> 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 >> >> Patch here:

Re: Yet another magic symlinks implementation

2006-11-05 Thread Pawel Jakub Dawidek
On Sat, Nov 04, 2006 at 11:56:29AM +0300, Andrey V. Elsukov wrote: > 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 > > Patch here: > http://butcher.heavennet.ru/patc

Re: Yet another magic symlinks implementation

2006-11-05 Thread Andrey V. Elsukov
>It is interesting to note that DragonFly has had variant symlnks for >a long time, but we haven't actually found a use for them yet. Yes, Matt. Some time ago i've ported Df's variant symlinks too :) http://butcher.heavennet.ru/patches/kernel/varsym/ This task was declared on the idea

Re: Yet another magic symlinks implementation

2006-11-05 Thread Andrey V. Elsukov
>This code really needs some work though. First of all, macros should >never operate on variables not passed in as arguments. The SUBSTITUTE >macro should be a function. The matching algorithm is not very efficient >either. First of thank to all for the attention and spent time. I've tried p

Re: Yet another magic symlinks implementation

2006-11-05 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Danny Braniss <[EMAIL PROTECTED]> typed: > > In <[EMAIL PROTECTED]>, Andrey V. Elsukov <[EMAIL PROTECTED]> typed: > > > Hi, All! > > > > > > I've ported NetBSD magic symlinks implementation to FreeBSD. > > > The description of magiclinks can been found here: > > > http://ww

Re: Yet another magic symlinks implementation

2006-11-04 Thread Danny Braniss
> In <[EMAIL PROTECTED]>, Andrey V. Elsukov <[EMAIL PROTECTED]> 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 show

Re: Yet another magic symlinks implementation

2006-11-04 Thread Matthew Dillon
It is interesting to note that DragonFly has had variant symlnks for a long time, but we haven't actually found a use for them yet. No smoking killer app has presented itself. We use varsyms in our RC implementation kind of like uber-environment variables (rclist, rcstart, r

Re: Yet another magic symlinks implementation

2006-11-04 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Andrey V. Elsukov <[EMAIL PROTECTED]> 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 v

Re: Yet another magic symlinks implementation

2006-11-04 Thread Kostik Belousov
On Sat, Nov 04, 2006 at 02:12:57PM +0300, Andrey V. Elsukov wrote: > >On Sat, Nov 04, 2006 at 11:56:29AM +0300, Andrey V. Elsukov wrote: > >> I've ported NetBSD magic symlinks implementation to FreeBSD. > >> The description of magiclinks can been found here: > >> http://www.daemon-systems.org/man/s

Re: Yet another magic symlinks implementation

2006-11-04 Thread Andrey V. Elsukov
>On Sat, Nov 04, 2006 at 11:56:29AM +0300, Andrey V. Elsukov wrote: >> 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 >> >> Patch here: >> http://butcher.heavennet.ru/patches/ker

Re: Yet another magic symlinks implementation

2006-11-04 Thread Divacky Roman
On Sat, Nov 04, 2006 at 11:56:29AM +0300, Andrey V. Elsukov wrote: > 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 > > Patch here: > http://butcher.heavennet.ru/patc

Yet another magic symlinks implementation

2006-11-04 Thread Andrey V. Elsukov
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 Patch here: http://butcher.heavennet.ru/patches/kernel/magiclinks/ -- WBR, Andrey V. Elsukov