[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

It runs!

From: Sergey Bugaev
Subject: It runs!
Date: Fri, 12 May 2023 21:30:34 +0300

Hello everyone, I've got some exciting news :)

/bin/sh runs!!!

Things start up all the way -- exec, proc, auth, all that. Then
/hurd/startup exec's /libexec/console-run; I placed a little shell
script there. The shell (dash) starts up, loads the script, and starts
executing it! And (this required another tweak to TLS) it manages to
fork and exec a command!

The command being "settrans -ac /dev/mach-console /hurd/streamio
console" -- and that seems to (mostly?) succeed too, streamio starts
up and settrans does call file-set-trans on the ext2fs. But I haven't
yet been able to receive any actual output from the shell or
subsequent commands on the console.

But -- we now have enough of Unix working to fork and to run /bin/sh!
How cool is that?!

Patches coming some time soon (tm).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]