lkml.org 
[lkml]   [1999]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: why is the size of a directory always 1024b ?
Hi Ted.

>>> Actually, it isn't - it is deliberately 12 BLOCKS. True, this
>>> is 12k on a 1k block filesystem, but it is 48k on a 4k block
>>> filesystem. I'm not sure whether this was intentional or a bug
>>> in the mklost+found code.

>> It was deliberately chosen to be 12 blocks, but arguably 48k is
>> more space than is really necessary. Probably not a disaster in
>> the grand scheme of things, but I will think about changing this
>> in future revisions of mke2fs.

> Probably a more sensible rule would be to say 16k or 1 block,
> whichever is smaller. Note that on 8k file systems, 12k is not
> an integral number of blocks, but 16k is, hence the change.

I did of course mean "whichever is LARGER" (8-Z)

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.831 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site