From owner-freebsd-questions@FreeBSD.ORG Wed Aug 22 13:22:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F544106564A for ; Wed, 22 Aug 2012 13:22:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4A84F8FC0A for ; Wed, 22 Aug 2012 13:22:23 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-179.dynamic.qsc.de [92.195.49.179]) by mx01.qsc.de (Postfix) with ESMTP id 4B1833CE11; Wed, 22 Aug 2012 15:22:16 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q7MDMF5k001996; Wed, 22 Aug 2012 15:22:15 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 22 Aug 2012 15:22:15 +0200 From: Polytropon To: Andy Wodfer Message-Id: <20120822152215.1b411f23.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: /tmp filesystem full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2012 13:22:23 -0000 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 see those: 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. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...