News for hackers. Stuff that matters.
Re:Mkfile(8) is severely syscall limited on OS X by raverbashing on Sunday February 12, 2017 @09:22AM (#13628407)
Well, there's this option (which looks like it would be the way to go for its purpose):

-n Create an empty filename. The size is noted, but disk blocks aren't allocated until data is written to them

Also the description on the man file says: mkfile creates one or more files that are suitable for use as NFS-mounted swap areas. The sticky bit is set, and the file is padded with zeroes by default

Re:Mkfile(8) is severely syscall limited on OS X by grigjd3 on Sunday February 12, 2017 @09:49AM (#13628554)
That's missing the point. The author wanted to test the write speed and found that mkfile was not a good tool to test with.