read or write arbitrary portions of a file or device