Where does galactic dust come from?