I’m not aware of such a setting. Perhaps it would interest you to know that if you open Terminal.app and use the ‘cd’ command to change to a directory on the external device you would get such a prompt. You might be able to automate that somehow and put it into your login items...