Date: Wed, 23 Feb 2005 12:24:40 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Robert Huff <roberthuff@rcn.com> Cc: questions@freebsd.org Subject: Re: question about reported directory size Message-ID: <20050223182439.GI253@dan.emsphone.com> In-Reply-To: <16924.50632.444541.28202@jerusalem.litteratus.org> References: <16924.50632.444541.28202@jerusalem.litteratus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 23), Robert Huff said: > huff@>> dir /usr/lost+found/ > total 192 > drwxrwxrwt 2 root wheel 194048 Feb 23 13:01 . > drwxr-xr-x 22 root wheel 512 Feb 23 03:38 .. > > Now I understand the 't' in the permissions ... sort of. > a) does this mean the reported directory size will never > shrink? > b) is that the actual blocks in use, or an artifact? > c) is is safe to delete and recreate the directory? A directory is only truncated on the first file create after a delete; this optimizes the common rm -rf case. Touch a dummy file in there and check the size again. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050223182439.GI253>