On 2015-10-21, Joel Rees <[email protected]> wrote: > Is fsync an appropriate way to flush writes to the disk device? In the > FreeBSD code, it is > > i = ioctl(fd, DIOCGFLUSH);
Dunno, but I'd check what fdisk and disklabel do. -- Christian "naddy" Weisgerber [email protected]

