🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
31 messages
31 total messages Started by Felix Lee Sun, 05 Jan 1992 03:50
Specialized news protocols (Re: rn "revising soft pointers...")
#1377
Author: Felix Lee
Date: Sun, 05 Jan 1992 03:50
24 lines
2035 bytes
Mark Moraes asserts:
>Fixing anything to anyone's satisfaction in NNTP's news reading
>section requires protocol changes.  And changes to news readers.  And
>makes any form of evolution hard.  Specialized protocols to handle
>bits of a general problem (network file systems) are a dead-end.

Well, nature is full of specialized solutions to general problems, but
nature is hardly an intelligent designer.

I'd argue that the general problem is network data access, rather than
network file systems.  A filesystem is a specialized instance of a
data source.

NFS doesn't really make evolution much easier.  It just pushes the
problem back a layer.  There is an implicit protocol in the format of
data files.  Changing the active or history files is no easier than
changing the NNTP protocol.  Granted, adding another data file to a
filesystem is simpler than adding another NNTP command, but an
abstraction like NNTP frees you from a particular filesystem format.

Whether the particular abstraction embodied in NNTP is well motivated
or not is a separate issue.
--
Felix Lee	flee@cs.psu.edu
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1378
Author: Geoff Collyer
Date: Sun, 05 Jan 1992 04:39
47 lines
3379 bytes
Mark Moraes:
>>Fixing anything to anyone's satisfaction in NNTP's news reading
>>section requires protocol changes.  And changes to news readers.  And
>>makes any form of evolution hard.  Specialized protocols to handle
>>bits of a general problem (network file systems) are a dead-end.

Felix Lee:
>Well, nature is full of specialized solutions to general problems, but
>nature is hardly an intelligent designer.
>
>I'd argue that the general problem is network data access, rather than
>network file systems.  A filesystem is a specialized instance of a
>data source.

Felix has a point.  However, network file systems provide a useful model
in which it's generally not a big deal to start referring to a new file
name.

The pragmatic problem is that any time a change to the news system is
seriously considered (e.g. active.times or news reader adjunct data
bases), some one pipes up ``but it won't work with NNTP'', to which we
shout back ``then fix @#$%^ing NNTP'' and ``use NFS''.

But to really open the problem up and face the underlying conflict, Mark
and I are arguing that the Internet has always preferred special-purpose
dedicated protocols and user interfaces to every little problem that
comes along, rather than trying to solve problems generally, at least
where that would make sense.  So, for example, instead of transferring
files, mail and netnews via, say, uucp, we have FTP (and its awful
interactive client), SMTP and NNTP.  Yes, SMTP and NNTP do avoid some
waste of bandwidth, so they are a small win on current slow networks.
But how hard would it be to negotiate what to transfer interactively,
then ship the files in bulk, using a common transport?

And there's no standard notion of spooled remote execution of arbitrary
commands (within security restrictions) in the Internet (uucp over tcp
works, but isn't blessed, isn't set up on most machines out of the box,
and generally isn't anonymous and thus isn't ubiquitous like SMTP).  One
has to babysit FTP like it was Kermit, and watch for failures, and retry
by hand.  And the stock Unix client's exit status is meaningless.  Of
course TCP implementations should be more robust so that failures happen
less often, but why should we have to sit and watch FTP transfer a large
file?  This sort of tedious supervision is what computers are good at.
(Yes, I know about the expect program; it's an admirable attack on the
problem, but why should we need it?)
-- 
Geoff Collyer		world.std.com!geoff, uunet.uu.net!geoff
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1379
Author: Brian Kantor
Date: Sun, 05 Jan 1992 05:45
38 lines
2793 bytes
geoff@world.std.com (Geoff Collyer) writes:
>But how hard would it be to negotiate what to transfer interactively,
>then ship the files in bulk, using a common transport?

Not hard at all.  It's one of the first things that was suggested as an
addition to the NNTP, and I fully expect it to be included in the next
protocol spec.

>And there's no standard notion of spooled remote execution of arbitrary
>commands (within security restrictions) in the Internet (uucp over tcp
>works, but isn't blessed, isn't set up on most machines out of the box,
>and generally isn't anonymous and thus isn't ubiquitous like SMTP).

No, few Unix systems (which make up the majority of the Internet these
days) support RJE or other remote batch job / card-reader equivalents.

It is, after all, "batch jobs" (i.e., spooled job execution) that
you're pining for.  That they can be submitted remotely is secondary;
I'd like to see some general purpose batch job submission mechanism on
most operating systems, and then we can have a remote version of it
available.  I know of few for Unix, and NONE that I find satisfactory.

