on 5-30-2009 2:25 PM Roy Sigurd Karlsbakk spake the following:
> On 30. mai. 2009, at 00.03, Scott Silva wrote:
> 
>> # e2fsck -D -f /dev/hdXY
>>
>> Note: This should work with both ext2 and ext3 filesystems. Depending
>> on the
>> size of your filesystem, this could take a long time. Perhaps you
>> should go
>> get some coffee...
> 
> 
> AFAIK an "updatedb" (as in locate/slocate), or perhaps just a "find /"
> should access all directories and make and index in each of them. That
> way you won't need to umount the fs.
> 
If you look at the quoted text, an fsck is required on pre-existing
directories. They don't have the proper extents or index structures if created
before directory_index is turned on. No other program is going to update the
directory indexes. You can read those directories as many times as you want,
it won't change it.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to