Hello, I have a problem with a 2.5.62 kernel and ramdisk. I am using isolinux to create a cd that loads some of its partition in ramdisk. The script involves mounting a ramdisk (e2fs) on /fake/ramdisk, copying part of the cd to that mount point, unmounting it, and remounting it on /fake/needwrite. The problem is that, although the content of /fake/needwrite gets correctly copied, the content of the ramdisk after its been remounted on /fake/needwrite is empty. This problem does _not_ happen with 2.4.20. It sounds like a kernel issue, but I haven't received any answer there. I wanted to make sure that the content of the ramdisk is not flushed after its been unmounted? Has anyone had similar problems? Thx, Matt
Matt P. wrote:> Hello, > > I have a problem with a 2.5.62 kernel and ramdisk. I am using isolinux > to create a cd that loads some of its partition in ramdisk. The script > involves mounting a ramdisk (e2fs) on /fake/ramdisk, copying part of the > cd to that mount point, unmounting it, and remounting it on > /fake/needwrite. The problem is that, although the content of > /fake/needwrite gets correctly copied, the content of the ramdisk after > its been remounted on /fake/needwrite is empty. This problem does _not_ > happen with 2.4.20. It sounds like a kernel issue, but I haven't > received any answer there. > I wanted to make sure that the content of the ramdisk is not flushed > after its been unmounted? > Has anyone had similar problems? >I would highly recommend not using a ramdisk. Ramdisks will probably go away in 2.7. ramfs/tmpfs would probably be better. -hpa