filesystem

Filesystem From Hackepedia

A filesystem is a subsystem of a UNIX system. It is built on top of secondary storage devices but not limited to that and can also be built on top of primary storage devices (RAM) or be an entirely virtual filesystem. A UNIX system cannot operate without bootstrapping itself and programs from the filesystem.

All filesystems available in a UNIX system are mounted in a tree hierarchy that starts with the root filesystem at the top and branches out to other filesystems toward the branches. The structure of the entire filesystems tree is made up of directories with files, character devices, block devices, sockets and symlinks making up the branches along the tree. From the root to the farthest branch from the root only 1023 bytes may be spanned in writing the path delimited by '/' characters, between the '/' characters a directory or file may only be up to 255 bytes long.

/
/bin
/sbin
/etc
/etc/X11
...
/usr
/usr/bin
/usr/sbin
...
/usr/local
/usr/local/bin
/usr/local/sbin
/mnt
/tmp
/dev
To view files in a filesystem the command ls is used, to view mounted filesystems the mount command is used, to see properties about filesystems one would use df.

Contents

List of filesystems available in UNIX and UNIX-like Operating Systems

Unix File System (ufs)

Most UNIX'es have the ufs filesystem it is derived from the Berkeley ffs filesystem.

Berkeley Fast File System (FFS)

The ffs filesystem was written at UCB by Marshall Kirk McKusick for 4.2BSD. It is still widely used in the BSD family of Operating Systems.

Memory File System (mfs)

The mfs filesystem resides in RAM but is available as a file system. When the system powers off any files left in the mfs filesystem will vanish.

Proc File System (procfs)

The procfs filesystem is a filesystem that represents the process namespace of a system. You can see all processes listed here and when you change into the directories of the processes and list further attributes about the specific process.

Device File System (devfs)

Union File System (unionfs)

Kern File System (kernfs)

Bind File System (bindfs)

Null File System (nullfs)

Ext2 File System (ext2fs)

Ext3 File System (ext3fs)

Reiser File System (ReiserFS)

X File System (xfs)


German - von Hackepedia

Das Dateisystem ist ein untersystem eines UNIX Betriebsystems. Es ist auf dem Nebenspeichergerät aufgebaut aber ist nicht begrenzt auf dieses. Man kann auch ein Dateisystem im Primärspeicher (RAM) aufbauen oder ein totalles virtuelles Dateisystem aufbauen. Ein UNIX system kann nicht funktionieren ohne das es sich und Programme vom Dateisystem läd.

Alle Dateisysteme die es in einem UNIX system gibt sind eingerichted (mounted) in einer Baum Hierarchie die mit der Wurzel (root) anfängt und sich weiter zweigt wo die äusseren zweige andere Dateisysteme beinhalten können. Die gesamte Struktur des Dateisystembaums gehört aus Verzeichnissen mit Dateien, Charaktergerät-dateien, Block-gerät dateien, Sockets und Symlinks am rand der Zweige des Verzeichnisbaums. Von der Wurzel bis zum letzten Zweig können nur 1023 bytes den Pfad angeben abgegrenzt mit dem '/' Ascii Karakter. Ein Verzeichnis oder Datei mögen nur 255 bytes lang sein.

/
/bin
/sbin
/etc
/etc/X11
...
/usr
/usr/bin
/usr/sbin
...
/usr/local
/usr/local/bin
/usr/local/sbin
/mnt
/tmp
/dev

Um Dateien im Dateisystem zu sehen wird das Kommando "ls" benutzt. Um die angehengten Dateisysteme zu sehen wird das "mount" Kommando benutzt. Um die eigenschaften über Dateisysteme zu sehen würde man das Kommando "df" benutzen.

Contents

Liste der Dateisysteme erhältlich in UNIX und UNIX-like Betriebsystemen

Unix File System

Die meisten UNIX Betriebsysteme haben das "ufs" Dateisystem das vom Berkeley Fast Filesystem abstammt.

Berkeley Fast File System (FFS)

Das "ffs" Dateisystem war geschrieben bei UCB von Marshall Kirk McKusick für 4.2BSD. Es ist immer noch oft benutzt in der BSD Familie (von Betriebssystemen).

Memory File System (mfs)

Das "mfs" Dateisystem residiert im Hauptspeicher (RAM). Wenn das System ist abgeschaltet werden alle Dateien in diesem Dateisystem verloren gehen.

Proc File System (procfs)

Das "procfs" Dateisystem ist ein Dateisystem das den Prozess (process) Namensraum eines Systems beinhaltet. Sie können hier alle Prozesse (programme) aufgelistet sehen und wenn in ein Verzeichnis geändert wird (mit cd) kann man mehrere andere eigenschaften des spezifischen Prozesses sehen.

Device File System (devfs)

Union File System (unionfs)

Kern File System (kernfs)

Bind File System (bindfs)

Null File System (nullfs)

Ext2 File System (ext2fs)

Ext3 File System (ext3fs)

Reiser File System (ReiserFS)

X File System (xfs)