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: [patch] rm can have undesired side-effects

2006-11-04 Thread Joerg Pernfuss
On Sun, 5 Nov 2006 08:09:23 +0200 Kostik Belousov <[EMAIL PROTECTED]> wrote: > On Sun, Nov 05, 2006 at 05:28:32AM +0100, Joerg Pernfuss wrote: > > And I still have no idea why ln(1) allows links to files the user > > has no access rights whatsoever, in a directory the owner of the > > file has no

Re: [patch] rm can have undesired side-effects

2006-11-04 Thread Kostik Belousov
On Sun, Nov 05, 2006 at 05:28:32AM +0100, Joerg Pernfuss wrote: > And I still have no idea why ln(1) allows links to files the user has > no access rights whatsoever, in a directory the owner of the file > has no access to in the first place. And what happens when I link the > 0600 file state_secre

Re: [patch] rm can have undesired side-effects

2006-11-04 Thread Joerg Pernfuss
On Sat, 4 Nov 2006 18:22:39 -0800 (PST) Matthew Dillon <[EMAIL PROTECTED]> wrote: > :I agree. I will make this change in DragonFly right now, in > : fact. The -P option really needs to be consistent across > : environments and my take on the original design was so users could > : alias rm to

Re: [patch] rm can have undesired side-effects

2006-11-04 Thread Matthew Dillon
:... :BSD behaviour: :- OpenBSD handles hardlinks since 3.3: : -P Overwrite regular files before deleting them. Files :are overwritten three times, first with the byte pattern :0xff, then 0x00, and then 0xff again, before they are :deleted. Files with

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: [patch] rm can have undesired side-effects

2006-11-04 Thread Matthew Dillon
::... ::Although I am a big defender of "the user should know what he does", ::the "right thing to do"[TM] would probably be to sync the behaviour ::of FreeBSD's rm(1) to OpenBSD and lobby NetBSD and DragonFlyBSD to do ::the same :) :: :: Joerg : :I agree. I will make this change in Drago

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: vr(4) performance

2006-11-04 Thread Sam Leffler
Pyun YongHyeon wrote: > On Thu, Nov 02, 2006 at 03:27:46PM -0800, Sam Leffler wrote: > > Devon H. O'Dell wrote: > > > Hey all, > > > > > > So, vr(4) kind of sucks, and it seems like this is mostly due to the > > > fact that we call m_defrag() on every mbuf that we send through it. > > > This

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