Re: mke2fs /dev/loop0

Richard B. Johnson (root@chaos.analogic.com)
Wed, 28 Feb 2001 10:31:35 -0500 (EST)


On Wed, 28 Feb 2001, Holluby [Windows-1250] István holluby@interware.hu 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-2.95.2.1
> 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.

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