Skip to content

Basic UNIX-like filesystem with shell overlay build in python

Notifications You must be signed in to change notification settings

sutaC/StrangeOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StrangeOS

Basic UNIX-like os build in python

Technologies

  • Python
  • SQLite

How to start?

 python src/boot.py
  • To clear filesystem data run clear script or remove filesystem.db

Information about system

Help with commands you will find in help file or by typing help in os itself.

Filesystem base structure:

root
|-- bin
|   `-- hi
|-- etc
|   `-- help.txt
|-- home
|   `-- root
|       `-- hello.txt

System options scheme:

Options must be saved in options.json file in root project directory. Options template provides default options for you to change

{
    # System name
    sysname: str ("system")

    # Initial password to root user
    rootpassword: str ("")

    # Directory to filesystem database
    dbdir: str ("filesystem.db")

    # If true displays verbose error messages
    verbose: bool (False)

    # If true displays instruction segments
    segments: bool (False)
}

<option>: <type> (<default value>)

About

Basic UNIX-like filesystem with shell overlay build in python

Topics

Resources

Stars

Watchers

Forks