The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Will Senn <will.senn@gmail.com>
To: Larry McVoy <lm@mcvoy.com>
Cc: TUHS main list <tuhs@minnie.tuhs.org>
Subject: Re: [TUHS] building world using sh run in /usr/source in v6
Date: Mon, 31 Dec 2018 18:48:58 -0600	[thread overview]
Message-ID: <7e9ef70d-dfcf-de1a-7711-c0c2007baf90@gmail.com> (raw)
In-Reply-To: <20190101003916.GB15969@mcvoy.com>

On 12/31/18 6:39 PM, Larry McVoy wrote:
> On Mon, Dec 31, 2018 at 06:29:11PM -0600, Will Senn wrote:
>> 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
> This smells like a file system that is corrupted (I used to hack UFS
> a few decades back).
>
> Can you do a
>
> ls -l | od -c
>
> because I want to see what those ?? are.
>
> 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, I'm
> assuming that v6 didn't have shared libs, it's all static.

Hi Larry,

I'm not sure where the ? came from, but I think that's just the email, 
here is init:

ls -l /etc/init|od -c
0000000  -  r  w  x  r  w  x  r  -  -        1     r  o
0000020  o  t                 2  0  5  4     M  a  y
0000040  1  3     2  3  :  5  0     /  e  t  c  /  i  n
0000060  i  t \n \0
0000063

ls -l /etc/init|od
0000000 071055 074167 073562 071170 026455 020040 020061 067562
0000020 072157 020040 020040 031040 032460 020064 060515 020171
0000040 031461 031040 035063 030065 027440 072145 027543 067151
0000060 072151 000012
0000063

As for how big they are, that's just the beauty of v6, everything is 
super small. Linux is blubbery in comparison.

Will



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


  reply	other threads:[~2019-01-01  0:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-01  0:29 Will Senn
2019-01-01  0:39 ` Larry McVoy
2019-01-01  0:48   ` Will Senn [this message]
2019-01-01  4:11 Noel Chiappa

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=7e9ef70d-dfcf-de1a-7711-c0c2007baf90@gmail.com \
    --to=will.senn@gmail.com \
    --cc=lm@mcvoy.com \
    --cc=tuhs@minnie.tuhs.org \
    /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).