(Hmm.  Maybe someone will port Burroughs WFL to Unix.  No, you don't
want to know.)

I think the spooled execution problem needs to be solved with remote
use in mind, rather than adding some kind of spooled execution to
existing remote usage facilities.  Obviously data transport is part of
such a solution, for after all, you need to supply input and retrieve
output most of the time.  Remote file access as well as transported
data would have to be part of it.  (I.e., I should be able to spool a
job to be executed later with any of the files needed for the job to
be submitted along with the job, sent later (job will wait for them),
OR implicitly retrieved/created as the job runs.)

Now what we need is to get a few poor sick twisted undergraduates
to design and implement it.  After all, that's where NNTP came from.
	- Brian
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1381
Author: Geoff Collyer
Date: Sun, 05 Jan 1992 07:11
86 lines
5060 bytes
Vernon Schryver:
>> ....[why no general purpose data moving tools?  why no batch FTP?
>>	why are we stuck with simple tools?]...
>
>Much of that could be misread as a sermon in praise of OSI.  If it were
>written 8, 5 or even 3 years ago, hundreds of people would respond with
>shouts of "FTAM X.400 TP4 OSI!  Amen!  Praise ISO!"

I realised that after I wrote it.  But that assumes an "either you're for
us or you're against us" mentality.  I think the Internet has done
remarkably well compared to OSI/ISO networks: the Internet exists and is
usable, if painful at times.

>  - FTP rarely fails these days.  Once you get connected, it generally
>    finishes successfully.

You use better links than I.  Try ftp to or from Canada some time.  Large
files fail to transfer annoyingly often, and often without complaint by
ftp; you have to check the byte counts to notice the failure.

> Until you get connected, you often don't know what to ask for.  No one
> asks for a batching "cp" (or even rcp), mostly because cp "never" fails.

I usually know what I want; Mark has written some rather nice tools to
extract indices of ftp sites.

>  - One might respond that waiting for FTP (or rcp) to finish is a dumb
>    bore.  However, batching FTP is not a big win because most users want
>    the fruits of the transfer as soon as they are available.

If it's going to take hours, I'd rather have it proceed in the background
and send me mail when it's completed successfully.  In any case, why
can't the user interface presented by ftp resemble rcp more closely?

>  - where security allow, rcp works fine.  You get an exit status and your
>    program can retry as needed.

rcp may return good exit status, but rsh doesn't, and that's the other
half of my complaint (remote execution).

>  - not all machines are VAX-750's running 4.2BSD, or Sun3's, or 386-Clones
>    with SVR3, or even UNIX with LF end-of-record and simple stream files.

That's my line! :-) On the other hand, where applicable (and that does
include non-Unix systems), cp using NFS or other network file system is a
whole lot more pleasant than ftp.

>    FTP works among most pairs of machines, but it is not so complicated
>    that no one gets the first half right.  By the time you tire of
>    implementing (or porting) an FTP implmentation, you have something
>    usable.

Talk to Mark about that; he's finishing an ftp implementation from
scratch and is none too pleased about the protocol or the existing
servers.

>  -be-all-end-all solutions are bad ideas.  The main power of UNIX
>    has been the notion of simple-to-the-point-of-simplistic.  FTAM and
>    X.400 have not taken over, in part because they're too complete and too
>    general.  If they were large improvements, everyone would be running
>    them over TCP instead of waiting for TP4 to arrive.  UNIX went a long
>    way by keeping tools simple and separate.  The UNIX filesystem is in
>    part a reaction to Multics.

No, ISO protocols fail because they have no conceptual integrity and
aren't an order of magnitude better than the TCP/IP stack.  Simplicity
and generality ought to fit together; they are not by nature exclusive.
Note that Unix insisted originally that all files were named byte
streams, using a uniform name space.  Research Unix and Plan 9 push that
model out onto the network.  Just as people originally didn't understand
the advantages of device-independent i/o and lack of in-kernel file
formats, so that cp couldn't copy any file, so we still have people
arguing that networks are different enough that we shouldn't be able to
use cp to copy a file over a network; we should have to use ftp or rcp.

>The end is near.  10 or 20 years ago people ran screaming from bloated,
>buggy, slow operating systems and took up the UNIX religion.  Today, SVR4
>and OSF 2.0 are bigger than anyone would have claimed KRONOS, MVS, OS/360,
>or Multics were.

