build: add support for parameter passing to mkfs from devices