Ask a Question related to FreeBSD, Design and Development.
-
Robert Huff #1
question about reported directory size
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?
Robert Huff
Robert Huff Guest
-
Getting the total size of a directory
I'm running out of web space and want to write a script that tell me the size of certain directories so I can see where the hog is. Can anyone... -
The user Directory publishing service reported an error
Some but not all of my users get this error when trying to connect to my CPS managed server: Directory publishing service reported an error. Error... -
limit directory size
Hi, perhaps someone knows how to limit the size of a certain directory within a partition. On the certain partition disk qoutation is active for... -
memory size reported by ps
Hi, Looking at memory usage by processes, I used a ps -efo "args,vsz". I would expect to get the size of the process is real memory+pagingspace.... -
Directory Size
Greetings learned PHP(eople); Is there a way to calculate the size of directory in PHP ? I searched php.net and only found ways of opening... -
Dan Nelson #2
Re: question about reported directory size
In the last episode (Feb 23), Robert Huff said:
A directory is only truncated on the first file create after a delete;> 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?
this optimizes the common rm -rf case. Touch a dummy file in there and
check the size again.
--
Dan Nelson
[email]dnelson@allantgroup.com[/email]
Dan Nelson Guest
-
Robert Huff #3
Re: question about reported directory size
Dan Nelson writes:
"Who was that masked man?"> 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.
"I don't know, but he left this silver bullet."
Thanks.
Robert Huff
Robert Huff Guest



Reply With Quote

