Generic partition and filesystem hooks for Arduino