SkyOS

SkyOS

Infobox OS
name = SkyOS

website = http://www.skyos.org/
motto = See the light, break free.
developer = Robert Szeleney
source_model = Closed source
latest_test_version = Beta 6947
latest_test_date = August 3, 2008
marketing_target = Desktop users
language = Multilingual
kernel_type = Monolithic
license = Proprietary
working_state = Beta
supported_platforms = X86

SkyOS (pronEng|skaɪ o s) is a modern graphical desktop operating system written for the X86 computer architecture. It is under active development.

History

SkyOS is the culmination of over ten years of research and development by Robert Szeleney and volunteers.

A young man in University, Szeleney and several friends began the "Sky Operating System" as an experiment in OS design. As the years progressed and the other founding members of SkyOS distanced from the project, Szeleney continued work on the operating system in his spare time.

Szeleney's full-time job was in automation programming, and he already had a fair understanding of operating system design. But he continued to use SkyOS as a learning device, releasing four versions under an open source license.

The project reached the height of its popularity in 2004, when Szeleney decided to close the source of SkyOS and begin work on the fifth version. At the beginning of the year, Szeleney started a paid beta program to fund development and distribution of the OS, expecting to have very few (if any) interested subscribers. At the same time, members of the community hosted a contest to determine the look of the GUI, which drew significant attention to the project. So much attention, in fact, that by the end of that same year, the SkyOS community had tripled in size, and Szeleney had hundreds of active beta testers downloading and testing his twice-monthly releases.

SkyOS underwent many changes after this surge in popularity. Because of significant differences at the source level, Szeleney stopped thinking of what was under development as the fifth version of his operating system, and the name "SkyOS 5.0" was rebranded to simply "SkyOS". A more professional demeanor was taken throughout the project, and Szeleney even considered incorporating under the name "Djinnworks". The SkyOS community has since shrunk significantly from its peak in 2004, but development of SkyOS continues as fast as ever. The codebase has grown to several hundred thousand lines of code, and current development is focused on a complete rewrite of the kernel in an attempt to bring legacy code up to par with the rest of the system.

Beta Releases

Technology

Kernel

SkyOS user space lies on top of a custom, modularized, preemptive-multitasking kernel with support for common features like process and thread isolation, memory management/paging, kernel debugging, low-level locking primitives, and real-time PIC/APIC timers. It is a monolithic kernel, with drivers that are dynamically loaded into kernel space via an extension API.

There are some notable features that distinguish the SkyOS kernel from others. These include:
* Kernel-mode VESA support, allowing for graphical display immediately upon power-up
* Architecture abstraction layer, allowing SkyOS to be easily ported to other architectures
* Advanced CPU support, including Multi-Core/SMP/HyperThreading and all the major x86 extensions
* Full DMA, ATAPI, and ATA/SATA support (with SATA drivers for several major chipsets)
* Support for popular buses (including USB)

