parse md device configuration