ramdisk deletes newlly created files

Mansour Al-Aqeel <[email protected]> Fri, 30 Jan 2004 20:23:03 -0400
Newsgroups gmane.linux.userfs
Message-ID <[email protected]>
Hi every body:
I was wondering if the support for ramdisk in kernel 2.6.X has been changed.
I'm trying to mount a ramdisk image as ext2. when ever I create a file 
in that image it dsappears after I umount it.
for example:
mount /dev/ram /mnt
cd /mnt
mkdir contents
cd /
umount /mnt
mount /dev/ram /mnt
cd /mnt

then it's empty, it contatins no directory called "contents".
How did it disappear ?? and why ??
How can I prevent this from happening??
It doens't happen with kernel 2.4.x !!!
Thank alot for any help

-
To unsubscribe from this list: send the line "unsubscribe linux-userfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html