lkml.org 
[lkml]   [1999]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ramdisk problem
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.131 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site