1 .\" Copyright (C) 1995, Thomas K. Dyas <tdyas@eden.rutgers.edu>
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date. The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein. The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" Created Wed Aug 9 1995 by Thomas K. Dyas <tdyas@eden.rutgers.edu>
25 .\" Translated into german by Markus Schmitt (fw@math.uni-sb.de)
27 .TH SYSFS 2 "2. Juni 1996" "Linux 1.3.16" "Systemaufrufe"
29 sysfs - liefert Informationen über das Dateisystem
32 .BI "int sysfs(int " option ", const char * " fsname );
34 .BI "int sysfs(int " option ", unsigned int " fs_index ", char * " buf );
36 .BI "int sysfs(int " option );
41 liefert Informationen über die Dateisysteme, die zurzeit vom Kernel
42 benutzt werden. Die Form des Aufrufs
43 und die Form der zurückgelieferten Information wird mit dem Parameter
48 Die Beschreibung des Dateisystems
50 wird in die interne Nummer des Dateisystems konvertiert.
53 Die interne Nummer des Dateisystems
55 wird in eine Beschreibung des Dateisystems konvertiert und mit `\e0'
56 beendet. Die Beschreibung wird in den durch
58 angegebenen Speicherbereich kopiert. Warnung:
60 muss groß genug sein, um die Beschreibung aufnehmen zu können.
63 Liefert die Anzahl aller Dateisysteme zurück, die der Kernel
66 Die Nummerierung der Dateisysteme beginnt mit Null.
68 Bei Erfolg liefert der Aufruf für
70 gleich 1 die Nummer des Dateisystems,
73 gleich 2 eine Null und für
75 gleich 3 die Anzahl der aktuell
76 konfigurierten Dateisysteme.
77 Bei einem fehlerhaften Aufruf liefert die Funktion \-1 zurück und
85 ist keine korrekte Beschreibung eines Dateisystems;
87 liegt außerhalb des gültigen Bereiches;
92 .IR fsname " oder " buf
93 liegt außerhalb des Adressraums.