Sorry, I should have been more specific.  I guess I need a pre-canned
disclaimer.  By "Unix" I mean Research Unix (and sometimes its
descendent, Plan 9).  Clearly modern commercial Unixes are botches (SGI's
included :-).  Unix is dead; long live Plan 9.
-- 
Geoff Collyer		world.std.com!geoff, uunet.uu.net!geoff
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1383
Author: Amanda Walker
Date: Sun, 05 Jan 1992 09:34
30 lines
2228 bytes
vjs@rhyolite.wpd.sgi.com (Vernon Schryver) writes:
> Much of that could be misread as a sermon in praise of OSI.  If it were
> written 8, 5 or even 3 years ago, hundreds of people would respond with
> shouts of "FTAM X.400 TP4 OSI!  Amen!  Praise ISO!"

Well, I hate to admit it, but we could do worse than to build a news
system over X.400 (ISO 10021-7).  The main problem is the execrable
quality of most OSI implementations and their associated development
tools.  However, this makes OSI irrelevant for Usenet from a pragmatic
standpoint, at least for a while yet, since volunteers tend to pick
platforms with good tools, and rightly so.

> FTAM and X.400 have not taken over, in part because they're too
> complete and too general.

I disagree.  I'd say, rather, that they haven't taken over because there
are no reasonable, functional, free implementations of them.  ISODE,
with all due respect to its authors, is not tractable for casual users
(and more importantly, sysadmins).  Remember that TCP/IP didn't "catch
fire" until everyone started getting it free with BSD UNIX.

This being said, I agree that UNIX is getting dreadfully overweight
these days.  We've come a long way from V6...


Amanda Walker						      amanda@visix.com
Visix Software Inc.					...!uunet!visix!amanda
-- 
"I know you're supposed to take life one day at a time -- but lately
 several days have attacked me at once."	--Anonymous
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1384
Author: Bruce Lilly
Date: Sun, 05 Jan 1992 15:08
37 lines
2525 bytes
In article <kmd6quINNcj0@network.ucsd.edu> brian@ucsd.edu (Brian Kantor) wrote:
>geoff@world.std.com (Geoff Collyer) writes:
>>But how hard would it be to negotiate what to transfer interactively,
>>then ship the files in bulk, using a common transport?
>
>Not hard at all.  It's one of the first things that was suggested as an
>addition to the NNTP, and I fully expect it to be included in the next
>protocol spec.

I believe Geoff was referring to a general file transfer
mechanism, not a news-specific one.

>>And there's no standard notion of spooled remote execution of arbitrary
>>commands (within security restrictions) in the Internet (uucp over tcp
>>works, but isn't blessed, isn't set up on most machines out of the box,
>>and generally isn't anonymous and thus isn't ubiquitous like SMTP).
>
>No, few Unix systems (which make up the majority of the Internet these
>days) support RJE or other remote batch job / card-reader equivalents.
>
>It is, after all, "batch jobs" (i.e., spooled job execution) that
>you're pining for.  That they can be submitted remotely is secondary;
>I'd like to see some general purpose batch job submission mechanism on
>most operating systems, and then we can have a remote version of it
>available.  I know of few for Unix, and NONE that I find satisfactory.

uux *is* spooled remote job execution, and is available (in one
flavor or another) on most UNIX(R) systems. It handles input,
output, and remote file access (as mentioned later in Brian's
article).

As for a general purpose (local) batch job submission, at(1), in
conjunction with cron, handles that where it is available.

-- 
	Bruce Lilly		blilly!bruce@Broadcast.Sony.COM
					...uunet!sonyusa!sonyd1!blilly!bruce
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1385
Author: Felix Lee
Date: Mon, 06 Jan 1992 05:16
27 lines
2283 bytes
In retrospect, I think Mark Moraes and I were talking past each other,
if when he said "filesystem", he meant "something like the Plan 9
filesystem".

The Plan 9 filesystem is not a "filesystem" in the traditional sense
because the "files" in it are not "pieces of data stored on disk".
Plan 9 generalizes the Unix notion that every object, including things
like /dev/stdin, should be visible and accessible as a "file".  An
entity in the filesystem is really any service that produces or
consumes data.

This framework provides a uniform namespace and a uniform protocol for
services.  The Internet does not have anything as simple or powerful.
Consider opening "usenet/id/<42@uu.net>", instead of doing history
dbm/dbz'ing or talking NNTP-ese.

Now, from this point of view, something like NFS is poorly motivated.
NFS is designed to provide files in the traditional sense.  It's
possible to create a service by mimicking an NFS server, but it's
awkward to do and use.  And NFS is itself layered on top of another
level of service, Sun RPC, which has its own hard-to-see, two-level
namespace, unlike the Plan 9 filesystem.

A simple term for "something like the Plan 9 filesystem" would be
nice, to avoid confusion with the traditional "filesystem" notion.
--
Felix Lee	flee@cs.psu.edu
Plan 9 (was: Specialized news protocols)
#1391
Author: Rich Thomson
Date: Mon, 06 Jan 1992 06:33
11 lines
1238 bytes
All this talk about "Plan 9" (from outer space?) has me wanting to
learn more about it.  Can someone point me to a technical paper
outlining its design, etc.?

						-- Rich
