Implement support for block and char dev nodes, fifos and sockets.