:
:> :(3) Or maybe we can add a parameter to the filesytem, telling it to try to
:> :preallocate some contiguous disk space for all directory files. I guess
:> :that the cost per bit on disk is less than the cost per bit in memory.
:> 
:>     I believe the filesystem already does this.
:> 
:
:The FFS tries to allocate space contiguously for any type of file.  It
:does not PRE-allocate disk space, which will result wasteage of disk space
:if that space is not used later.
:
:-Zhihui

    I'm sorry, I misread that ... I thought he had said 'allocate'.  It
    definitely does not preallocate disk space.  FFS is designed to
    to avoid fragmentation so the blocks that it allocates when appending
    to a file (or directory) tend to be contiguous.

                                        -Matt
                                        Matthew Dillon 
                                        <[EMAIL PROTECTED]>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to