Re: [PATCH] rootfs (part 1)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 17 May 2001 00:49:15 +0100 (BST)


> cr:/speicher/src/u4ac9 $ ls -l mm/shmem.o*
> -rw-r--r-- 1 cr users 154652 Mai 16 19:27 mm/shmem.o-tmpfs
> -rw-r--r-- 1 cr users 180764 Mai 16 19:24 mm/shmem.o+tmpfs
> cr:/speicher/src/u4ac9 $ ls -l fs/ramfs/ramfs.o
> -rw-r--r-- 1 cr users 141452 Mai 16 19:27 fs/ramfs/ramfs.o
>
> So CONFIG_TMPFS adds 26k and ramfs 140k.

I think you have a major tool problem.

bash-2.04$ size mm/shmem.o
text data bss dec hex filename
7422 572 0 7994 1f3a mm/shmem.o
bash-2.04$ size fs/ramfs/ramfs.o
text data bss dec hex filename
3185 368 0 3553 de1 fs/ramfs/ramfs.o

Never trust ls -l size for binaries, its very very unrelated.

So ramfs is 3553 bytes, shmem.o in total is 8K on current -ac.

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