Re: Optimizing chmod(1)

2016-03-14 Thread Adam Thompson
On 16-03-13 11:11 PM, Michael McConville wrote: It seems that chown(1) will write to a file even if it already has the desired ownership. The below patch causes it to skip the write when there would be no change. The best I could tell, the fts_read(3) and fchownat(3) logic agree on whether to fo

Re: Make uftdi(4) support aftermarket FTDI devices

2016-02-21 Thread Adam Thompson
On 2016-02-21 04:16 PM, Gregor Best wrote: On Sun, Feb 21, 2016 at 12:41:06PM -0700, Theo de Raadt wrote: It makes no sense to renumber the FT232_1 entry. That is just creating churn. As to the 0x entry, I'm wondering whether it should be named something like the following, as a historical

Re: Thinkpad active cooling

2015-07-15 Thread Adam Thompson
till has room for improvement... I haven't run OpenBSD on it for any significant amount of time since the ~recent changes to improve Thinkpad power usage. -- -Adam Thompson athom...@athompso.net

Re: [DIFF] /etc/rc: gracefully shut down base daemons too

2015-02-20 Thread Adam Thompson
about that one). Client-server protocols are generally written to retry on, or otherwise be resilient to, failure; signalling shutdown when I have to kick the server in the head for some reason (which, yes, even happens with OpenBSD :-)) would be a bad thing for some to many clients. --

Re: ksh version lies

2015-02-17 Thread Adam Thompson
ults in payloads up to 10x larger and that run up to 10x slower, or to probe for advanced features and exit cleanly and safely if they're absent. -- -Adam Thompson athom...@athompso.net +1 (204) 291-7950 - cell +1 (204) 489-6515 - fax

PATCH: ntpctl.8, ntpd.c

2015-02-13 Thread Adam Thompson
ri Feb 13 21:40:32 2015 @@ -22,7 +22,8 @@ .Nd control the Network Time Protocol daemon .Sh SYNOPSIS .Nm ntpctl -.Op Fl s Cm all | peers | Sensors | status +.Fl s +.Op Cm all | peers | Sensors | status .Sh DESCRIPTION The .Nm -- -Adam Thompson athom...@athompso.net +1 (204) 291-7950 - cell +1 (204) 489-6515 - fax

Re: Should we allow to configure twice the same IP?

2014-10-28 Thread Adam Thompson
rks or not as-is; any opinions on what would be the canonical approach to swapping IPs between interfaces on a live system? Just do it by hand? Write your own script? Use netstart? Or just reboot? -- -Adam Thompson athom...@athompso.net

Re: lynx: disable old protocols

2014-07-16 Thread Adam Thompson
For the rest of us who prefer to use software instead of demanding changes, this simply means using OpenBSD in a strictly-isolated environment becomes a bit more difficult. I'm still not willing to use Linux LiveCDs in certain environments for the most part, and I'll just get used to having the

Re: lynx: disable old protocols

