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


-
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.053 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site