Re: ramdisk problem

Richard B. Johnson (root@chaos.analogic.com)
Wed, 15 Dec 1999 08:00:00 -0500 (EST)


On Tue, 14 Dec 1999, Idle Time wrote:

> Hi,
>
> It seems to me the ramdisk of the new kernels(e.g. 2.3.33) doesn't hold
> data at all. After I made a file system on a ramdisk with
>
> mke2fs -i 8192 /dev/ram0 1024
>
> I can do :
>
> root[17:49:54]~#mount /dev/ram0 /mnt
> root[17:50:03]~#echo Hello! > /mnt/t
> root[17:50:14]~#cat /mnt/t
> Hello!
>
> which is fine. But if i unmount it and remount if right away, i get
>
> root[17:50:19]~#umount /mnt
> root[17:50:27]~#mount /dev/ram0 /mnt
> root[17:50:31]~#cat /mnt/t
> root[17:50:34]~#
>
> The file is still there, just the contents are all zerod.
>
> Am i missing something here?
>

Same problem with the loop device. Maybe there is a connection?

Cheers,
Dick Johnson

Penguin : Linux version 2.3.13 on an i686 machine (400.59 BogoMips).
Warning : The end of the world as we know it requires a new calendar.
Seconds : 1440000 (until Y2K)

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