The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: clemc@ccc.com (Clem Cole)
Subject: [TUHS] Unix v6 File System information
Date: Sun, 21 Feb 2016 13:59:38 -0500	[thread overview]
Message-ID: <CAC20D2O8s_8XnCbAvxRXVJCxdgtFCW7vyzgKs_gNvf36+2PuRQ@mail.gmail.com> (raw)
In-Reply-To: <20160221182749.8937718C0ED@mercury.lcs.mit.edu>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2646 bytes --]

​Will Senn asked

> Supposing I created a byte faithful representation of a V6 filesystem

 > on my mac, would I then be able to load the file in simh as an RK05 and
>  > mount and access its files and directories from a V6 instance?
>

​Not 100% sure how to parse this... but that is exactly how simh (and
Ersatz11)​

​ work.
You have a UNIX file on your mac and at the simh interactive command
system, you "attach" it as the data for the simulated RK05.
​But it's a manual process to do the attachment AND more importantly,
since Mac OSx just sees it as bits, as a minimum you need to write tools to
push/pull V6 "files" from the image.  This is the same as the "DOS Tools"
trick you see in a lot of UNIX systems that know how to "grok" DOS/FAT file
system images.   You would need to do the same thing.  If you poke around
the Warren's TUHS archives, you might find some of this already there.

​What many of us do it attach a file as a virtual disk but instead of using
a UNIX file system format, use it is a tape image.   Then use tar/cpio or
whatever if you already a tool on both sides that can interpret the bits.
Hence, the v6tar discussion of a few weeks ago.   The UNIX ar(1) format is
sometimes used also, since it was common.   cpio -c also works, but that
was not on the research systems.​   My old room mate, Tom Quarles, wrote a
really good ANSI tape reader/writer for BSD UNIX.  That should back port to
v6 with a little work, particularly if you the "typesetter C" compiler for
V6 which supported enough of the V7 C.   The advantage of the ANSI tape
format is that its common with the DEC systems as well as UNIX.


That said, you can be smarter and more automatic.   As Noel says Ersatz11
supports a virtual shared disk (the same way VMware and Parallels) do.
Writing such a device for simh would be cool and in fact useful for many
different emulators.  Warning there are a lot of dragons hidden with such a
shared FS.   At is definitely doable, but is going to take some work.

The other thing you could do that might be a little less work, but would be
Mac specific, is Mac OSX has the FUSE file system emulation that stuff that
Google released.  If hacked up support for the old Unix FS, you could mount
the V6 "disk" image as Mac OSx disk and see the bits with normal tools.
I've thought about doing this but I have never had the time.  If I ever
became a serious user of the simh, I would probably want something more
like this.

Clem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20160221/883e0385/attachment-0001.html>


  reply	other threads:[~2016-02-21 18:59 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-21 18:27 Noel Chiappa
2016-02-21 18:59 ` Clem Cole [this message]
2016-02-21 19:31   ` arnold
2016-02-21 20:45     ` Will Senn
2016-02-21 21:06       ` Clem Cole
2016-02-21 21:05   ` Will Senn
2016-02-21 21:21     ` Clem Cole
2016-02-22  2:20     ` Warren Toomey
     [not found]       ` <2D41A491-40CD-41DB-B3BA-0ACBD831E2C7@gmail.com>
2016-02-22  7:27         ` Warren Toomey
  -- strict thread matches above, loose matches on Subject: below --
2016-02-22  1:54 Norman Wilson
2016-02-22  3:02 ` Larry McVoy
2016-02-21 21:51 Noel Chiappa
2016-02-21 17:50 Noel Chiappa
2016-02-21 18:36 ` Random832
2016-02-22 13:10 ` ron
2016-02-21 11:44 Noel Chiappa
2016-02-21 13:34 ` Dave Horsfall
2016-02-21 15:21   ` Will Senn
2016-02-21 17:21   ` John Cowan
2016-02-22  1:58     ` Dave Horsfall
2016-02-22  2:32       ` Lyndon Nerenberg
2016-02-22 12:30         ` Tony Finch
2016-02-21 15:36 ` Will Senn
2016-02-21 20:24   ` Warren Toomey
2016-02-21 17:31 ` Random832
2016-02-21 17:36 ` ron
2016-02-21  9:45 Will Senn
2016-02-21 10:01 ` Dave Horsfall
2016-03-04 19:10   ` Jacob Ritorto
2016-03-10  8:51     ` Dave Horsfall
2016-03-10  9:31       ` SPC
2016-02-21 10:27 ` arnold
2016-02-21 12:29   ` Dave Horsfall
2016-02-21 13:54     ` arnold
2016-02-21 14:40       ` Clement T. Cole
2016-03-04  9:27       ` Dave Horsfall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAC20D2O8s_8XnCbAvxRXVJCxdgtFCW7vyzgKs_gNvf36+2PuRQ@mail.gmail.com \
    --to=clemc@ccc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).