Jehanne OS github repository mirror. http://jehanne.io/

Giacomo Tesio 629c403341 mksh: install in /cmd/mksh instead of /cmd/sh před 7 roky
arch 9202b04504 rc: use some uppercase variables (PATH, USER...) před 7 roky
cfg 001069aa7b libposix: deep refactor; add sys/posixly command před 7 roky
doc 0e29b708cb published: doc/hacking/overview.md před 7 roky
hacking @ e451b1b7e9 629c403341 mksh: install in /cmd/mksh instead of /cmd/sh před 7 roky
lib 9202b04504 rc: use some uppercase variables (PATH, USER...) před 7 roky
mnt bbf498c38e Added root folders mnt/ pkgs/ and tmp/ před 9 roky
pkgs bbf498c38e Added root folders mnt/ pkgs/ and tmp/ před 9 roky
qa 001069aa7b libposix: deep refactor; add sys/posixly command před 7 roky
sys 8ed3e74c3f libposix: fix setpgid: if the target process is already a group leader, do nothing před 7 roky
tmp bbf498c38e Added root folders mnt/ pkgs/ and tmp/ před 9 roky
usr 20060a1b2a rc: fix variables in /usr/glenda/lib/profile před 7 roky
.gitignore 0d7c28ae92 .gitignore: add mksh's related patterns před 7 roky
.gitmodules b5fcad4e29 Add devtools (as submodule) in hacking/ před 9 roky
.travis.yml b5fc12ec37 .travis.yml: try gcc-4.9 před 7 roky
LICENSE.md d4157c7e24 improve README.md and LICENSE.md před 7 roky
README.md bd3884cc9c README.md: git submodule update --depth 1 (as newlib has a lot of history) před 7 roky
build.json c2982db8a2 newlib: run first QA checks před 7 roky

README.md

Build Status Coverity Badge

Jehanne

Jehanne is a simple operating system.

Jehanne has noble ancestors:

  • most of userland tools, a lot of wisdom and some kernel modules, come from 9front
  • the kernel is a fork of Charles Forsyth's Plan9-9k
  • most of the build system and some valuable piece of code come from Harvey OS

Still the project is named after a humble peasant, the famous French heretic Joan of Arc, because it diverges deeply from the design and conventions of its predecessors.

Overview

This is the main repository, used to build the system as a whole:

  • arch contains one folder for each supported architecture, with specific C headers, libraries and executables (note that by architecture we intend any kind of physical or virtual machine that is able to run code, thus rc is actually an architecture)
  • sys is the system folder
    • include contains portable C headers
    • lib contains data and scripts used by the running system
    • man contains manual pages
    • src contains the sources of the system
  • doc contains useful documentation for Jehanne development
    • license contains detailed info about Jehanne licenses
    • hacking contains details about how to build and modify Jehanne
  • hacking contains the utilities used to develop Jehanne
  • qa contains the regression tests
  • mnt contains default mount targets
  • usr contains the users' folders
  • pkgs will contains the installed packages

The running system also includes supplemental folders like /lib, /cmd and /dev that are bound during the boot as required.

Build

To build Jehanne and play with it, you need to have git, golang, qemu, gcc, binutils and bison installed. For example on Debian GNU/Linux you should be able to get going with

sudo aptitude install git golang build-essential flex bison qemu-system

After the repository clone, you can give a look with

git submodule init                               # we have a lot of submodules
git submodule update --init --recursive --remote --depth 1
./hacking/devshell.sh                            # start a shell with appropriate environment
./hacking/continuous-build.sh                    # to build everything (will take a while)
./hacking/runOver9P.sh                           # to start the system in QEMU
./hacking/drawterm.sh                            # to connect Jehanne with drawterm

Hacking

Jehanne is a work in progress. Forks and pull requests are welcome.

In doc/hacking you will find all you need to know about its principles, design and weirdness.

There's a lot of work to do, in every area of the system.

To coordinate our efforts, we use the github issues. To discuss (and even debate) about the design and development of Jehanne we use the JehanneOS mailing list: please join and present yourself and your attitudes.