Re: Add ioctl for disk cache flush

2016-10-30 Thread Stefan Fritsch
On Mon, 17 Oct 2016, Alexander Bluhm wrote: > > Part 1: Add an ioctl: > > > > > > add DIOCCACHESYNC > > > > Add an ioctl to tell storage devices to flush their internal caches. > > Ported from netbsd by pedro@ > > > > OK? > > Some remarks inline Sorry for the long delay, I was very busy

Re: step missing from "2016/10/14" followig -current?

2016-10-30 Thread Ingo Schwarze
Hi, Raf Czlonka wrote on Sat, Oct 29, 2016 at 06:46:56PM +0100: > On Sat, Oct 29, 2016 at 08:39:47AM BST, Theo Buehler wrote: >> I suppose everybody has 'update -Pd' in their ~/.cvsrc schwarze@isnote $ cat ~/.cvsrc ~/.Xdefaults ~/.login ~/.mailrc ~/.profile cat: /home/schwarze/.cvsrc: No

Re: step missing from "2016/10/14" followig -current?

2016-10-30 Thread Peter Hessler
On 2016 Oct 30 (Sun) at 12:28:36 +0100 (+0100), Ingo Schwarze wrote: :> Everybody would have had, had it been included in /etc/skel/.cvsrc :^) :> Worth adding? : :I (mildly) oppose that. Providing customization files by default :is an oxymoron that provokes exactly the problems seen here. People

Re: Add ioctl for disk cache flush

2016-10-30 Thread Stefan Fritsch
On Sun, 30 Oct 2016, Stefan Fritsch wrote: > I agree with all your comments (and should have reviewed the initial patch > better). Here is an updated diff. The FWRITE check was missing in wdioctl(). Next try: diff --git sys/dev/ata/wd.c sys/dev/ata/wd.c index 5e2461f..ca5ac90 100644 ---

Re: Add ioctl for disk cache flush

2016-10-30 Thread Mark Kettenis
> From: David Gwynne > Date: Mon, 31 Oct 2016 10:38:49 +1000 > > > On 31 Oct 2016, at 09:18, Stefan Fritsch wrote: > > > > On Sun, 30 Oct 2016, Stefan Fritsch wrote: > >> I agree with all your comments (and should have reviewed the initial patch > >>

Re: acpivout(4): brightness adjustment quirk

2016-10-30 Thread Michel Behr
Not sure if it applies to your Dell machine (and probably too obvious), but on my Lenovo lap-top the brightness hotkeys only worked after adjusting a BIOS setting to enable them. On Sun, Oct 30, 2016 at 12:48 PM, Anton Lindqvist wrote: > I'm trying to fix the

Re: Add ioctl for disk cache flush

2016-10-30 Thread Theo de Raadt
> > From: David Gwynne > > Date: Mon, 31 Oct 2016 10:38:49 +1000 > > > > > On 31 Oct 2016, at 09:18, Stefan Fritsch wrote: > > > > > > On Sun, 30 Oct 2016, Stefan Fritsch wrote: > > >> I agree with all your comments (and should have reviewed the initial >

acpivout(4): brightness adjustment quirk

2016-10-30 Thread Anton Lindqvist
I'm trying to fix the brightness hotkeys on my Dell Latitude 3160. Adjusting the brightness using wsconsctl(1) works, as opposed of the keys. Turns out it's not possible to move the next or previous BCL level relative to the current one on this particular machine. Instead four steps is the minimum

Re: update net/py-pcapy

2016-10-30 Thread Peter Hessler
On 2016 Oct 30 (Sun) at 15:17:34 +0100 (+0100), Jeremie Courreges-Anglas wrote: :Peter Hessler writes: : :> I would like to use pcapy in a python3 module, so we need to update it. :> :> However, when I run the test program, I get the following error: :> :>

Re: step missing from "2016/10/14" followig -current?

2016-10-30 Thread Jeremie Courreges-Anglas
Peter Hessler writes: > On 2016 Oct 30 (Sun) at 12:28:36 +0100 (+0100), Ingo Schwarze wrote: > :> Everybody would have had, had it been included in /etc/skel/.cvsrc :^) > :> Worth adding? > : > :I (mildly) oppose that. Providing customization files by default > :is an