Re: why is the size of a directory always 1024b ?

Pauline Middelink (middelin@polyware.nl)
Thu, 24 Jun 1999 19:10:28 +0200


On Thu, Jun 24, 1999 at 02:56:59PM +0530, MURALI N wrote:
>
> drwxr-xr-x 2 root root 12288 May 4 21:35 lost+found
> drwxr-xr-x 5 root root 1024 May 5 12:12 mnt
> dr-xr-xr-x 33 root root 0 Jun 23 19:06 proc
>
> "lost+found"
>
> drwxr-xr-x 2 root root 12288 May 4 21:35 .
> drwxr-xr-x 17 root root 1024 May 28 16:40 ..
>
> If the present scheme allocates 13 * 1024 bytes for just "." and "..", I
> feel it is time to rethink the directory handling.

Nono, lost+found is /delibertly/ 12K. The reason is that you
can't (easely) enlarge a directory on a disk which is beeing
recovered. By making lost+found at least 12K we have enough
room for making names for lost files

Met vriendelijke groet,
Pauline Middelink

-- 
PGP Key fingerprint = DE 6B D0 D9 19 AD A7 A0  58 A3 06 9D B6 34 39 E2
For more details look at my website http://www.polyware.nl/~middelin

- 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/