The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* Re: [TUHS] building world using sh run in /usr/source in v6
@ 2019-01-01  4:11 Noel Chiappa
  0 siblings, 0 replies; 4+ messages in thread
From: Noel Chiappa @ 2019-01-01  4:11 UTC (permalink / raw)
  To: tuhs; +Cc: jnc

    > From: Larry McVoy

    > And cron is really 3246 bytes?  And 2054 for init?  Don't those seem too
    > small?  Linux's cron is 44472 and that's with shared libs

No, 3246 is the same as mine, and my init (which has a few changes from stock) is
2064.

I'm not surprised the later one is 44KB - that's in part due to the denseness
of PDP-11 binary (and the word-size is only 16 bits), but more broadly, I
expect that it goes to my complaint about later Unixes - they've lost, IMO,
the single most important thing about the PDP-11 Unixes, which is their
bang/buck ratio.

	  Noel

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [TUHS] building world using sh run in /usr/source in v6
@ 2019-01-01  0:29 Will Senn
  2019-01-01  0:39 ` Larry McVoy
  0 siblings, 1 reply; 4+ messages in thread
From: Will Senn @ 2019-01-01  0:29 UTC (permalink / raw)
  To: TUHS main list

The setting up document hints at how to build world so to speak in v6. 
However, when I log in as bin (most files are owned by bin) and:

chdir /usr/source

sh run

I get a number of failed items along these lines:

cp a.out /etc/cron
Can't create new file.

cp a.out /etc/init
Can't create new file.

A little digging around points to the problem - some files are owned by 
daemon, others by root:

-rwsrwsr--  1 daemon   3246 Oct 10 12:54 cron
-rwxrwxr--  1 root     2054 May 13 23:50 init

My question is this, is the system recompiled en-masse using the run 
script in /usr/source or not? It certainly appears to be the method, as 
it contains a bunch of chdir somedir; time sh run lines including the 
/usr/sys/run file... If it's not, what was the method?

I gather I can force it by logging in as root and running those sections 
of the run script pertaining to files owned by root, and the same for 
daemon, but that seems inefficient and begs the question why didn't they 
have run scripts for root and daemon that were separate from the ones 
for bin.

Thanks,

Will


-- 
GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-01  4:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01  4:11 [TUHS] building world using sh run in /usr/source in v6 Noel Chiappa
  -- strict thread matches above, loose matches on Subject: below --
2019-01-01  0:29 Will Senn
2019-01-01  0:39 ` Larry McVoy
2019-01-01  0:48   ` Will Senn

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).