| To: | Bernhard Erdmann <be@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: xfs_fsr for directories? |
| From: | Chris Wedgwood <cw@xxxxxxxx> |
| Date: | Thu, 7 Oct 2004 17:29:36 -0700 |
| Cc: | linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <4165D00A.8020306@berdmann.de> |
| References: | <4165D00A.8020306@berdmann.de> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
On Fri, Oct 08, 2004 at 01:23:54AM +0200, Bernhard Erdmann wrote:
> xfs_fsr cleans up the files, but who cares about directories?
plenty of people
> How does XFS handle directories when files are deleted? Do they
> shrink as well?
yes
to *try* to make a directory better if not don't mind the inode
changing do somehting like (can't be done whilst it's being accessed
though)
cd parent/of/said/dir
mv dir old-dir
mkdir dir
mv old-dir/* dir
rmdir old-dir
which will create a new directory and move all entries over, with some
luck this will help create the directory in fewer fragments (compared
to having it grow slowly over time)
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: xfs_repair problem in FS root, Nathan Scott |
|---|---|
| Next by Date: | [Bug 366] New: configure script is missing basic macro, bugzilla-daemon |
| Previous by Thread: | xfs_fsr for directories?, Bernhard Erdmann |
| Next by Thread: | Re: xfs_fsr for directories?, Chris Wedgwood |
| Indexes: | [Date] [Thread] [Top] [All Lists] |