[TUHS] building world using sh run in /usr/source in v6

Larry McVoy lm at mcvoy.com
Tue Jan 1 10:39:16 AEST 2019


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.


More information about the TUHS mailing list