Clearing /tmp and using sbopkg.
Hi all,
So I am thinking of writing a script that clears my /tmp partition on shutdown, but am wondering if this will affect the functionality of sbopkg. I noticed that sbopkg creates a directory called SBo in /tmp when run. Prior to running sbopkg, I deleted this directory and any package files that were residing in /tmp. So, will I have any issues? If so, I have obviously missed something in the way sbopkg functions. Regards, Jack. |
No, I have limited disk space and clear /tmp/SBo regularly. sbopkg syncing/searching for updates still works (because it found updates). Other sbopkg functions work too; you shouldn't have any problems with sbopkg.
|
Quote:
|
IIRC at some (recent-ish) point Slackware added support for a /etc/rc.d/rc.local-shutdown file in which you placed commands you wanted executed on shutdown. Make sure of the name, create one, chmod +x it, and you're probably good to go.
I'm not sure, though, what files in /tmp might be being used during the shutdown process. |
you can also set the variable CLEANUP in /etc/sbopkg/sbopkg.conf. In mine I got
Code:
CLEANUP=${CLEANUP:-YES} You will still need an occasional Code:
rm -fR /tmp/SBo/* |
All times are GMT -5. The time now is 11:11 AM. |