Yes, I'm aware a file in use can still be accessed.
We're going to have to disagree on the second point. I would not expect an admin to be familiar with the (subtle?) nuances of the myriad of applications likely running on the system.
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Patrik Schindler
Sent: Wednesday, February 28, 2024 1:49 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Who clears /tmp regularly
Hello Roger,
Am 27.02.2024 um 22:28 schrieb Roger Harman <roger.harman@xxxxxxxxxxx>:
Wow. I'd be leery of wiping out a file that was needed by some active job.
On UNIX, you can easily remove a link to a file despite it being used. Space on disk isn't freed until all file handles referencing the file are closed. I assume PASE emulating AIX works in a similar way.
If you use such a file to pass data between individual applications, this will not work, indeed. But then, the sysadmin should know what's going on on his machine? ;-)
: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.