sun@me.utoronto.ca (Andy Sun Anu-guest) (06/29/90)
Hi there, I have the following that I do not know if anything can be done: I ran cvtrgy from an Apollo DN3000 running SR9.7 to convert a SR10.1 registry from another node (a DN3500) to SR9.7. It ran to completion and everything seems to be fine. However, I cannot run it anymore. When I looked at /etc/registry, etc., they seem to lose their file type (i.e. whether it is an ASCII file, binary file, or directory). Running "file /etc/registry" gave me registry: nil An ls -l shows it is a file (_rwxr_xr_x) but I cannot cat, vi or doing anything to it (cat says no such file exists and vi says it is a directory). Is there any way to regain the file identity? Is there a command that can assign a file type back to a file? Any suggestions are welcome. Andy
krowitz%richter@UMIX.CC.UMICH.EDU (David Krowitz) (06/29/90)
Your SR9.7 registry files should located in the /registry directory in the "local_site" and/or "rgy_site" subdirectories. The cvtrgy tool creates a directory, the subdirectories, and the actual files -- which are of type NIL (ie. they are not readable by the stream I/O system under SR9, they can only be read by the mapped-segment calls under SR9.7. SR10 systems are able to read NIL file types as a raw stream of bytes). Here is the commands we use to convert our SR10 registry to SR9.7. They are executed on the SR9.7 master registry machine (//love -- a deceased geophysicist) if not eqs ((^user)) "root" then args 'you must be logged in as "root" in order to run cvtrgy' exit endif von if existf //bowie/registry/rgy_site then dlt -f //bowie/registry/rgy_site endif //moho/install/tools_sr9/cvtrgy -from10to9 -to //bowie/registry/rgy_site -from //moho /com/salrgy voff (Please execuse me, I forgot that //love was recently updated to SR10. //bowie -- another deceased geophysicist -- is our last remaining SR9.7 disked node. If my brain-dead ways continue, they may wind up naming a node after me ...) -- David Krowitz krowitz@richter.mit.edu (18.83.0.109) krowitz%richter.mit.edu@eddie.mit.edu krowitz%richter.mit.edu@mitvma.bitnet (in order of decreasing preference)