Thread View: news.software.readers
47 messages
47 total messages
Started by Andy Brager
Mon, 23 Dec 1991 09:15
rn "revising soft pointers..." everytime???
Author: Andy Brager
Date: Mon, 23 Dec 1991 09:15
Date: Mon, 23 Dec 1991 09:15
17 lines
1346 bytes
1346 bytes
Running ISC V.3.3.0, and rn 4.3, patch #47. Well, like the subject line says, when I fire up rn I get the infamous "revising soft pointers..." message. I don't recall it doing this on every invocation of rn. I ran updatemin, but that didn't help any. Hard pointers anyone? :) Thanks! Wouldn't it be nice if there was a list of messages from rn and common causes for error messages? Andy -- DO NOT BUY TOUCHE COMPUTERS -email for details cerritos.edu!wilbur!wndrsvr!andyb <=========> andyb@stb.info.com (If I don't reply to your message, then you probably bounced. Send me another known good address. Ed Thomas of El Segundo are you out there?)
Re: rn "revising soft pointers..." everytime???
Author: Felix Lee
Date: Mon, 23 Dec 1991 14:48
Date: Mon, 23 Dec 1991 14:48
16 lines
1525 bytes
1525 bytes
Urmf. The simplest solution to the "revising soft pointers" problem is to remove the message. The message is an indication that rn will be a little slower between newsgroups, because it has to do a little more processing to find out where in the "active" file the newsgroup is. Normally, it keeps a cache of newsgroup locations; this is what the "soft pointers" are. There's really nothing you can do about it except let rn do its processing. You can avoid this situation by avoiding changes to your active file other than adding things to the end. This means, avoid deleting any newsgroups, and avoid sorting your active file. rn could be faster and smarter about all this, if it were willing to keep more information in memory. PDP-11s aren't an issue any more. -- Felix Lee flee@cs.psu.edu
Re: rn "revising soft pointers..." everytime???
Author: Geoff Collyer
Date: Mon, 23 Dec 1991 20:27
Date: Mon, 23 Dec 1991 20:27
16 lines
1518 bytes
1518 bytes
Felix Lee: >You can avoid this situation by avoiding changes to your active file >other than adding things to the end. This means, avoid deleting any >newsgroups, and avoid sorting your active file. > >rn could be faster and smarter about all this, if it were willing to >keep more information in memory. PDP-11s aren't an issue any more. An even worse problem, at least with rn 4.4, is adding a bogus newsgroup to your .newsrc, especially near the top. This makes rn go into a prolonged huddle (we killed it after 25 minutes on a Sun 4/280), re-reading the active file over and over and over. Why rn doesn't use the active.times file, if it exists, and insists on using slow weird inaccurate heuristics, is a mystery. -- Geoff Collyer world.std.com!geoff, uunet.uu.net!geoff
Re: rn "revising soft pointers..." everytime???
Author: Andy Brager
Date: Tue, 24 Dec 1991 02:03
Date: Tue, 24 Dec 1991 02:03
22 lines
1796 bytes
1796 bytes
In article <1991Dec23.091505.3112@wndrsvr.uucp> andyb@wndrsvr.uucp (Andy Brager) writes: > >Running ISC V.3.3.0, and rn 4.3, patch #47. > >Well, like the subject line says, when I fire up rn I get the >infamous "revising soft pointers..." message. I don't recall it >doing this on every invocation of rn. I ran updatemin, but that >didn't help any. Hard pointers anyone? :) Thanks! Not only that, but for no apparent reason, rn has slowed to a crawl. The first time through, it can take as long as 5-10 seconds for it to respond to an 'n' at the newsgroup level. It used to be instantaneous and is again once I've gone through the entire list of subscribed to groups at least once. Nothing has changed here! (That I'm aware of.) What could it be??? Thanks for any tips! Andy -- DO NOT BUY TOUCHE COMPUTERS -email for details cerritos.edu!wilbur!wndrsvr!andyb <=========> andyb@stb.info.com (If I don't reply to your message, then you probably bounced. Send me another known good address. Ed Thomas of El Segundo are you out there?)
Re: rn "revising soft pointers..." everytime???
Author: Paul Sutcliffe Jr.
Date: Tue, 24 Dec 1991 17:18
Date: Tue, 24 Dec 1991 17:18
15 lines
1310 bytes
1310 bytes
Geoff Collyer writes: >An even worse problem, at least with rn 4.4, is adding a bogus newsgroup >to your .newsrc, especially near the top. This makes rn go into a >prolonged huddle (we killed it after 25 minutes on a Sun 4/280), >re-reading the active file over and over and over. Why rn doesn't use >the active.times file, if it exists, and insists on using slow weird >inaccurate heuristics, is a mystery. Does _any_ existing news reader make user of the active.times file? - paul -- INTERNET: paul@devon.lns.pa.us UUCP: ...!rutgers!devon!paul
Re: rn "revising soft pointers..." everytime???
Author: Geoff Collyer
Date: Tue, 24 Dec 1991 23:34
Date: Tue, 24 Dec 1991 23:34
12 lines
1415 bytes
1415 bytes
>Does _any_ existing news reader make user of the active.times file? Good question. We used to distribute diffs for rn 4.3 to make it use active.times. This made rn quite fast and robust against changes in .newsrcs and the active file (in fact, at least one site locally took to sorting their active file regularly). Unfortunately the relevant code in rn 4.4 has been turned upside down and shaken, so our diff hasn't a hope. On the other hand, other readers such as nn, seem to just quietly do something sensible when active or .newsrc changes. -- Geoff Collyer world.std.com!geoff, uunet.uu.net!geoff
Re: rn "revising soft pointers..." everytime???
Author: Larry Rosenman
Date: Wed, 25 Dec 1991 13:54
Date: Wed, 25 Dec 1991 13:54
22 lines
1817 bytes
1817 bytes
In article <BGyMsv.GoA@world.std.com> geoff@world.std.com (Geoff Collyer) writes: >>Does _any_ existing news reader make user of the active.times file? > >Good question. We used to distribute diffs for rn 4.3 to make it use >active.times. This made rn quite fast and robust against changes in >.newsrcs and the active file (in fact, at least one site locally took to >sorting their active file regularly). Unfortunately the relevant code in >rn 4.4 has been turned upside down and shaken, so our diff hasn't a hope. > >On the other hand, other readers such as nn, seem to just quietly do >something sensible when active or .newsrc changes. >-- >Geoff Collyer world.std.com!geoff, uunet.uu.net!geoff Trn 2.0 uses the active.times file if it sees it during Configure. This is a NICE feature. Trn 2.0 came over Comp.sources.unix recently, current is PL2 (2.2). -- Larry Rosenman Internet: ler@lerami.lonestar.org UUCP: ..!utacfd!lerami!ler US Mail: 900 Lake Isle Circle, Irving, TX 75060-7726 ATT: +1 214-399-0210 (voice) BIX: ler GENIE: LEROSENMAN
Re: rn "revising soft pointers..." everytime???
Author: Andy Brager
Date: Fri, 27 Dec 1991 09:56
Date: Fri, 27 Dec 1991 09:56
17 lines
1677 bytes
1677 bytes
>Felix Lee: >>You can avoid this situation by avoiding changes to your active file >>other than adding things to the end. This means, avoid deleting any >>newsgroups, and avoid sorting your active file. Sigh. I admit it. I have sinned. I deleted the bit.* groups right out of the active file. (rn was complaining and it turned out rn has something on the order of a 1500 group limit.) The question now is, how do I fix it so that rn shuts up once and for all? I ran updatemin, (I'll try again in a few minutes) but that didn't help. Thanks in advance! Andy -- DO NOT BUY TOUCHE COMPUTERS -email for details cerritos.edu!wilbur!wndrsvr!andyb <=========> andyb@stb.info.com (If I don't reply to your message, then you probably bounced. Send me another known good address. Ed Thomas of El Segundo are you out there?)
Re: rn "revising soft pointers..." everytime???
Author: Andy Brager
Date: Sat, 28 Dec 1991 10:26
Date: Sat, 28 Dec 1991 10:26
24 lines
2131 bytes
2131 bytes
In article <1991Dec27.095641.19510@wndrsvr.uucp> andyb@wndrsvr.uucp (Andy Brager) writes: >>Felix Lee: >>>You can avoid this situation by avoiding changes to your active file >>>other than adding things to the end. This means, avoid deleting any >>>newsgroups, and avoid sorting your active file. > >Sigh. I admit it. I have sinned. I deleted the bit.* groups right >out of the active file. (rn was complaining and it turned out rn >has something on the order of a 1500 group limit.) The question now is, >how do I fix it so that rn shuts up once and for all? I ran updatemin, >(I'll try again in a few minutes) but that didn't help. Thanks in advance! Ok, no answers were forthcoming, however on a whim I decided to delete the .rnsoft file, and lo and behold the problem went away. Well, rn no longer complains, but it still seems slow to me. Any ideas where this sudden overhead could be coming from? Maybe I suddenly ran into some limit after collecting all this news??? Thanks for any ideas... Andy -- DO NOT BUY TOUCHE COMPUTERS -email for details cerritos.edu!wilbur!wndrsvr!andyb <=========> andyb@stb.info.com (If I don't reply to your message, then you probably bounced. Send me another known good address. Ed Thomas of El Segundo are you out there?)
Re: rn "revising soft pointers..." everytime???
Author: Catherine Anne Foulston
Date: Thu, 02 Jan 1992 22:39
Date: Thu, 02 Jan 1992 22:39
21 lines
1746 bytes
1746 bytes
In article <1991Dec28.102646.27692@wndrsvr.uucp> andyb@wndrsvr.uucp (Andy Brager) writes: >>[deleted bit groups because...] (rn was complaining and it turned out rn >>has something on the order of a 1500 group limit.) Well, you can help some of the problem by upgrading or hacking rn. I think the newest version does not have the compiled-in limit on number of groups (if it does, follow procedure below). If you want to stick with the version you have, there's a #define somewhere in there that sets the maximum number of groups. If the machine(s) you're running on can handle it, just increase this number and recompile. I have never found a way to shut it up about revising soft pointers, but then I've never had it do that on every invocation, so there was little motivation. Cathy -- Cathy Foulston + cathyf@rice.edu + Rice University, Network & Systems Support You can be pretty sure that if it isn't Usenet now it will be once it's been in contact with Usenet for long enough. -- Ed Vielmetti
Re: rn "revising soft pointers..." everytime???
Author: Neil Rickert
Date: Fri, 03 Jan 1992 00:27
Date: Fri, 03 Jan 1992 00:27
28 lines
1935 bytes
1935 bytes
In article <1992Jan2.230017.9826@rice.edu> cathyf@is.rice.edu (Catherine Anne Foulston) writes: >In article <1991Dec25.135452.3817@lerami.lonestar.org> ler@lerami.lonestar.org (Larry Rosenman) writes: > >>Trn 2.0 uses the active.times file if it sees it during Configure. > >Ugh. I haven't tried trn yet... does it provide a way to tell Configure to >get and use active.times via NNTP? Is that even possible? I hate when Script started on Thu Jan 2 18:22:21 1992 rickert 1> strings /usr/etc/in.nntpd | grep active @(#)active.c /usr/lib/news/active /usr/lib/news/active.times %d Invalid group name (not in active). active active newsgroups rickert 2> script done on Thu Jan 2 18:22:44 1992 As you can see, 'nntpd' already knows about active.times if you configured it properly. If you don't have Cnews, there is some other file you are supposed to use whose date is updated when new groups are added. -- =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Neil W. Rickert, Computer Science <rickert@cs.niu.edu> Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940
Re: rn "revising soft pointers..." everytime???
Author: Mark Moraes
Date: Fri, 03 Jan 1992 03:58
Date: Fri, 03 Jan 1992 03:58
10 lines
1276 bytes
1276 bytes
cathyf@is.rice.edu (Catherine Anne Foulston) writes: >And fixing it to my satisfaction will require protocol changes, in most >cases, not just changes in the readers. Sigh.) 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. Mark.
Re: rn "revising soft pointers..." everytime???
Author: Stan Barber
Date: Fri, 03 Jan 1992 07:12
Date: Fri, 03 Jan 1992 07:12
12 lines
1371 bytes
1371 bytes
In article <1992Jan2.230017.9826@rice.edu> cathyf@is.rice.edu (Catherine Anne Foulston) writes: >Ugh. I haven't tried trn yet... does it provide a way to tell Configure to >get and use active.times via NNTP? Is that even possible? Patch 3 to rn 4.4 will support this feature and some other goodies from trn 2.2. Look for it around Valentine's Day. -- Stan internet: sob@bcm.tmc.edu Director, Networking Olan uucp: rutgers!bcm!sob and Systems Support Barber Opinions expressed are only mine. Baylor College of Medicine
Specialized news protocols (Re: rn "revising soft pointers...")
Author: Felix Lee
Date: Sun, 05 Jan 1992 03:50
Date: Sun, 05 Jan 1992 03:50
24 lines
1942 bytes
1942 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...")
Author: Geoff Collyer
Date: Sun, 05 Jan 1992 04:39
Date: Sun, 05 Jan 1992 04:39
47 lines
3286 bytes
3286 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...")
Author: Brian Kantor
Date: Sun, 05 Jan 1992 05:45
Date: Sun, 05 Jan 1992 05:45
38 lines
2700 bytes
2700 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...")
Author: Geoff Collyer
Date: Sun, 05 Jan 1992 07:11
Date: Sun, 05 Jan 1992 07:11
86 lines
4967 bytes
4967 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...")
Author: Amanda Walker
Date: Sun, 05 Jan 1992 09:34
Date: Sun, 05 Jan 1992 09:34
30 lines
2135 bytes
2135 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...")
Author: Bruce Lilly
Date: Sun, 05 Jan 1992 15:08
Date: Sun, 05 Jan 1992 15:08
37 lines
2432 bytes
2432 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...")
Author: Felix Lee
Date: Mon, 06 Jan 1992 05:16
Date: Mon, 06 Jan 1992 05:16
27 lines
2190 bytes
2190 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)
Author: Rich Thomson
Date: Mon, 06 Jan 1992 06:33
Date: Mon, 06 Jan 1992 06:33
11 lines
1145 bytes
1145 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: rn "revising soft pointers..." everytime???
Author: Andy Brager
Date: Tue, 07 Jan 1992 10:47
Date: Tue, 07 Jan 1992 10:47
14 lines
1433 bytes
1433 bytes
In article <9500@gazette.bcm.tmc.edu> sob@tmc.edu (Stan Barber) writes: >Patch 3 to rn 4.4 will support this feature and some other goodies from trn >2.2. Look for it around Valentine's Day. Stan, can you tell me why rn 4.4 no longer truncates file names > 14 chars, but refuses to write out the file instead? This is in reference to the s command on the article level. Thanks. Andy -- DO NOT BUY TOUCHE COMPUTERS -email for details cerritos.edu!wndrsvr!andyb <=========> andyb@stb.info.com (If you have a % in your return address you will bounce at USC. (Looking for Ed Thomas of El Segundo)
Re: Specialized news protocols (Re: rn "revising soft pointers...")
Author: Mark Moraes
Date: Thu, 09 Jan 1992 08:04
Date: Thu, 09 Jan 1992 08:04
55 lines
3080 bytes
3080 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)
Author: Mark Moraes
Date: Thu, 09 Jan 1992 08:08
Date: Thu, 09 Jan 1992 08:08
5 lines
877 bytes
877 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: rn "revising soft pointers..." everytime???
Author: Andy Brager
Date: Sat, 11 Jan 1992 07:32
Date: Sat, 11 Jan 1992 07:32
24 lines
1709 bytes
1709 bytes
In article <wm8H2m6t4@cs.psu.edu> flee@cs.psu.edu (Felix Lee) writes: >Yes, deleting .rnsoft does fix the problem. rn won't say "revising >soft pointers" any more, because it's rebuilding the soft pointers >from scratch. This may be noticeably slow. Possibly. But it only does it once. I found it quite tolerable. The problem only pops up when I screw up, which is getting rarer these days. >Barring that, here's an instant hack: an awk script that creates an >up-to-date .rnsoft file. Run as: > makernsoft /usr/lib/news/active .newsrc > .rnsoft I saved it. Perhaps someday this will bug me enough to dig it out and and use it :) Thanks! Andy -- DO NOT BUY TOUCHE COMPUTERS -email for details cerritos.edu!wndrsvr!andyb <= wndrsvr!andyb@cerritos.edu => andyb@stb.info.com -If you have a % in your return address you will bounce at USC. (Ed Thomas of El Segundo send me mail with a good return address please)
Re: Specialized news protocols (Re: rn "revising soft pointers...")
Author: Henry Spencer
Date: Sat, 11 Jan 1992 22:25
Date: Sat, 11 Jan 1992 22:25
10 lines
1390 bytes
1390 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: rn "revising soft pointers..." everytime???
Author: Felix Lee
Date: Sun, 12 Jan 1992 04:16
Date: Sun, 12 Jan 1992 04:16
29 lines
2111 bytes
2111 bytes
I wrote: >Yes, deleting .rnsoft does fix the problem. rn won't say "revising >soft pointers" any more, because it's rebuilding the soft pointers >from scratch. This may be noticeably slow. Andy Brager wrote: >Possibly. But it only does it once. I found it quite tolerable. No, not really. It builds the soft pointers in a lazy fashion. The soft pointer array gets filled with zeroes, and when it actually needs a particular soft pointer, it updates the value. Now the soft pointers can become out of date at any time. If rn discovers a soft pointer is no longer accurate, it updates the value. It does this all the time, whether it gives you the "revising soft pointers" message or not. You only get the message the first time rn discovers an out-of-date soft pointer. For each soft pointer rn has to update, whether starting from scratch or not, it does a sequential search of the active file. As I said before, this strategy is relatively slow, and was designed with the assumption that memory is scarce, as on a PDP-11 with 64K. So the simplest thing to do is ignore the "revising soft pointers" message, because it means "rn may be slow", and this doesn't really convey any useful information. rn may be slow whether or not it produces this message. -- Felix Lee flee@cs.psu.edu
Re: Specialized news protocols (Re: rn "revising soft pointers...")
Author: Roy Smith
Date: Mon, 13 Jan 1992 17:11
Date: Mon, 13 Jan 1992 17:11
23 lines
1963 bytes
1963 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...")
Author: Geoff Collyer
Date: Wed, 15 Jan 1992 05:28
Date: Wed, 15 Jan 1992 05:28
13 lines
1182 bytes
1182 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...")
Author: Felix Lee
Date: Wed, 15 Jan 1992 14:56
Date: Wed, 15 Jan 1992 14:56
35 lines
2417 bytes
2417 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...")
Author: Ian Dickinson
Date: Thu, 16 Jan 1992 10:27
Date: Thu, 16 Jan 1992 10:27
16 lines
1601 bytes
1601 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...")
Author: Doug McDonald
Date: Sat, 18 Jan 1992 16:24
Date: Sat, 18 Jan 1992 16:24
19 lines
1608 bytes
1608 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...")
Author: Felix Lee
Date: Sun, 19 Jan 1992 00:59
Date: Sun, 19 Jan 1992 00:59
18 lines
1567 bytes
1567 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...")
Author: Ian Dickinson
Date: Mon, 20 Jan 1992 10:55
Date: Mon, 20 Jan 1992 10:55
23 lines
1825 bytes
1825 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...")
Author: Steve Simmons
Date: Mon, 20 Jan 1992 15:21
Date: Mon, 20 Jan 1992 15:21
14 lines
1397 bytes
1397 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...")
Author: Wm E Davidsen Jr
Date: Mon, 20 Jan 1992 16:44
Date: Mon, 20 Jan 1992 16:44
21 lines
1855 bytes
1855 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...")
Author: Don Lewis
Date: Thu, 23 Jan 1992 06:39
Date: Thu, 23 Jan 1992 06:39
19 lines
1895 bytes
1895 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
Author: 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".
Re: Specialized news protocols (Re: rn "revising soft pointers...")
Author: Guy Middleton
Date: Thu, 23 Jan 1992 19:49
Date: Thu, 23 Jan 1992 19:49
17 lines
1752 bytes
1752 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...")
Author: Guy Middleton
Date: Thu, 23 Jan 1992 21:11
Date: Thu, 23 Jan 1992 21:11
16 lines
1655 bytes
1655 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
Author: David J. Fiander
Date: Fri, 24 Jan 1992 00:33
Date: Fri, 24 Jan 1992 00:33
28 lines
2038 bytes
2038 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
Author: Wm E Davidsen Jr
Date: Fri, 24 Jan 1992 19:52
Date: Fri, 24 Jan 1992 19:52
23 lines
1923 bytes
1923 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...")
Author: Don Lewis
Date: Sat, 25 Jan 1992 00:00
Date: Sat, 25 Jan 1992 00:00
38 lines
2831 bytes
2831 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
Author: Don Lewis
Date: Sat, 25 Jan 1992 00:07
Date: Sat, 25 Jan 1992 00:07
24 lines
1896 bytes
1896 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...")
Author: Don Lewis
Date: Sat, 25 Jan 1992 00:10
Date: Sat, 25 Jan 1992 00:10
11 lines
1324 bytes
1324 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
Author: Robert G. Fries
Date: Tue, 28 Jan 1992 11:27
Date: Tue, 28 Jan 1992 11:27
33 lines
2191 bytes
2191 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
Author: Robert Claeson
Date: Wed, 29 Jan 1992 09:21
Date: Wed, 29 Jan 1992 09:21
23 lines
1912 bytes
1912 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