-- 
	Repeal the personal income tax; vote Libertarian in 1992.
	    Disclaimer: I speak for myself, except as noted.
UUCP: ...!uunet!dsd.es.com!rthomson			Rich Thomson
Internet: rthomson@dsd.es.com	IRC: _Rich_		PEXt Programmer
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1386
Author: Mark Moraes
Date: Thu, 09 Jan 1992 08:04
55 lines
3173 bytes
The concept of using filesystems to represent hierarchally-structured,
named objects predates Plan 9 by quite a bit.  For example, see the
refs below.  It's unfortunate that many of the powerful ideas in
Research Unix haven't made it into modern commercial Un*xes. (But
then, I'm not holding my breath till a certain popular workstation
vendor ships a builtin test and shell functions in /bin/sh :-)

Everytime I think about a NNRP (network news reader protocol), I end
up with a spec that looks awfully like a network file system.  Give a
server an object name, possibly some location information and it
returns you the object contents or a subset thereof.  It's very easy to
express it in terms of open/read/seek.  It's easy to pretend the
objects are files.  In news, one doesn't even have to pretend much,
since articles are files -- converting from message-id to filename is
a history file lookup.  If expressed as files, one can use old
programs (cat, grep, awk) in new and interesting ways, rather than
having to hack support for a new or modified protocol into a client.
Most of NNTP's news reader support seems to be ways to get at data
that used to be in files.

Where does one insert sleeps to make
echo 'ARTICLE <s68Hk&4u4@cs.psu.edu>' | telnet news-server.csri nntp | more
work (substitute news-server.csri with your favourite nntp server)

If you have $NEWSCTL and $NEWSARTS NFS mounted, try
more `newshist '<s68Hk&4u4@cs.psu.edu>' | awk '{print $3}' | tr . /`

Files are a useful metaphor.  Accessing named chunks of data over the
network seems a recurring theme.

	Mark.
--
%A T.J. Killian
%T Processes as files
%J Proceedings of the USENIX 1984 Summer Conference
%C Salt Lake City, Utah
%D June 1984
%K usenix84s
%P 203-207

%A David Hitz
%A Peter Honeyman
%T A mail file system for Eighth Edition Unix
%J Proceedings of the USENIX 1986 Summer Conference
%C Atlanta, Georgia
%D June 1986
%K usenix86s
%P 391-394
%K V8, MFS, NETFS

Also see the Research Unix manuals (Tenth Edition) available at your
neighbourhood bookstore) Enjoyable reading, if you like Unix and nifty
ideas.

