[nos-bbs] JNOS Enhancement Request: /tmp filenames

Michael Fox - N6MEF n6mef at mefox.org
Wed Aug 10 12:47:52 EDT 2016


In 2.0k (and earlier), JNOS creates temporary files in /tmp with filename
format of "fileXXXXXX" where "X" is assigned by the OS.

 

Please adjust the temp filenames to indicate that they belong to jnos.  For
example, in bash, it would be: mktemp "/tmp/jnos-XXXXXX".  I presume the C
syntax would be something similar.

 

Why?

It helps speed troubleshooting.  Some of the recent JNOS hangs have been
accompanied by multiple enormous (multi-GB) temp files in /tmp that fill the
/tmp partition.  The generic filenames obscured whether they were related to
JNOS problem or perhaps something else that was happening simultaneously.
So it took time to monitor the /tmp file system and JNOS to determine that
these were created by JNOS. 

 

Michael

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20160810/61a3b7eb/attachment.html>


More information about the nos-bbs mailing list