Page MenuHomeFreeBSD

mktemp.1: Improve the .Nd description
Needs RevisionPublic

Authored by temcbun_gmail.com on Jul 18 2026, 9:11 PM.
Referenced Files
Unknown Object (File)
Sun, Sep 6, 3:55 AM
Unknown Object (File)
Fri, Sep 4, 11:56 AM
Unknown Object (File)
Fri, Sep 4, 3:16 AM
Unknown Object (File)
Wed, Aug 26, 7:10 PM
Unknown Object (File)
Tue, Aug 18, 2:08 AM
Unknown Object (File)
Wed, Aug 12, 3:29 PM
Unknown Object (File)
Wed, Aug 12, 3:29 PM
Unknown Object (File)
Wed, Aug 12, 3:28 PM
Subscribers

Details

Summary

Get rid of parenthesis and clarify that this utility can create not only files, but directories as well.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

I like it, lets give it a few days to see if anyone else has any suggestions to improve it further.

This revision is now accepted and ready to land.Aug 8 2026, 6:42 PM
ziaee requested changes to this revision.Mon, Sep 7, 10:44 PM

Thanks for the ping. So I dug in a little further. The existing description is actually aligned with a library, mktemp.3 which has the same description. It can make not only directories, but pipes and fifos and... (etc) which are all normalized to files. Further, mktemp was written by Todd C Miller and even has a website https://www.mktemp.org/ and seems to have the same Nd in every single OS because we're all using the same implementation. So, we should not change it. In fact perhaps it should be in contrib/ to make that more obvious but I do not want to grind that axe.

This revision now requires changes to proceed.Mon, Sep 7, 10:44 PM