New devrest and initialize-block dev commands + minor updates