On 2016-04-21 00:18, Sampsa Laine wrote:

On 21 Apr 2016, at 01:12, Johnny Billquist <b...@softjar.se> wrote:


Where would you get the metadata from? And you have a lots of different types 
of binary files, multiplied with a lot of different systems. You want to try 
and figure out some system to handle all the variants?


The guest OS tool creates and interprets the metadata. The only thing that is 
consistent across all of the guest OSes is that it tells the SIMH file server 
how many octets are going to be written to disk (the guest OS tool has to 
convert the actual word size into octets so that the data file is just a stream 
of bytes)

The structure of the metadata file would depend on the host OS but SIMH doesn’t 
have to care - it just sticks the stuff in the file and it’s up to the guest 
OSes transfer tool to create/interpret it.

It's up to whoever puts the file into that container/raw device/whatever to 
make sure that the bytes also match up with the metadata, and the tool used to 
extract the file, so that the final binary output becomes what was expected.


Yes, exactly - the guest OS tools do this. The SIMH file server just writes the 
stuff to disk.

Well, the goal was to transfers files into and out of the guest system. If you want to transfer files into the guest system, you cannot really expect the guest system to create the information...

        Johnny

--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: b...@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol
_______________________________________________
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Reply via email to