RAMFS turned read-only after upgrade to 2.4.19-pre3
Quoted 3 lines · Roy
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