Messages in this thread |  | | Date | Sat, 2 Dec 2000 17:57:04 +1300 | From | Chris Wedgwood <> | Subject | Re: ext2 directory size bug (?) |
| |
On Thu, Nov 30, 2000 at 08:24:02AM -0500, Richard B. Johnson wrote:
This is actually a feature. The directory does not get truncated.
Arguably directories could be truncated when objects towards the end are removed; I believe UFS under Solaris might do this?
An even better heuristic I like would allow repacking of a directory and truncation if you could safely half the size -- but I suspect locking issues might be hideous here.
--cw - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |