Okay I'm a bit stumped... how do you create a file on FreeBSD, NetBSD, OpenBSD, ...

@cr1901@mastodon.social

Okay I'm a bit stumped... how do you create a file on FreeBSD, NetBSD, OpenBSD, and Linux that's guaranteed to _not_ be swapped or written to disk (to temporarily protect sensitive info)?

Context is ZFS encryption that is enabled by a recv _requires_ the encryption key to come from a file (because standard input is already used). I don't want that file to persist on disk.