Contrary to a popular misconception, the kernel is not derived from Linux or any of the various BSDs. It was written entirely by Szeleney over the course of several years, and uses no outside code. [cite url | title=SkyOS FAQs | url=http://www.skyos.org/?q=node/408 | accessdate=2008-03-04]

SkyGI

The design of the SkyGI API is loosely based around the concepts of the Qt and Swing windowing toolkits. A core principle of SkyGI is the "view." Every GUI object is derived from the base "view" object, and, as such, all have similar properties and behave in similar ways. [cite web | title=SkyGI: Alphabetical List | url=http://www.skyos.org/documents/skygi/html/classes.html | accessdate=2007-03-04]

SkyGI has built in support for internationalization and localization, allowing third party developers to easily create multilingual applications that are based around easy to write 'translation' files. The framework also facilitates accessibility by building in support for advanced keyboard navigation.

Native controls can be themed by placing a 'theme' file, syntactically similar to the MSStyles format, in a directory corresponding to the location of the executable. [cite web | title=New Theme Engine | url=http://www.skyos.org/wiki/index.php/New_Theme_Engine | accessdate=2007-03-04]

Components

The SkyOS GUI closely follows the WIMP desktop metaphor used in all modern GUIs. However, there are several major components of the SkyOS GUI that are distinct from other operating systems:

The Panel is the functional equivalent to the task bar in Windows or the dock in Mac OS X. It is used to launch programs and switch between application windows, as well as to display information to the user. Plug-ins allow developers to extend the panel's functionality. Existing plug-ins, for example, have added query-based fast application launching, and have modified the day/night indicator to instead show localized weather information.

The Notifier is a built-in user interface element for alerting the user to any number of things, including application crashes and hardware additions/removals. Application programmers may use the notifier for their own purposes via the Desktop Communication Service.

The Viewer is the native file browser on SkyOS. It features multiple view types, thumbnails, and metadata-based display of information, as well as "search as you type" browsing and advanced queries.

SkyFS

SkyFS is a fork of the OpenBFS filesystem. It supports the following notable features:
* 64-bit data structures
* Journaling
* Metadata support, allowing for, among other things, ACLs
* Metadata indexing and querying
* POSIX file permissions

Few changes have been made to the filesystem since the fork. The Magic ID has been changed to differentiate between SkyFS partitions and BFS partitions, and space is now reserved at the beginning of each partition for a bootloader. Otherwise, the on-disk layout of the filesystems are identical.

SkyOS can also be run from the following filesystems:
* FAT 32/16/12
* ISO9660

Fast Searching

With the help of the SQL-based Index Feeder, SkyFS supports fast metadata and full-text searching similar in concept to WinFS and Spotlight. [cite web | title=SkyOS Index Feeder | url=http://www.skyos.org/downloads/documents/SkyOS%20Index%20Feeder.pdf | accessdate=2008-03-04] This allows for instantaneous system-wide searches as well as "search as you type" file browsing.

The concept of virtual folders, which is commonly implemented alongside a query-based search framework, exists in SkyOS as the ability to save queries in the Viewer for later execution.

Here is an example Viewer query that would display all .txt documents that were modified today:

name = *.txt && last_modified >= %today%

To perform a search, it is not necessary to understand the syntax of the above query. Queries can be built using a GUI, or simpler keyword-based searching can be (and is by default) used.

Development

While there are several well-developed APIs as well as exceptional POSIX compatibility, writing and releasing applications for SkyOS can be difficult due to minor binary incompatibilities between betas. Developers that wish to offer an application for SkyOS must keep up with the changes being made to the APIs, and are usually required to modify and recompile their applications upon the release of each new beta. There are no plans to finalize any of the APIs before SkyOS is publicly released, as Szeleney wishes to reserve the ability to further improve them as development progresses.

SkyOS executables are compiled into the ELF format using the GNU Compiler Collection. Commonly, developers cross compile their applications for use on SkyOS. However, as GCC has been ported and is actively being maintained, it is also possible to develop applications inside of a running SkyOS installation. Most notably, [http://www.skyos.org/board/viewtopic.php?t=21773 Scribis] , a multi-protocol instant messenger, was developed by a volunteer exclusively under a running SkyOS environment.

Developers who wish to distribute their applications via an official channel may set up a Software Store repository online. [cite url | title=SkyOS Tour - Software Store | url=http://www.skyos.org/?q=node/425 | accessdate=2008-03-06 ] The SkyOS Software Store is a GUI-based software distribution system that implements a custom package format and simple repository protocol. Its name is a misnomer, as it can not be used to actually buy or sell anything.

The evolution of SkyOS itself happens rather sporadically, with little documented long-term planning. This has often caused concern in the community, but has allowed for a development pace much faster than democratically-steered projects.

Native APIs

C++ is the only programming language officially supported for native development on SkyOS. Perl and Python have been ported, but the virtual machines have no bindings to any of the native SkyOS APIs. .NET applications that are command-line based can be run through Mono, but again, as there are no bindings to SkyGI, Windows Forms based GUI applications can not be run.

The Desktop Communication Service is an object-oriented inter-process communication framework used throughout SkyOS. It allows command-line and API based communication between both kernel and user space processes in SkyOS. [cite url | title=A few words on desktop Communication Service | url=http://www.skyos.org/?q=node/570 | accessdate=2008-03-04]

In this messaging model, human-readable messages are sent to 'interfaces' that are represented by a string of identifiers.

For example, sending this message to "Notify.Media.Player.Control" would cause the SkyOS media player to advance to the next song:

MessageType STRING "Next Song"

SkyOS emits messages in response to hundreds of events, including device attachments, successful software installs, battery level changes, and new weather data, all available to any application or driver that subscribes to the appropriate interface.

The Integrated Streaming System (ISS) is a set of C++ APIs designed to facilitate media interaction, similar to the concept of a sound server in Linux. The API is abstracted so that media playback is completely independent of codec.

Basic functionality can be achieved in less than ten lines of code in situations where default behavior is acceptable to the programmer. However, through a very extended API, all relevant parts of the audio-visual processing pipeline can be controlled.

"For example, you can create two audio streams, one stereo, one 5.1 DolbyDigital, connecting an echo filter to the second, associating the 5.1 stream with a SB Audigy live and the stereo stream with a basic stereo soundcard, and apply various software digital filters to individual streams."
— Robert Szeleney [cite url | title=SkyOS Tour - Integrated streaming system | url=http://www.skyos.org/?q=node/416 | accessdate=2008-03-04]

Porting Applications

Most command-line applications that were written to be compiled with the GNU Toolchain can be ported to SkyOS with little or no modification. Several large applications, including Apache, GCC, Samba, CUPS, and Bash have been ported using the Toolchain.

The following applications have been ported using native APIs and are currently being maintained on SkyOS:
* Mozilla Firefox
* Mozilla Thunderbird
* Blender
* Pixel
* Nvu
* SDL

The ports of GTK and several GTK-based applications have become unusable with recent API changes. It is not yet known if in the future they will be brought back up to speed.

Criticism

Third Party Support

Due to the limited popularity of the operating system, SkyOS has very few third party developers. This means that many common hardware devices are not supported by SkyOS, and are not likely to be without significant money and effort on Szeleney's part.

Less importantly, this means that a limited variety of applications are available for SkyOS. While some of the basic needs such as web browsing and e-mail are covered, others are not. These needs include:
* A full office suite
* An advanced media manager
* Popular commercial video games

To help stimulate third party development, SkyOS employs a "code ransom" system where people may donate money to projects that they wish to see completed. Developers who complete these projects will then receive any money that has been donated to the project. [cite url | title=SkyOS Code Ransom | url=http://www.skyos.org/?q=node/5 | accessdate=2008-03-04] If possible, Szeleney hopes to complete any projects not claimed by the code ransom before SkyOS leaves beta status.

Security and Stability

Although the APIs for working with user and file permissions are well-developed, none of the applied permissions are actually obeyed by the system. While SkyOS is under development, this will remain the intended behavior.

The network stack used in SkyOS is a custom design which is largely untested in a production environment. No known attempts have been made to penetrate a live system from the internet, meaning that the "crackability" of SkyOS is unknown.

The "passworded folders" feature is implemented at the filesystem level, so no SkyOS applications can use the native APIs to access files without the correct password having been entered by the user. However, files in a passworded folder are stored on-disk in a way identical to un-passworded files, so a clever programmer could write a userspace SkyFS driver that simply ignores the password and reads the directory at whim.

The stability of SkyOS varies from user to user, although, as a whole, it is improving. With the right hardware, a user may almost never experience a crash, but with the wrong hardware, the system may not even boot. No comprehensive hardware compatibility list can be kept due to the ever-changing state of the system.

Involvement with Free Software

As a former open source project, SkyOS has been the subject of many debates involving Free software.

Often, SkyOS is accused of violating the GPL based on a fallacy of necessity. That is, since developing an operating system is thought to be an exceedingly complex task, the conclusion is drawn by some that Szeleney must have stolen code from Free software in order for him to have made the progress that he has. In fact, the opposite is implied by Szeleney's public dealings with open source developers. [cite web | title=OpenBFS misconceptions and SkyFS. | url=http://www.osnews.com/permalink?f191530 | accessdate=2008-03-04] Even when not required under license, Szeleney has consistently published changes made to open source works used in SkyOS. [cite url | title=GPL software | url=http://www.skyos.org/?q=node/579 | accessdate=2008-03-04] [cite url | title=patch to compile apr-1.2.2 on SkyOS | url=https://issues.apache.org/bugzilla/show_bug.cgi?id=39059 | accessdate=2008-03-04]

Some beta testers fear that their investment will be lost if Szeleney becomes unable or unwilling to continue the development of SkyOS. This fear is commonly used as one of the more well-substantiated arguments for open sourcing SkyOS. There has so far been no official response from Szeleney as to the fate of SkyOS in this eventuality.

See also

* Linux
* BSD
* Haiku (operating system)
* ReactOS
* MenuetOS
* Syllable (operating system)
* AROS Research Operating System

References

External links

* [http://www.skyos.org/ SkyOS.org] —The SkyOS Homepage
* [http://www.techimo.com/articles/i154.html TechIMO] —SkyOS Developers Interview
* [http://slashdot.org/articles/04/01/14/148247.shtml?tid=185&tid=190 Slashdot] —Walking Through SkyOS 5.0 Beta
* [http://developers.slashdot.org/article.pl?sid=04/12/23/0317211 Slashdot] —Thunderbird and Firefox Ported to SkyOS
* [http://www.osnews.com/story/7748 OSNews.com] —SkyOS, The 7th Beta and Robert Szeleney


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • SkyOS — Logo Basisdaten Entwickler Robert Szeleney u.a …   Deutsch Wikipedia

  • Skyos — Logo Basisdaten Entwickler Robert Szeleney Sprache(n) …   Deutsch Wikipedia

  • SkyOS — SkyOS …   Википедия

  • SkyOS — Desarrollador SkyOS www.skyos.org/ Información general Modelo de desarrollo propietario …   Wikipedia Español

  • Skyos — est un système d exploitation graphique conçu à partir de zéro et destiné aux plates formes x86. Il est commercialisé par son auteur, Robert Szeleney, et ses sources ne sont pas publiées. Sans être un UNIX, il adopte la norme POSIX, et se donne… …   Wikipédia en Français

  • SkyOS — est un système d exploitation graphique conçu à partir de zéro et destiné aux plates formes x86. Il est commercialisé par son auteur, Robert Szeleney, et ses sources ne sont pas publiées. Sans être un UNIX, il adopte la norme POSIX, et se donne… …   Wikipédia en Français

  • SkyOS — es un sistema operativo escrito para PCs del tipo x86 (también conocidas como i386). Como todo sistema operativo moderno, soporta características como el multiprocesamiento (SMP), memoria virtual, memoria protegida, multitarea y flujo de… …   Enciclopedia Universal

  • SkyFS — SkyOS Logo Basisdaten Entwickler Robert Szeleney Sprache(n) …   Deutsch Wikipedia

  • BeFS — BFS Hersteller Be Inc. Vollständige Bezeichnung Be File System Erstveröffentlichung 10. Mai 1997 (BeOS) Partitionskennung 0xEB (MBR) Technische Umsetzung Verzei …   Deutsch Wikipedia

  • OpenBFS — BFS Hersteller Be Inc. Vollständige Bezeichnung Be File System Erstveröffentlichung 10. Mai 1997 (BeOS) Partitionskennung 0xEB (MBR) Technische Umsetzung Verzei …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”