|
Hello Dan,
Am 20.08.2025 um 19:40 schrieb Dan Bale <dan.bale@xxxxxxxxxxxxxxxxxxxxx>:
Can anyone provide context for why "Can be saved: No" for /tmp isconsidered a best practice?
/tmp is meant for files being created in a temporary manner. Ideally, they
should be deleted by the generating application when no longer needed.
Setting applications to debugging state, or (unexpected) application
crashes happening might prevent cleanup.
See also:
https://en.wikipedia.org/wiki/Unix_filesystem#Conventional_directory_layout
(scroll to /tmp)
Due to their intended temporary nature, files in /tmp by themselves often
have no value, because their content is often derived from data being in
permanent storage anyway, and serves no other need than to conveniently
tuck away intermediately processed data somewhere where it can be picked up
by a subsequent program for further processing. This is to support of the
Unix mantra of "Make each program do one thing well." and helps to chain
many different such tools to perform complex operations on data. Not each
scenario can be implemented by a linear chain of "pipes".
https://en.wikipedia.org/wiki/Unix_philosophy
https://en.wikipedia.org/wiki/Pipeline_(Unix)
All in all, /tmp is not unlike QTEMP, but global in nature and often gets
erased when rebooting Unix-like OS.
Does that help in understanding?
Is "Can be saved: Yes" the shipped default
For 7.3: Yes.
and, ergo, are most shops oblivious to the potential impact of thissetting?
Probably.
I feel the setting of "Can be saved: No" by IBM is somewhat excessive when
considering the IFS in general, but for /tmp and even /var/tmp (same as
/tmp but not erased at reboot time), it makes sense that the content isn't
backed up.
:wq! PoC
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.