Easy on *nix, everything looks like a file. I have done this for systems that used mag tape. Just make the special file and a driver that dead ends the commands and blocks the data. No idea on Windows, you would need a driver of some sort to do the same things.