Transforming into a block device (not tested but compiles)