re: RAMFS turned read-only after upgrade to 2.4.19-pre3

Dan Kegel (dank@kegel.com)
Wed, 15 May 2002 09:22:51 -0700


Roy wrote:
> after upgrading from 2.4.19-pre3-ac1 tp 2.4.19-pre8-ac3,
> RAMFS is suddenly read-only. This is extremely inconvinient ...
> How can I mend it?

I ran into the same thing. I only use ramfs as my initial boot
disk; upon boot I pivot root to tmpfs. Thus in my application,
one workaround was to make the new root directory before creating
the ramdisk image. Since that was the only write I ever did to
the initial ramdisk, avoiding the write let me boot again.

I have no idea why ramfs went ro. It is annoying. I haven't
tracked it down, though, since I was able to work around it.
(I may have to track it down yet, though, since I was thinking
of using ramfs to hold files that I intend to use with sendfile,
since tmpfs and sendfile don't [yet] mix.)
- Dan
-
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/