ST's STM32 Nucleo dev boards show up as a mass storage device on ubuntu by default. This is annoying and messes up flashing, so here's how to disable it. This should work for ST-LINK v1 - v3