Seperated the network mounting related code from linuxrc.