Auto detect NVM