a implementation of ramdisk