Article View: news.software.readers
Article #1080Re: Specialized news protocols
From: Icarus Sparry
Date: Thu, 23 Jan 1992 12:25
Date: Thu, 23 Jan 1992 12:25
33 lines
2253 bytes
2253 bytes
In article <1992Jan23.063932.13230@ssigv.UUCP> lewis@ssigv.UUCP (Don Lewis) writes: >> geoff@world.std.com (Geoff Collyer) writes: >>Given that files in Unix may be plain files, directories, special files >>(devices), fifos, sockets and more, why is that Sun's Network File System >>only permits remote access to the first two? > >NFS allows access to all of the above, just as if they were local. You can't access the servers /dev/ttya via NFS. This is a device. You can only access the files (and directories) via NFS. >I just want the data to come out the ttya port on the >box in front of me. If writing to /dev/ttya caused the data to be written >to the file server's ttya, it would be rather difficult to build a >discless workstation. It would not be any more difficult to build a discless workstation than it currently is. Consider how useful it could be to be able to do something like mount server:/dev /n/server/dev You then could write to /n/server/dev/ttya, which just happened to have the modem connected to it. You could even set up 'tip' so you could say 'tip modem' and it could work from anywhere on your local network. If you can have shared fifos, then it makes it much simpler to have programs on different machines communicating. Just open a named pipe, using 'fopen', and write to it. None of this mucking around with calls to socket, bind etc. What is more you can do this from the shell, no need to write special C programs to do it. It is worth while going back and reading chapter 5 of Kernighan & Pike "The UNIX programming environment".
Technical Details
Message-ID:
<1992Jan23.122537.29729@gdt.bath.ac.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!mcsun!uknet!gdt!ccsisReferences:
<1992Jan13.171142.25357@phri.nyu.edu> <BI1z7t.1Lq@world.std.com> <1992Jan23.063932.13230@ssigv.UUCP>Show Full Headers
Complete Article Headers
Message-ID: <1992Jan23.122537.29729@gdt.bath.ac.uk> Subject: Re: Specialized news protocols Date: Thu, 23 Jan 1992 12:25:37 +0000 From: ccsis@gdt.bath.ac.uk (Icarus Sparry) References: <1992Jan13.171142.25357@phri.nyu.edu> <BI1z7t.1Lq@world.std.com> <1992Jan23.063932.13230@ssigv.UUCP> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!mcsun!uknet!gdt!ccsis Newsgroups: news.software.b,news.software.nntp,news.software.readers Organization: Bath University Computing Services, UK Lines: 33