--
Re: Plan 9 (was: Specialized news protocols)
#1393
Author: Mark Moraes
Date: Thu, 09 Jan 1992 08:08
5 lines
970 bytes
If you have a PostScript printer, try grabbing dist/plan9doc/* by
anonymous ftp from research.att.com.  (Or doc/plan9doc/* from
ftp.cs.toronto.edu)

	Mark.
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1388
Author: Henry Spencer
Date: Sat, 11 Jan 1992 22:25
10 lines
1483 bytes
In article <xp6H$xmy4@cs.psu.edu> flee@cs.psu.edu (Felix Lee) writes:
>... And network file systems like NFS or AFS are quite devoted to
>providing remote file access in the common sense.  Things in /dev and
>things like named pipes do not work remotely.

They work just fine in well-designed network file systems.  (Yes, this
says something about NFS et al.)
-- 
"Breakthrough ideas are not             | Henry Spencer @ U of Toronto Zoology
from teams."  -- Hans von Ohain         |  henry@zoo.toronto.edu  utzoo!henry
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1389
Author: Roy Smith
Date: Mon, 13 Jan 1992 17:11
23 lines
2056 bytes
flee@cs.psu.edu (Felix Lee) writes:
> [NFS etc] are quite devoted to providing remote file access in the common
> sense.  Things in /dev and things like named pipes do not work remotely.

henry@zoo.toronto.edu (Henry Spencer) replies:
> They work just fine in well-designed network file systems.  (Yes, this
> says something about NFS et al.)

	OK, I give up, what does it say?  People do a lot of NFS bashing
but the fact is that it works well enough, and between enough different
platforms that it has become a de-facto standard and a lot of people
couldn't imagine living without it.  It may not be all things to all
people, but I don't think it's fair to bash NFS for not being something it
wasn't designed to be.

	Yeah, I know, just because something becomes the de-facto standard
doesn't mean it's good.  There are lots of examples of terrible de-facto
standards (MS-DOS for example) but I don't think NFS is one of them.
-- 
roy@alanine.phri.nyu.edu (Roy Smith)
Public Health Research Institute
455 First Avenue, New York, NY 10016, USA
"Arcane?  Did you say arcane?  It wouldn't be Unix if it wasn't arcane!"
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1392
Author: Geoff Collyer
Date: Wed, 15 Jan 1992 05:28
13 lines
1275 bytes
Roy Smith:
> People do a lot of NFS bashing but the fact is that it works well
> enough, [...]

Well enough for *you* maybe, but you don't speak for everyone.  NFS is a
superior replacement for ftp, to quote Bil Joy.

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?  It's not called the Network
Plain File System, after all.
-- 
Geoff Collyer		world.std.com!geoff, uunet.uu.net!geoff
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1394
Author: Felix Lee
Date: Wed, 15 Jan 1992 14:56
35 lines
2510 bytes
Roy Smith asks:
> OK, I give up, what does it say?  People do a lot of NFS bashing
>but the fact is that it works well enough

It's not Unix, and it's not well-integrated with Unix, because NFS and
Unix do not believe in the same sort of "file".

You may argue: NFS has to cater to diverse systems such as Unix and
MS-DOS, so therefore it provides a least common denominator "file".  I
say: the generalized notion of "file" as any source or sink of data is
strong enough to encompass any other notion of file.

You may argue: well-integration between Unix and NFS is not that
important; something that works now and is a de facto standard is good
enough.  I say: I do prefer prison to death, but that does not mean I
should be content with prison.

You may argue: NFS is not a prison.  I say: just because you choose
not to leave the walls, it is no less a prison to your neighbor.

You may argue: this is stretching an analogy too far: society is a
"prison" to malcontents; most people are content with NFS.  I say: NFS
is not a society; it's a two-prong outlet in a three-prong world.

You may argue: but we don't live in a three-prong world.  I say:
enough silly analogies.  IPC and RPC communication channels should
belong in the filesystem namespace.  The benefits of a unified
namespace are profound.

You ask: what benefits?  I say: imagine if all your verbs had to be in
written German, all your adjectives in spoken French, and all your
nouns in color photographs.  Building sentences would be cumbersome.
(Gak.  It's hard to avoid drifting into these silly analogies.)
--
Felix Lee	flee@cs.psu.edu
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1396
Author: Ian Dickinson
Date: Thu, 16 Jan 1992 10:27
16 lines
1694 bytes
In article <BI1z7t.1Lq@world.std.com> 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?  It's not called the Network
>Plain File System, after all.

NFS certainly does have it's problems, but it's pretty good for reading
news over.  NNTP newsreaders make me and my machine ill, though I really
like NNTP for transport.

Cheers,
-- 
\/ato
Ian Dickinson - NIC handle: ID17
vato@csv.warwick.ac.uk  ...!mcsun!uknet!warwick!vato
@c=GB@o=University of Warwick@ou=Computing Services@cn=Ian Dickinson
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1398
Author: Doug McDonald
Date: Sat, 18 Jan 1992 16:24
19 lines
1701 bytes
In article <BI7Lov.CK8@world.std.com> geoff@world.std.com (Geoff Collyer) writes:
>Roy Smith:
>>Just think of NFS as a Swiss Army knife.  It does a lot of different
>>jobs.  It doesn't do any of them especially well, but still, it's handy
>>to have around.
>
>Granted.  Now can we have a real network file system for Unix?  (The name
>Network File System *is* confusing; one might expect NFS to actually be
>one. :-)
>-- 
>Geoff Collyer		world.std.com!geoff, uunet.uu.net!geoff

What is this "for Unix" business? That seems a bit parochial and
at this time a bit old fashioned. Unix is presently a small part
of the big computing picture. I would expect some that, at the least,
supported equally Unix, MS-DOS, the Mac, and OS/2 2.0 plus maybe VMS.

Doug McDonald
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1399
Author: Felix Lee
Date: Sun, 19 Jan 1992 00:59
18 lines
1660 bytes
Roy Smith says:
>Like I said, it's easy to bash NFS for not being what it doesn't
>intend to be.

If people can bash MS-DOS for retarding progress, why not bash NFS for
the same?  Satisfaction with NFS has shown it to be as entrenched as
MS-DOS.  A better solution will meet with general reluctance.

In an attempt to cater to different systems, NFS narrowed the problem
instead of widening it.  It gives network access to "pieces of data
sitting on a disk" rather than network access to data in general.
It's like trying to combine a tuba and a trumpet into some strange
amalgmation of tubing, rather than building a synthesizer.  The
general solution is strong enough to handle the specific cases.

(Please, can we drop this thread now?)
--
Felix Lee	flee@cs.psu.edu
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1401
Author: Ian Dickinson
Date: Mon, 20 Jan 1992 10:55
23 lines
1918 bytes
In article <npcHhlm*4@cs.psu.edu> flee@cs.psu.edu (Felix Lee) writes:
>Roy Smith says:
>If people can bash MS-DOS for retarding progress, why not bash NFS for
>the same?  Satisfaction with NFS has shown it to be as entrenched as
>MS-DOS.  A better solution will meet with general reluctance.

I haven't seen a better solution yet.  NFS has plenty of problems
but I don't want to swap them for a different set with RFS/AFS.
At least I know what the problems are with NFS, rather than relearning.

You can be sure that as soon as a network FS comes along without the problems,
myself and many others will move to it like a very-fast-moving-thing.

>(Please, can we drop this thread now?)

Not after you've just posted an interesting point like that! :-)

Cheers,
-- 
\/ato                                                         if (!take(joke))
Ian Dickinson - NIC handle: ID17                                  em = fork();
vato@csv.warwick.ac.uk  ...!mcsun!uknet!warwick!vato
@c=GB@o=University of Warwick@ou=Computing Services@cn=Ian Dickinson
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1400
Author: Steve Simmons
Date: Mon, 20 Jan 1992 15:21
14 lines
1490 bytes
cudep@warwick.ac.uk (Ian Dickinson) writes:

>I haven't seen a better solution yet.  NFS has plenty of problems
>but I don't want to swap them for a different set with RFS/AFS.
>At least I know what the problems are with NFS, rather than relearning.

>You can be sure that as soon as a network FS comes along without the problems,
>myself and many others will move to it like a very-fast-moving-thing.

Assuming, of course, it's as cheap as NFS.  Followups to?
-- 
 "Usenet is not a right."  -- Chip Salzenberg
 "Usenet is a right, a left, a jab, and a sharp uppercut to the jaw.
 The postman hits!  You have new mail."   -- Ed Vielmetti
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1404
Author: Wm E Davidsen Jr
Date: Mon, 20 Jan 1992 16:44
21 lines
1948 bytes
In article <xv1cbthx@csv.warwick.ac.uk> cudep@warwick.ac.uk (Ian Dickinson) writes:

| I haven't seen a better solution yet.  NFS has plenty of problems
| but I don't want to swap them for a different set with RFS/AFS.
| At least I know what the problems are with NFS, rather than relearning.
| 
| You can be sure that as soon as a network FS comes along without the problems,
| myself and many others will move to it like a very-fast-moving-thing.

  NFS and RFS are not either/or solutions. They are solutions to
diferent problems. NFS is a nice system between vendors which allows
machines to be rebooted without breaking the world (frequently, not
always). RFS allows some locking and determination that a file is open
so it doesn't get deleted while in use.

  Both are useful, neither is perfect. What's to discuss.

-- 
bill davidsen	(davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen)
  GE Corp R&D Center, Information Systems Operation, DSS group
"A pointed truth is an honest knife"  -Gnoza, _Slow Lightning_
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1412
Author: Don Lewis
Date: Thu, 23 Jan 1992 06:39
19 lines
1989 bytes
>In article <BI1z7t.1Lq@world.std.com> 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?  It's not called the Network
>Plain File System, after all.

NFS allows access to all of the above, just as if they were local.  If I
write to /dev/ttya, why should I care what filesystem (local or remote)
/dev resides on.  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 (even if I think they are a bad idea).  I suppose
that you could make it work right by having a local RAM disk for /dev,
but that seems pretty silly (and you would have to create the contents
from scratch every time you rebooted).
-- 
Don "Truck" Lewis              Phone: +1 916 265-3211   Silicon Systems
Internet: (under contruction)  FAX:   +1 916 265-2931   138 New Mohawk Road
UUCP: {uunet,tektronix!gvgpsa.gvg.tek.com}!ssigv!lewis  Nevada City, CA  95959
Re: Specialized news protocols
#1413
Author: Icarus Sparry
Date: Thu, 23 Jan 1992 12:25
33 lines
2347 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".
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1417
Author: Guy Middleton
Date: Thu, 23 Jan 1992 19:49
17 lines
1846 bytes
In article <1992Jan23.063932.13230@ssigv.UUCP> lewis@ssigv.UUCP (Don Lewis) writes:
> >In article <BI1z7t.1Lq@world.std.com> 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?  It's not called the Network
> >Plain File System, after all.
> 
> NFS allows access to all of the above, just as if they were local.  If I
> write to /dev/ttya, why should I care what filesystem (local or remote)
> /dev resides on.  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 (even if I think they are a bad idea).

I think you miss the point.  We want both: /dev/local/mt1 should access a
tape on my desk, while /dev/remote/mt1 should access a tape on the Cray in
the basement.  NFS cannot do this.
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1418
Author: Guy Middleton
Date: Thu, 23 Jan 1992 21:11
16 lines
1749 bytes
In article <1992Jan20.224026.6964@phri.nyu.edu> roy@alanine.phri.nyu.edu (Roy Smith) writes:
> And I certainly wouldn't want to
> inconenience myself just so I can exchange files with all those VMS and DOS
> and whatever-IBM's-mainframe-OS-is-called; if they can't implement Unix
> file system semantics 100%, they're not worth talking to.

In fact, although Roy intended this as sarcasm, I do agree with his
statement.  I don't want to inconvenience myself writing programs to cope
with a filesystem that imports foreign sematics into a Unix machine.  Being
able to read DOS files may be a valid goal, but an application running on
Unix should not ever be able to tell the difference between local and remote
files.

If details of the remote filesystem cannot be hidden by the network, then I
would prefer not to write programs for it.  The inconvenience should be the
burden of the network filesystem, not of applications.
Re: Specialized news protocols
#1419
Author: David J. Fiander
Date: Fri, 24 Jan 1992 00:33
28 lines
2132 bytes
According to ccsis@gdt.bath.ac.uk (Icarus Sparry):
>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.

Of more immediate use to most people is the fact that you can
access the QIC driver "over there" without having to have an
account over there.  This was the one thing that I missed the
most when the place I last worked switched from an RFS based
network to an NFS based 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".

Or even better, read "Interprocess Communications in the Ninth
Edition UNIX System," which is contained in _UNIX Research
System, Papers, Tenth Edition, Volume II_.

Everything, but everything, is in the filesystem.  The approved
way to join the on-going V9 multi-machine mazewar game is to
have your agent program open the named pipe '/cs/mazewar' and
start talking to the server.
Re: Specialized news protocols
#1420
Author: Wm E Davidsen Jr
Date: Fri, 24 Jan 1992 19:52
23 lines
2017 bytes
In article <1992Jan23.122537.29729@gdt.bath.ac.uk> ccsis@gdt.bath.ac.uk (Icarus Sparry) writes:

| Consider how useful it could be to be able to do something like
| 
| mount server:/dev /n/server/dev

  Well, you can do it now on some systems, the problem is that on open
the kernel sees a special device, and access it by using the major and
minor device numbers. And devices on the executing CPU.

  I know what you want, and it's a good idea, but it takes some major
kernel hacks to make it work. Um, make that 'fundemental' rather than
'major,' since they are not all that large, but a mistake will be more
visible than other parts of the kernel.

  Um, can't RFS do this? I've played with RFS a bit, but not since it
was almost new, and I don't remember the details so exactly that I would
state them as facts. Seems to me that you can do this with RFS, though,
and I even think I did it to do backups using a tape on another machine.
-- 
bill davidsen	(davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen)
  GE Corp R&D Center, Information Systems Operation, DSS group
"A pointed truth is an honest knife"  -Gnoza, _Slow Lightning_
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1422
Author: Don Lewis
Date: Sat, 25 Jan 1992 00:00
38 lines
2925 bytes
In article <1992Jan23.194911.15452@watmath.waterloo.edu> gamiddle@watmath.waterloo.edu (Guy Middleton) writes:
>In article <1992Jan23.063932.13230@ssigv.UUCP> lewis@ssigv.UUCP (Don Lewis) writes:
>> >In article <BI1z7t.1Lq@world.std.com> 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?  It's not called the Network
>> >Plain File System, after all.
>> 
>> NFS allows access to all of the above, just as if they were local.  If I
>> write to /dev/ttya, why should I care what filesystem (local or remote)
>> /dev resides on.  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 (even if I think they are a bad idea).
>
>I think you miss the point.  We want both: /dev/local/mt1 should access a
>tape on my desk, while /dev/remote/mt1 should access a tape on the Cray in
>the basement.  NFS cannot do this.

I don't think I miss the point.  The way it should really work is:

	mount server:/exports/myclient/dev /dev
	mount server:/dev /n/server/dev
	mount server:/exports/anotherclient/dev /n/anotherclient/dev

Accessing /dev/mt1 accesses the tape on my desk.
Accessing /n/server/dev/mt1 accesses the tape on the server.
Accessing /n/anotherclient/dev/mt1 accesses the tape on a discless client
down the hall.

The location of the physical device should *not* be implied by the
location of the disk containing its /dev/entry.  Otherwise, if my root
disk dies and I am forced to boot diskless, I lose all access to local
devices (like /dev/console).
-- 
Don "Truck" Lewis              Phone: +1 916 265-3211   Silicon Systems
Internet: (under contruction)  FAX:   +1 916 265-2931   138 New Mohawk Road
UUCP: {uunet,tektronix!gvgpsa.gvg.tek.com}!ssigv!lewis  Nevada City, CA  95959
Re: Specialized news protocols
#1423
Author: Don Lewis
Date: Sat, 25 Jan 1992 00:07
24 lines
1990 bytes
In article <1992Jan23.122537.29729@gdt.bath.ac.uk> ccsis@gdt.bath.ac.uk (Icarus Sparry) writes:
>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.

Yes, this would be useful, but the the location of the disc containing
the /dev/entry for ttya should not imply the location of the ttya port.

>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.

This would also be useful.  The implementation could be tricky though.
You would want to be able to write to the fifo on one client and
read on another, preferably without sending all the data through
the server.
-- 
Don "Truck" Lewis              Phone: +1 916 265-3211   Silicon Systems
Internet: (under contruction)  FAX:   +1 916 265-2931   138 New Mohawk Road
UUCP: {uunet,tektronix!gvgpsa.gvg.tek.com}!ssigv!lewis  Nevada City, CA  95959
Re: Specialized news protocols (Re: rn "revising soft pointers...")
#1424
Author: Don Lewis
Date: Sat, 25 Jan 1992 00:10
11 lines
1418 bytes
In article <1992Jan25.000025.20617@ssigv.UUCP> lewis@ssigv.UUCP (Don Lewis) writes:
>	mount server:/exports/myclient/dev /dev
>	mount server:/dev /n/server/dev
>	mount server:/exports/anotherclient/dev /n/anotherclient/dev

Even better, accessing /exports/myclient/dev/mt1 on the fileserver should
access the tape drive on myclient.
-- 
Don "Truck" Lewis              Phone: +1 916 265-3211   Silicon Systems
Internet: (under contruction)  FAX:   +1 916 265-2931   138 New Mohawk Road
UUCP: {uunet,tektronix!gvgpsa.gvg.tek.com}!ssigv!lewis  Nevada City, CA  95959
Re: Specialized news protocols
#1425
Author: Robert G. Fries
Date: Tue, 28 Jan 1992 11:27
33 lines
2285 bytes
In article <1992Jan25.000712.20702@ssigv.UUCP> lewis@ssigv.UUCP (Don Lewis) writes:
>In article <1992Jan23.122537.29729@gdt.bath.ac.uk> ccsis@gdt.bath.ac.uk (Icarus Sparry) writes:
>>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.
>
>Yes, this would be useful, but the the location of the disc containing
>the /dev/entry for ttya should not imply the location of the ttya port.

The Locus Operating System (a.k.a. AIX/370 & AIX/PS2) has remote tty's
and block devices, with the location of the device stored in the i-node
along with the major/minor number. (so mknod takes an extra argument)

I believe RFS also supports remote devices, but the location of the node
identifies the context of the major/minor pair.

I have no idea if AFS/Episode supports remote devices. I've heard it does,
and I've heard it doesn't.

>>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.
>
>This would also be useful.  The implementation could be tricky though.
>You would want to be able to write to the fifo on one client and
>read on another, preferably without sending all the data through
>the server.

Locus also supports this. And it was tricky :-).


-- 
Robert G. Fries (robert@veritas.com)      "It's pronounced freeze" -- me
Re: Specialized news protocols
#1428
Author: Robert Claeson
Date: Wed, 29 Jan 1992 09:21
23 lines
2006 bytes
In article <1992Jan28.112738.12147@Veritas.COM>, robert@Veritas.COM (Robert G. Fries) writes:

|> The Locus Operating System (a.k.a. AIX/370 & AIX/PS2) has remote tty's
|> and block devices, with the location of the device stored in the i-node
|> along with the major/minor number. (so mknod takes an extra argument)
|> 
|> I believe RFS also supports remote devices, but the location of the node
|> identifies the context of the major/minor pair.
|> 
|> I have no idea if AFS/Episode supports remote devices. I've heard it does,
|> and I've heard it doesn't.

I believe that Encore's operating systems provided remote devices for
their proprietary "call" protocol to communicate with their terminal servers.
The nice thing about this is that each port in the network has its own
unique device name, so it is pretty easy to see where the user is logged
in.

-- 
Robert Claeson                  Internet: robert@sys.sweden.dg.com
Data General AB
Box 28                          Tel: +46 (0)8-92 55 00
S-164 93 KISTA, Sweden          Fax: +46 (0)8-751 36 22
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads