Buffer implementation for makedrive

Same here.