Support multiple ramdisk directories for different devices