Re: mke2fs /dev/loop0

From: Richard B. Johnson (
Date: Wed Feb 28 2001 - 10:31:35 EST

On Wed, 28 Feb 2001, Holluby [Windows-1250] István wrote:

> Hi!
> This command hangs my system. It works for a 100K file, but it hangs my
> system, if the file is 470M. It does not matter, if the disk is SCSI or
> ide.
> linux 2.4.2
> glibc-2.2.2
> gcc-
> e2fs-1.19
> With kernel 2.2.18, it works fine.
> ===============
> I also have some problem, with ncpfs. I am not quite sure, because I had to
> hack the source, to compile it, but the same hack works with 2.2.18.

`mke2fs /dev/loop0` requires an additional parameter (file size to
create). Otherwise, it will try to use all the RAM in your system, plus...

If it worked before, it was because of luck. FYI, this is not the
way to create a ramdisk. Normally you use the loop device to mount
a file as a file-system, i.e., `mount -o loop filename /mnt`.
So, I don't know what you are trying to do except crash your system.

Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Feb 28 2001 - 21:00:16 EST