Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-11-2017, 03:55 PM   #16
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32
Posts: 286

Rep: Reputation: 19

Originally Posted by coralfang View Post
If you have plenty of ram, mount /tmp as tmpfs as a workaround. Although if you are building a large program you could end up swapping to disk in the event you run out of ram.

tmpfs            /tmp             tmpfs size=4G,nodev,nosuid    0	   0

I placed the above in my (32bit, 8GB RAM Slackware current) fstab. After rebooting, I noticed weird Firefox behavior not showing
any www pages.
Compiling wine went smooth.
After returning to original fstab, FF was working properly.
Why it happened ?

The original fstab was that:

/dev/cryptvg/swap swap             swap        defaults         0   0
/dev/cryptvg/root /                ext4        defaults,noatime    1   1
/dev/cryptvg/home /home            ext4        defaults,noatime    1   2
/dev/sda1        /boot            ext4        defaults         1   2
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
Old 08-11-2017, 04:18 PM   #17
Registered: Oct 2014
Distribution: Slackware, CentOS, Ubuntu MATE
Posts: 400

Rep: Reputation: Disabled
But, in any case, a partition with zero space left is occassion for all kinds of weird breakage with arcane messages
I use conky to provide a visual gauge of disk usage. When a partition exceeds 80% the color of the usage turns orange.

An hourly cron job could accomplish something similar. The script could send a GUI popup notification or an email or both. There probably are existing tools to do that too.

Another method I use, started long before tmpfs became available, is running a script that performs nominal house cleaning, which includes deleting files from temporary directories. A one-liner in a cron job could do much the same. For example, to delete files older than 9 days:

find /tmp -type f -mtime +9 -exec rm -f {} \; && find /tmp -type d ! -name lost+found -mtime +9 -exec rm -rf {} \;
With respect to your original post, the command you used to delete SBo build directories could be part of the cron job.

rm -rf /tmp/SBo/
Or rather than a cron job, add the commands to rc.local or rc.local_shutdown.
1 members found this post helpful.
Old 08-11-2017, 06:58 PM   #18
Senior Member
Registered: Jun 2003
Location: Virginia
Distribution: Slackware has beern Main OpSys for decades while testing others to keep up
Posts: 1,525

Rep: Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469
I have seen 500GB - 1TB SSDs for around $200 USD and some are recognized brand names like Crucial. Are these bad choices?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Prozgui Error: Not enough storage space or storage media fails to create file debasishk Linux - Software 0 12-31-2013 08:46 PM
Not able to check mapping to SAN storage RHCE_ran Linux - Enterprise 5 11-11-2013 03:07 AM
How to best configure my storage space? busydoingnothing Linux - Server 1 03-26-2010 02:44 PM
low storage space? briced Linux - General 1 05-11-2008 09:59 AM
How to share storage space in RHEL 3.0 spelltoronto Linux - Newbie 4 04-26-2005 01:20 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration