An Entity of Type: software, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

Everything is a file is an idea that Unix, and its derivatives handle input/output to and from resources such as documents, hard-drives, modems, keyboards, printers and even some inter-process and network communications as simple streams of bytes exposed through the filesystem name space. Exceptions include shared memory, semaphores, datagram sockets, symbolic links, directories (which are read-only are not accessed as a byte-stream), processes and threads.

Property Value
dbo:abstract
  • Everything is a file (englisch für Alles ist eine Datei) beschreibt eine der definierenden Eigenschaften von Unix und seinen Abkömmlingen, demnach Ein-/Ausgabe-Ressourcen wie Dateien, Verzeichnisse, Geräte (z. B. Festplatten, Tastaturen, Drucker) und sogar Interprozess- und Netzwerk-Verbindungen als einfache Byteströme via Dateisystem verfügbar sind. Der Vorteil dieses Ansatzes ist, dass dieselben Werkzeuge und Programmierschnittstellen für den Zugriff auf all diese Ressourcen genutzt werden können. Wenn eine Datei geöffnet wird, erhält das Programm vom Kernel einen Dateideskriptor. Für alle nachfolgenden Operationen dient dieser als Ein-/Ausgabe-Schnittstelle. Da auch für anonyme Pipes und Netzwerk-Sockets Dateideskriptoren angelegt werden, die jedoch keinen Pfad haben, wird das Prinzip des Öfteren auch Everything is a file descriptor (‚Alles ist ein Dateideskriptor‘) oder, nach Linus Torvalds, Everything is a stream of bytes (‚Alles ist ein Bytestrom‘) genannt. Zusätzlich existiert eine Reihe von virtuellen Dateisystemen und Pseudodateisystemen, die Informationen über den Systemzustand und Prozesse hierarchisch strukturiert verfügbar machen. Der Begriff wird durchweg als Schlagwort für die Andersartigkeit von unixoiden Systemen im Umgang mit Dateien verwendet. Er ist jedoch nicht scharf abgegrenzt und zielt, wie oben angedeutet, je nach Verwendung auf verschiedene Aspekte ab. Während die oben genannten Eigenschaften auch heutzutage nur bei unixartigen Betriebssystemen vorzufinden sind und weithin mit everything is a file verbunden werden, sind von Unix auch Neuerungen ausgegangen, die mittlerweile allgegenwärtig sind. Die folgenden Abschnitte behandeln die Aspekte im Einzelnen. (de)
  • Everything is a file is an idea that Unix, and its derivatives handle input/output to and from resources such as documents, hard-drives, modems, keyboards, printers and even some inter-process and network communications as simple streams of bytes exposed through the filesystem name space. Exceptions include shared memory, semaphores, datagram sockets, symbolic links, directories (which are read-only are not accessed as a byte-stream), processes and threads. The advantage of this approach is that the same set of tools, utilities and APIs can be used on a wide range of resources. There are a number of file types. When a file is opened, a file descriptor is created. The file path becomes the addressing system and the file descriptor becomes the byte stream I/O interface. But file descriptors are also created for things like anonymous pipes and network sockets. Therefore, a more accurate description of this feature is Everything is a file descriptor. Additionally, a range of pseudo and virtual filesystems exists which exposes information about processes and other system information in a hierarchical file-like structure. These are mounted into the single file hierarchy. An example of this purely virtual filesystem is under /proc that exposes many system properties as files. All of these files, in the broader sense of the word, have standard Unix file attributes such as an owner and access permissions, and can be queried by the same classic Unix tools and filters. However, this is not universally considered a fast or portable approach. Some operating systems do not even mount /proc by default due to security or speed concerns. It is, though, used heavily by both the widely installed BusyBox on embedded systems and by procps, which is used on most Linux systems. In both cases it is used in implementations of process-related POSIX shell commands. It is similarly used on Android systems in the operating system's Toolbox program. (en)
  • "Everything is a file" (Todo es un archivo en español) describe una de las principales características de Unix y sus derivados, que consiste en que casi todos los recursos del sistema, como documentos, directorios, unidades de disco, módems, teclados, impresoras, e incluso algunas comunicaciones de red y de procesos son simples flujos de bits expuestos a través del sistema de archivos Unix.​ La ventaja de esta característica es que el mismo conjunto de utilidades y APIs pueden ser usados en una amplia variedad de recursos. Existe un número de tipos de archivos Unix. Cuando un archivo es abierto se crea un descriptor de archivo, la ruta se convierte en el sistema de direccionamiento, y el descriptor en la interfaz des flujo de bytes I/O. Pero los descriptores también se crean para cosas como pipas anónimas y sockets de red de distintas formas, así que sería más correcto decir que "todo es un descriptor de archivo".​​ Además, muchos sistemas de archivos exponen información sobre los procesos y el sistema en una estructura jerárquica a modo de archivos. Estos son montados dentro del sistema de archivos jerárquico. Un ejemplo de este sistema de archivos puramente virtual se encuentra dentro del directorio /proc, que expone varias propiedades del sistema e información de procesos como archivos. Todos esos "archivos" poseen los atributos estándar de Unix como propietario y permisos de acceso, y pueden ser consultados con las mismas y . Sin embargo, esto no es universalmente considerado una alternativa portable o rápida. Algunos sistemas operativos no montan /proc de manera predeterminada debido a razones de seguridad o rapidez.​ Aunque esto es ampliamente practicado tanto en BusyBox,​ ampliamente usado en sistemas empotrados y por procps, usado en casi todos los sistemas GNU/Linux. En ambos casos esto es usado en implementaciones de los procesos relacionados con los comandos del shell de POSIX. Es usado también de manera similar en los sistemas Android en el programa Toolbox.​ El sucesor de Unix, Plan 9 tomó este concepto de la para el . (es)
dbo:wikiPageID
  • 25548455 (xsd:integer)
dbo:wikiPageLength
  • 3934 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1124259917 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • Everything is a file (englisch für Alles ist eine Datei) beschreibt eine der definierenden Eigenschaften von Unix und seinen Abkömmlingen, demnach Ein-/Ausgabe-Ressourcen wie Dateien, Verzeichnisse, Geräte (z. B. Festplatten, Tastaturen, Drucker) und sogar Interprozess- und Netzwerk-Verbindungen als einfache Byteströme via Dateisystem verfügbar sind. Zusätzlich existiert eine Reihe von virtuellen Dateisystemen und Pseudodateisystemen, die Informationen über den Systemzustand und Prozesse hierarchisch strukturiert verfügbar machen. (de)
  • Everything is a file is an idea that Unix, and its derivatives handle input/output to and from resources such as documents, hard-drives, modems, keyboards, printers and even some inter-process and network communications as simple streams of bytes exposed through the filesystem name space. Exceptions include shared memory, semaphores, datagram sockets, symbolic links, directories (which are read-only are not accessed as a byte-stream), processes and threads. (en)
  • "Everything is a file" (Todo es un archivo en español) describe una de las principales características de Unix y sus derivados, que consiste en que casi todos los recursos del sistema, como documentos, directorios, unidades de disco, módems, teclados, impresoras, e incluso algunas comunicaciones de red y de procesos son simples flujos de bits expuestos a través del sistema de archivos Unix.​ El sucesor de Unix, Plan 9 tomó este concepto de la para el . (es)
rdfs:label
  • Everything is a file (de)
  • Todo es un archivo (es)
  • Everything is a file (en)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License