added auto detection for memory disks