set up ram block device