scan_ffs, take 2

2019-02-16 Thread gwes
This is an update to scan_ffs to (a) identify UFS2 superblocks and (b) output a great deal of information about what it finds. It distinguishes primary superblocks from alternate ones. It does its best to give enough information to untangle good partitions from remnants of obsolete partitions. It

[patch] (open)rsync small patch for whitespace fixes

2019-02-16 Thread Hiltjo Posthuma
Hi, Some trailing whitespace fixes for rsync. Patch below: diff --git usr.bin/rsync/extern.h usr.bin/rsync/extern.h index 1ea81ef47ea..221ec24f9b4 100644 --- usr.bin/rsync/extern.h +++ usr.bin/rsync/extern.h @@ -267,9 +267,9 @@ int rsync_client(const struct opts *, int, const struct

Clang floating-point alignment on powerpc

2019-02-16 Thread Mark Kettenis
As pointed out by George Koehler, clang may generate floating-point load and store instructions that are misaligned. Modern POWER CPUs support this in hardware, allegedly without making things significantly slower. But the traditional PowerPC CPUs that OpenBSD runs on don't support this and

Re: fsync(2) and I/O errors

2019-02-16 Thread Stefan Sperling
On Sat, Feb 16, 2019 at 07:40:42AM +, Maximilian Lorlacks wrote: > People may object to errors being lost when the vnode is released, > as that would lose errors in a scenario like write -> close -> open > -> fsync. Is there any guarantee an application will be operating on the same

Re: fsync(2) and I/O errors

2019-02-16 Thread Abel Abraham Camarillo Ojeda
On Saturday, February 16, 2019, Abel Abraham Camarillo Ojeda < acam...@verlet.org> wrote: > > > On Saturday, February 16, 2019, Maximilian Lorlacks < > maxlor...@protonmail.com> wrote: > >> >> ‐‐‐ Original Message ‐‐‐ >> On Thursday, January 31, 2019 11:31 PM, Alexander Bluhm < >>

Re: fsync(2) and I/O errors

2019-02-16 Thread Abel Abraham Camarillo Ojeda
On Saturday, February 16, 2019, Maximilian Lorlacks < maxlor...@protonmail.com> wrote: > > ‐‐‐ Original Message ‐‐‐ > On Thursday, January 31, 2019 11:31 PM, Alexander Bluhm < > alexander.bl...@gmx.net> wrote: > > > On Thu, Jan 31, 2019 at 04:26:45PM -0500, Ted Unangst wrote: > > > > >