.\" -*- coding: UTF-8 -*- .\" Copyright (C) 1995, Thomas K. Dyas .\" .\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one. .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" .\" Created 1995-08-09 Thomas K. Dyas .\" Modified 1997-01-31 by Eric S. Raymond .\" Modified 2001-03-22 by aeb .\" Modified 2003-08-04 by aeb .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH USTAT 2 "6. März 2019" Linux Linux\-Programmierhandbuch .SH BEZEICHNUNG ustat \- erstellt Dateisystem\-Statistiken .SH ÜBERSICHT .nf \fB#include \fP \fB#include \fP /* Libc[45] */ \fB#include \fP /* Glibc2 */ .PP \fBint ustat(dev_t \fP\fIgerät\fP\fB, struct ustat *\fP\fIupuf\fP\fB);\fP .fi .SH BESCHREIBUNG \fBustat\fP() gibt Informationen über ein eingehängtes Dateisystem zurück. Die Gerätenummer \fIgerät\fP identifiziert das eingehängte Dateisystem. \fIupuf\fP ist ein Zeiger auf eine \fIustat\fP\-Struktur, welche die folgenden Elemente enthält: .PP .in +4n .EX daddr_t f_tfree; /* Gesamtzahl der freien Blöcke */ ino_t f_tinode; /* Anzahl der freien Inodes */ char f_fname[6]; /* Name des Dateisystems */ char f_fpack[6]; /* Name des gepackten Dateisystems [?] */ .EE .in .PP Die letzten beiden Felder, \fIf_fname\fP und \fIf_fpack\fP, sind nicht implementiert und werden immer mit Nullbytes (»\e0«) gefüllt. .SH RÜCKGABEWERT Bei Erfolg wird Null zurückgegeben und die durch \fIupuf\fP bestimmte \fIustat\fP\-Struktur wird ausgefüllt. Bei einem Fehler wird \-1 zurückgegeben und \fIerrno\fP entsprechend gesetzt. .SH FEHLER .TP \fBEFAULT\fP \fIupuf\fP zeigt aus Ihrem adressierbaren Adressraum heraus. .TP \fBEINVAL\fP \fIgerät\fP verweist nicht auf ein Gerät, das ein eingehängtes Dateisystem enthält. .TP \fBENOSYS\fP Das eingehängte Dateisystem, auf das von \fIgerät\fP verwiesen wird, unterstützt diese Operation nicht, desgleichen auch keine Linux\-Version vor 1.3.16. .SH VERSIONEN Seit Version 2.28 stellt Glibc keinen Wrapper mehr für diesen Systemaufruf bereit. .SH "KONFORM ZU" .\" SVr4 documents additional error conditions ENOLINK, ECOMM, and EINTR .\" but has no ENOSYS condition. SVr4. .SH ANMERKUNGEN \fBustat\fP() ist veraltet und wurde nur zu Kompatibilitätszwecken bereitgestellt. Alle neuen Programme sollten stattdessen \fBstatfs\fP(2) benutzen. .SS "Anmerkungen zu HP\-UX" .\" Some software tries to use this in order to test whether the .\" underlying filesystem is NFS. Die HP\-UX\-Version der \fIustat\fP\-Struktur enthält ein zusätzliches Feld,\fIf_blksize\fP, das andernorts nicht bekannt ist. HP\-UX warnt: Für manche Dateisysteme ändert sich die Anzahl der freien Inodes nicht. Solche Dateisysteme werden im Feld \fIf_tinode\fP \-1 zurückgeben. Für einige Dateisysteme werden die Inodes dynamisch bereitgestellt. Diese Dateisysteme geben die aktuelle Anzahl freier Inodes zurück. .SH "SIEHE AUCH" \fBstat\fP(2), \fBstatfs\fP(2) .SH KOLOPHON Diese Seite ist Teil der Veröffentlichung 5.10 des Projekts Linux\-\fIman\-pages\fP. Eine Beschreibung des Projekts, Informationen, wie Fehler gemeldet werden können, sowie die aktuelle Version dieser Seite finden sich unter \%https://www.kernel.org/doc/man\-pages/. .PP .SH ÜBERSETZUNG Die deutsche Übersetzung dieser Handbuchseite wurde von Hanno Wagner , Helge Kreutzmann , Martin Eberhard Schauer und Mario Blättermann erstellt. .PP Diese Übersetzung ist Freie Dokumentation; lesen Sie die .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE oder neuer bezüglich der Copyright-Bedingungen. Es wird KEINE HAFTUNG übernommen. .PP Wenn Sie Fehler in der Übersetzung dieser Handbuchseite finden, schicken Sie bitte eine E-Mail an die .MT debian-l10n-german@lists.debian.org Mailingliste der Übersetzer .ME .