[net.unix] Wanted: help with unix system to VM/CMS.

weisfeld@endot.UUCP (Matt Weisfeld) (05/21/86)

	I am taking a unix based system in C and porting to an IBM
3081, VM/CMS using the Waterloo C compiler. Since the IBM file system
does not support directories (or so I've been told), there are
obvious problems with taking files over. I would appreciate any 
information from people who may have done something similar to this,
or have any interesting stories about such a port.

	Thanks!

	Matt Weisfeld
	Endot, Inc.
	
	!decvax!cwruecmp!endot!weisfeld

bzs@bu-cs.UUCP (Barry Shein) (05/24/86)

[this conversation not for those with weak stomachs...]

>	I am taking a unix based system in C and porting to an IBM
>3081, VM/CMS using the Waterloo C compiler. Since the IBM file system
>does not support directories (or so I've been told), there are
>obvious problems with taking files over.

You might consider porting TAR and using it as a psuedo file system,
it should run fast enough on a 3081 to not be too much of a nuisance.
You can get listings of what's in the 'directories' with 'tar t'
and then selectively extract what you want to edit, compile etc.

This won't help you MAKE something though unless you wanted to tweak
the utilites involved to undertand tar format (MAKE, CC). I suppose
even that could be done if you were energetic by re-writing open(),
read(), write() etc in terms of a tar-file psuedo-file system and
re-compiled the utilities. This wouldn't help a lot with XEDIT but
you'll probably just extract the files to do that.

Beyond that, the basic idea is the same, you'd have to come up with
a way to write a file system that was hierarchical. The old V6 file
system was pretty simple but not very robust, I once wrote a MKFS for
building such file systems in C on an IBM system, not VM/CMS though.

You're right, if you want to be able to use all the development utilities
you have a problem.

	-Barry Shein, Boston University

bzs@bu-cs.UUCP (Barry Shein) (05/25/86)

That drivel about using TAR under CMS to simulate file systems etc...

ignore it, I misread his note, never mind...

	-Barry Shein, Boston University