Add support for raw device