use of dev->dev_t