Broadway

Complete News World

Better compatibility with Linux and other innovations in Redox

Better compatibility with Linux and other innovations in Redox

Udo M. Reading time: 2 minutes

The Redox project, a desktop operating system written entirely in Rust, released an overview of its progress in January, and it's a really long list. >

oxidation and reduction It now supports the Raspberry Pi 3 Model B+, some of System76's Cosmic Desktop applications now run on Redox, several Linux applications have been ported, and much more.

More approach for Linux

The main change is an overhaul of the way Redox handles resource paths (Modified machine translation):

'Redox has a small kernel, with drivers and other resource providers running as tasks and providing 'schemas'. Schema is the name of the resource provider, and the resources were previously retrieved in URI/URL format. For example, files will be accessed in the format file:path/to/my_file and a TCP connection will be in the format tcp:127.0.0.1. This format, although forward-looking, was not particularly backwards compatible.

To simplify our efforts to port Linux programs to Redox, we decided to change the format of our resource path to the Linux-compatible /scheme/scheme_name/path/to/resource. Paths that do not start with /scheme are considered a file system reference. For example, the system treats /path/to/my_file as /scheme/file/path/to/my_file, where the application only sees the /path/to/my_file portion. With this format, regular paths now look like Linux paths, while drivers and other resources can still be accessed without affecting software.

This change has been implemented, and the kernel, along with our relibc implementation of libc, can translate between formats completely transparently. Applications and schemas are updated as we process them, so some inconsistencies may be apparent, but the main part of the change has been completed and the system is working fine.'

source:

https://www.redox-os.org/news/this-month-240131/