2014-07-11 Thread Adam Thompson
I would know of its existence, but likely not install it. As I said, I have workarounds. I remember how bad the code was years ago, so I agree with the idea in general, but it will be a pain in the butt for me every once in a while :-(. -Adam On July 11, 2014 4:03:29 AM CDT, Theo de Raadt wr

Re: lynx: disable old protocols

2014-07-10 Thread Adam Thompson
Pretty standard thing in several companies I do work for is to have an intranet page with http://, ssh://, telnet:// and finger:// (amazingly) links to various devices on the network. Having to read the source and escape to a shell would be somewhat worse than what I get on a base install today

Re: lynx: disable old protocols

2014-07-10 Thread Adam Thompson
As a user, not a developer... I still use finger, gopher, and news URLs at least once a year each. As a user, I disagree with turning support for those schemes off completely. Finger and news I can use another tool, and I'd concede that no-one really *needs* a news reader in base. (I still find

growfs error message, lack of comprehension

2014-07-08 Thread Adam Thompson
and not wasting ? Now waiting incoming cluebats :-( -- -Adam Thompson athom...@athompso.net

Re: procfs to die [was: CVS: cvs.openbsd.org: src]

2014-06-22 Thread Adam Thompson
I do use it occasionally, and I don't run -current so I wouldn't have noticed any breakage yet. I don't rely on it, however, it's a convenience feature that I very occasionally use, and only manually when I do. I can live without it if it dies; it was never a fully-featured implementation IMHO a

Re: ftp(1) User-Agent

2014-06-12 Thread Adam Thompson
On 2014-06-12 11:32, Alexander Hall wrote: > On June 11, 2014 6:18:19 AM CEST, Lawrence Teo wrote: > >> This diff allows ftp(1) to change the User-Agent for HTTP(S) URL requests via the FTPUSERAGENT environment variable (personally I prefer HTTPUSERAGENT but FTPUSERAGENT is what's used by ft

Re: IPv6 by default

2014-04-29 Thread Adam Thompson
's not a glowing endorsement...) [*] except for one software management console that doesn't support IPv6 at all. My printers, my WiFi APs, even my CEPH cluster are all IPv6-native. The worst network-stack stupidity I've seen so far was on the WiFi AP, and it only affected IPv4. -- -Adam Thompson athom...@athompso.net

Re: IPv6 by default

2014-04-28 Thread Adam Thompson
On April 28, 2014 5:43:34 PM CDT, Kenneth Westerback wrote: >On 28 April 2014 18:05, Simon Perreault wrote: >> Tech, >> >> Now that my AI_ADDRCONFIG diff is in, it's time to reveal my evil >master plan: >> make getaddrinfo() return IPv6 results first by default. > >Why is the burden on everyone

Re: ffs2 boot

2014-04-17 Thread Adam Thompson
r?) Ditto for my DNS servers, my mail server, my proxy server, etc. So, I would like to know what application Giancarlo has where he actually notices the lack of multiple cores. -Adam On April 17, 2014 12:23:44 PM CDT, Otto Moerbeek wrote: >On Thu, Apr 17, 2014 at 12:22:44PM -0500, Adam T

Re: ffs2 boot

2014-04-17 Thread Adam Thompson
Given the single-threaded nature of much of the kernel, what applications do you run where multiple CPUs makes much of a difference to OpenBSD? Also, switching from IDE to any of the supported SCSI, SAS or SATA disk types also produces a noticeable improvement. I'm not sure if those are availab

Re: dd gigabytes

2014-03-23 Thread Adam Thompson
GNU dd definitely has it (along with the wholly-expected proliferation of other useless units). It's definitely not called for by POSIX. IIRC, Solaris supports some units but not others. HPUX doesn't support any units at all. Don't know what other BSDs or AIX support. -Adam On March 23, 201

Re: httpd and nginx in base

2013-11-12 Thread Adam Thompson
with either of these and require a port of the modified apache from base. smokeping. I still can't figure out how to get the CGI part to work under nginx/slowcgi. -- -Adam Thompson athom...@athompso.net

Re: Re : Re: Improve routing functions

2013-11-05 Thread Adam Thompson
On 13-11-05 10:12 AM, Adam Thompson wrote: I can do doc changes, but I think you really, *really* don't want me writing much C code... I can perhaps do some of the initial, trivial, legwork, at best. Now, if bgpd(8) were written in Bourne/Korn shell, I'd be the guy to do this! I

Re: Re : Re: Improve routing functions

2013-11-05 Thread Adam Thompson
On 13-11-04 05:09 PM, Claudio Jeker wrote: On Mon, Nov 04, 2013 at 10:36:39AM -0600, Adam Thompson wrote: The change I think we're both asking for is that in .../usr/sbin/bgpd/kroute.c, on line 505 (5.4-RELEASE), where we see "kr->r.priority = RTP_BGP;", we need a way to over

Re: Re : Re: Improve routing functions

2013-11-04 Thread Adam Thompson
with "route change", but doing so is a very, very ugly idea (worse in Loïc's case than mine, I think). You'd have to have a script/daemon of your own watching the output from "route monitor" and executing "route change" every time a route gets inserted with

unable to down vlan(4) interfaces in 5.4-RELEASE

2013-10-26 Thread Adam Thompson
ow but I don't want to completely remove the interface configuration. I must be missing something here... (I don't have any other multihomed hosts to test this on at the moment. 5.4-RELEASE installed from CD.) Help!? -- -Adam Thompson athom...@athompso.net