Mktemp started on OpenBSD


Today I learned the indispensible tool for creating safe temporary files and folders began life on OpenBSD. From the project’s website:

Mktemp is a small program to allow safe temporary file creation from shell scripts. The current release is version 1.7, released on April 25, 2010. Mktemp is free software and is distributed under a ISC-style license. Mktemp was written by Todd C. Miller.

A different, but compatible, implementation of mktemp is available as part of GNU coreutils.

It’s worth remembering just how much of the Internet, and even Linux distributions, depends on infrastructure and tech that either started life on the BSDs, or is still actively maintained in a BSD project. OpenBSD especially punches well above its weight, often with little or no recognition in the Linux community.

It makes me wonder when tools I otherwise love like Ansible get bought for millions of dollars. Ansible depends entirely on OpenSSH for its operation. Did OpenBSD get a cent from that? What about Python? BSD/ISC/MIT and the GPL don’t require it, but seems like a good insurance policy, if not just common courtesy.

You can donate to the OpenBSD Foundation here.

Author bio and support


Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.