support block devices, character devices and named pipes