Re: touch(1) doesn't act as expected: One for JMC

2013-03-05 Thread Rod Whitworth
On Tue, 5 Mar 2013 07:42:32 +, Jason McIntyre wrote: i don;t much like describing shell behaviour in other pages, but we do do it in other pages, and i agree this one seems particularly likely to catch folks out. fix coming... I agree about the shell behaviour being something the beginners

Kill IFAFREE()

2013-03-05 Thread Martin Pieuchot
The ifaddr structure contains a reference counter and two different way to check it before freeing its memory: a macro IFAFREE(), and a function ifafree(). Because the former calls the latter when the reference counter is null, and then also check for the reference counter, I see no point in

kill ifa_ifwithaf()

2013-03-05 Thread Martin Pieuchot
Function ifa_ifwithaf() is not used, any reason to keep it? Ok to kill it? diff --git sys/net/if.c sys/net/if.c index e3c4ba4..826e526 100644 --- sys/net/if.c +++ sys/net/if.c @@ -934,27 +934,6 @@ ifa_ifwithnet(struct sockaddr *addr, u_int rdomain) } /* - * Find an interface using a specific

Re: Kill IFAFREE()

2013-03-05 Thread Mike Belopuhov
On 5 March 2013 11:55, Mark Kettenis mark.kette...@xs4all.nl wrote: Date: Tue, 5 Mar 2013 11:36:36 +0100 From: Martin Pieuchot mpieuc...@nolizard.org The ifaddr structure contains a reference counter and two different way to check it before freeing its memory: a macro IFAFREE(), and a

Fuse (and sshfs) support for OpenBSD

2013-03-05 Thread Sylvestre Gallon
Hi tech@ I send you this mail because a few months ago I tried to dabble with fuse filesystem and OpenBSD. After some time working on this subject I have succeeded to create something that works. It is not even near to be perfect but with some changes and adaptions I think it could do the job.

Re: Fuse (and sshfs) support for OpenBSD

2013-03-05 Thread Antoine Jacoutot
On Tue, Mar 05, 2013 at 01:43:24PM +0100, Sylvestre Gallon wrote: Hi tech@ I send you this mail because a few months ago I tried to dabble with fuse filesystem and OpenBSD. After some time working on this subject I have succeeded to create something that works. It is not even near to be

Re: Fuse (and sshfs) support for OpenBSD

2013-03-05 Thread Gilles Chehade
On Tue, Mar 05, 2013 at 01:49:20PM +0100, Antoine Jacoutot wrote: On Tue, Mar 05, 2013 at 01:43:24PM +0100, Sylvestre Gallon wrote: Hi tech@ I send you this mail because a few months ago I tried to dabble with fuse filesystem and OpenBSD. After some time working on this subject I have

Re: Fuse (and sshfs) support for OpenBSD

2013-03-05 Thread Bob Beck
Sylvestre, one of the problems with fuse itself is that it's GPL licensed, and not appropriate for inclusion in base. If you've got interets and talent in this area, you might want to consider having a peek at puffs (and refuse) from netbsd which has a workable license and could be included in

Re: touch(1) doesn't act as expected: One for JMC

2013-03-05 Thread Jason McIntyre
On Tue, Mar 05, 2013 at 08:50:08PM +1100, Rod Whitworth wrote: On Tue, 5 Mar 2013 07:42:32 +, Jason McIntyre wrote: i don;t much like describing shell behaviour in other pages, but we do do it in other pages, and i agree this one seems particularly likely to catch folks out. fix

whois: add -P for peeringdb

2013-03-05 Thread Stuart Henderson
OK? Index: whois.1 === RCS file: /cvs/src/usr.bin/whois/whois.1,v retrieving revision 1.31 diff -u -p -r1.31 whois.1 --- whois.1 26 Sep 2012 16:12:14 - 1.31 +++ whois.1 5 Mar 2013 13:56:54 - @@ -175,6 +175,10 @@

Re: faithd fcntl diff

2013-03-05 Thread David Hill
On Mon, Feb 11, 2013 at 11:54:58AM -0700, Bob Beck wrote: On Mon, Feb 11, 2013 at 05:00:08PM +0100, Mark Kettenis wrote: Date: Mon, 11 Feb 2013 00:05:29 -0600 From: Todd T. Fries t...@fries.net In light of nat64 in pf(4), what purpose does faithd(8) serve anymore? I played with it

Re: Fuse (and sshfs) support for OpenBSD

2013-03-05 Thread Jiri B
On Tue, Mar 05, 2013 at 02:11:41PM +0100, Gilles Chehade wrote: On Tue, Mar 05, 2013 at 01:49:20PM +0100, Antoine Jacoutot wrote: On Tue, Mar 05, 2013 at 01:43:24PM +0100, Sylvestre Gallon wrote: Hi tech@ I send you this mail because a few months ago I tried to dabble with fuse

Re: Fuse (and sshfs) support for OpenBSD

2013-03-05 Thread Martin Pieuchot
On 05/03/13(Tue) 06:44, Bob Beck wrote: Sylvestre, one of the problems with fuse itself is that it's GPL licensed, and not appropriate for inclusion in base. If you've got interets and talent in this area, you might want to consider having a peek at puffs (and refuse) from netbsd which has a

Re: faithd fcntl diff

2013-03-05 Thread Martin Pieuchot
On 05/03/13(Tue) 09:03, David Hill wrote: On Mon, Feb 11, 2013 at 11:54:58AM -0700, Bob Beck wrote: On Mon, Feb 11, 2013 at 05:00:08PM +0100, Mark Kettenis wrote: Date: Mon, 11 Feb 2013 00:05:29 -0600 From: Todd T. Fries t...@fries.net In light of nat64 in pf(4), what purpose

Re: Fuse (and sshfs) support for OpenBSD

2013-03-05 Thread Sylvestre Gallon
On Tue, Mar 5, 2013 at 2:44 PM, Bob Beck b...@openbsd.org wrote: Sylvestre, one of the problems with fuse itself is that it's GPL licensed, and not appropriate for inclusion in base. If you've got interets and talent in this area, you might want to consider having a peek at puffs (and

Re: whois: add -P for peeringdb

2013-03-05 Thread Jérémie Courrèges-Anglas
Nice, that would be one alias less in my .kshrc. :) -- Jérémie Courrèges-Anglas GPG Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

Re: Fuse (and sshfs) support for OpenBSD

2013-03-05 Thread Sylvestre Gallon
On Tue, Mar 5, 2013 at 4:29 PM, Sylvestre Gallon ccna@gmail.com wrote: Martin, You will find inline the kernel patch And here the userland : Index: Makefile === RCS file: /cvs/src/sbin/Makefile,v retrieving revision 1.97

Re: write(2) man page

2013-03-05 Thread Ted Unangst
On Tue, Mar 05, 2013 at 12:26, Sachidananda Urs wrote: Attaching patch for review. Hi, Any thoughts on this? It's in my queue. I wanted to touch it up a bit, but waited for the tree to unlock (it just did). Thanks again.

Re: whois: add -P for peeringdb

2013-03-05 Thread Alexander Hall
Not that I mind either way, but did we want to add more hardcoded flags to whois? On 03/05/13 14:58, Stuart Henderson wrote: OK? Index: whois.1 === RCS file: /cvs/src/usr.bin/whois/whois.1,v retrieving revision 1.31 diff -u -p

Re: whois: add -P for peeringdb

2013-03-05 Thread Stuart Henderson
On 2013/03/05 18:31, Alexander Hall wrote: Not that I mind either way, but did we want to add more hardcoded flags to whois? Did you any some others in mind? Most of the domain-lookup ones are handled by XX.whois-servers.net, of the others I know of Team Cymru's servers may be useful but I

Re: whois: add -P for peeringdb

2013-03-05 Thread Theo de Raadt
On 03/05/13 18:58, Stuart Henderson wrote: On 2013/03/05 18:31, Alexander Hall wrote: Not that I mind either way, but did we want to add more hardcoded flags to whois? Did you any some others in mind? Most of the domain-lookup ones are handled by XX.whois-servers.net, of the others I

Re: whois: add -P for peeringdb

2013-03-05 Thread Stuart Henderson
On 2013/03/05 19:04, Alexander Hall wrote: On 03/05/13 18:58, Stuart Henderson wrote: On 2013/03/05 18:31, Alexander Hall wrote: Not that I mind either way, but did we want to add more hardcoded flags to whois? Did you any some others in mind? Most of the domain-lookup ones are handled by