ramdisk: remove any unnecessary modifications