Wikipedia:Reference desk/Archives/Computing/2017 September 5

From Wikipedia, the free encyclopedia
Computing desk
< September 4 << Aug | September | Oct >> September 6 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


September 5[edit]

Tape drives as named pipes[edit]

In the days when tape drives were secondary rather than tertiary storage, did any of them have separate read and write heads and allow the read head to run a few thousand bytes behind the write head, thus serving as named pipes with the additional benefit of backing up the most recently-read few thousand bytes (assuming the computers they were connected to allowed block-level access)? NeonMerlin 01:28, 5 September 2017 (UTC)[reply]

I couldn't find anything in Tanenbaum. Regardless, it's unclear how this would work or what it would accomplish. There may exist tons of (anonymous) pipes and FIFOs at any moment in the system. Their semantics don't require them to be seekable, either (in fact, even in modern Linux, they aren't.) Whatever buffering there is, as I understand it, is solely in order to accommodate atomic writes to the pipe but there's always the option to suspend the write()ing process until someone reads from the pipe. 80.171.95.62 (talk) 05:04, 6 September 2017 (UTC)[reply]