[TUHS] 3bsd tape image

Will Senn will.senn at gmail.com
Sat Aug 5 03:17:46 AEST 2023


On 8/3/23 23:41, Warner Losh wrote:
>
>
> The TUHS stuff matches what we have on Kirk's CDs.
>
> And it looks like one could build a boot tape from what's in sys in 
> the tarball.  It has the usual standalone files that look like V7 files.
>
> There's usr/man/man8/sysgen.8
>
> sysgen \- UNIX system generation from the distribution tape
>
> I've not tried to grab that tape to see if it has the same bits as in 
> the archive.
>
> Warner

Hi Warner,

I would love to be able to recreate the bootable tape(s) from what we 
have available (the tarball) and document that process along the way. In 
the setup manual, it says:

    The tape contains binary images of the system and all the user level
    programs, along with source and
    manual sections for them. There are about 4200 UNIX† files
    altogether. The first tape file contains boot-
    strapping programs. The second tape file is to be put on one
    filesystem called the ‘root filesystem’, and
    contains essential binaries and enough other files to allow the
    system to run. The third tape file has all of
    the source and documentation. Altogether the files provided on the
    tape occupy approximately 40000 512
    byte blocks

Taking this apart, it seems like:

    The tape contains binary images of the system and all the user level
    programs, along with source and
    manual sections for them. There are about 4200 UNIX† files altogether.

Refers to everything in 3bsd.tar.gz  - 4130 files.

And this:

    The first tape file contains boot-strapping programs.

Refers to the files in sys:

    boot  mkfs  restor  rp6fmt  rpread

And this:

    The second tape file is to be put on one filesystem called the ‘root
    filesystem’, and
    contains essential binaries and enough other files to allow the
    system to run.

Refers to everything except /usr/src and /usr/doc.

While this:

    The third tape file has all of the source and documentation.

Refers to /usr/src and /usr doc.

If I'm understanding things, this means I would create three tape images 
- one with just the 5 files in sys and that's it, the second with 
everything except for /usr/src/ and /usr/doc, and the third with just 
/usr/src and /usr/doc. The first tape would have blocksize 512, the 
other two, 10240. I could then use any of the plethora of maketape 
scripts around to put the tape together.

In looking at what was done previously, it looks like the root fs was on 
the tape as a dump, whereas the usr files were on the tape as a .tar. 
Why not just have root and usr as .tar on the tape?

Thanks,

Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tuhs.org/pipermail/tuhs/attachments/20230804/c6d3a403/attachment.htm>


More information about the TUHS mailing list