/tmp filesystem full
freebsd at edvax.de
Wed Aug 22 13:22:23 UTC 2012
On Wed, 22 Aug 2012 14:12:25 +0200, Andy Wodfer wrote:
> How can I find which directories break the MAXPATHLEN variable?
It's easy to do this with find and awk:
% find / -type d | awk 'length > LIMIT'
where LIMIT is the numerical value you want to be exceeded (in
your case, MAXPATHLEN). You can add "> /tmp/longpaths.txt" to
obtain a list file for further reference.
> or can I somehow run the periodic script in verbose mode to see the output?
You could manually run it. Note that it's output is tailored
to "generate mail messages" about success or failure which is
then mailed to the system administrator.
See /etc/defaults/periodic.conf for various *_verbose variables
to make the scripts themselves be more verbose. But I only can
daily_clean_tmps_verbose="YES" # Mention files deleted
daily_clean_preserve_verbose="YES" # Mention files deleted
daily_clean_rwho_verbose="YES" # Mention files deleted
You could however (temporarily) add your own debugging statements
to the script in question.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions