Added ramdisk protection to cdb_driver