.\" -*- 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 Marzo 2019" Linux "Manual del Programador de Linux" .SH NOMBRE ustat \- obtiene datos del sistema de ficheros .SH SINOPSIS .nf \fB#include \fP \fB#include \fP /* libc[45] */ \fB#include \fP /* glibc2 */ .PP \fBint ustat(dev_t \fP\fIdev\fP\fB, struct ustat *\fP\fIubuf\fP\fB);\fP .fi .SH DESCRIPCIÓN \fBustat\fP() devuelve información sobre un sistema de ficheros montado. \fIdev\fP es un número de dispositivo que identifica a uno que contiene un sistema de ficheros montado. \fIubuf\fP es un puntero a una estructura \fIustat\fP que contiene los siguientes miembros: .PP .in +4n .EX daddr_t f_tfree; /* Bloques libres en total */ ino_t f_tinode; /* Número de nodos\-í libres */ char f_fname[6]; /* Nombre del sist. de fichs. */ char f_fpack[6]; /* Nombre del pack del s.f. */ .EE .in .PP The last two fields, \fIf_fname\fP and \fIf_fpack\fP, are not implemented and will always be filled with null bytes (\(aq\e0\(aq). .SH "VALOR DEVUELTO" En caso de éxito, se devuelve cero y la estructura \fIustat\fP a la que apunta \fIubuf\fP se rellenará. En caso de error, se devuelve \-1 y se pone en \fIerrno\fP un valor apropiado. .SH ERRORES .TP \fBEFAULT\fP \fIubuf\fP apunta afuera del espacio de direcciones accesible. .TP \fBEINVAL\fP \fIdev\fP no se refiere a un dispositivo que contiene un sistema de ficheros montado. .TP \fBENOSYS\fP EL sistema de ficheros montado referenciado por \fIdev\fP no admite esta operación, o cualquier versión de Linux anterior a la 1.3.16. .SH VERSIONES Since version 2.28, glibc no longer provides a wrapper for this system call. .SH "CONFORME A" .\" SVr4 documents additional error conditions ENOLINK, ECOMM, and EINTR .\" but has no ENOSYS condition. SVr4. .SH NOTAS \fBustat\fP() is deprecated and has been provided only for compatibility. All new programs should use \fBstatfs\fP(2) instead. .SS "HP\-UX notes" .\" Some software tries to use this in order to test whether the .\" underlying filesystem is NFS. The HP\-UX version of the \fIustat\fP structure has an additional field, \fIf_blksize\fP, that is unknown elsewhere. HP\-UX warns: For some filesystems, the number of free inodes does not change. Such filesystems will return \-1 in the field \fIf_tinode\fP. For some filesystems, inodes are dynamically allocated. Such filesystems will return the current number of free inodes. .SH "VÉASE TAMBIÉN" \fBstat\fP(2), \fBstatfs\fP(2) .SH COLOFÓN Esta página es parte de la versión 5.10 del proyecto Linux \fIman\-pages\fP. Puede encontrar una descripción del proyecto, información sobre cómo informar errores y la última versión de esta página en \%https://www.kernel.org/doc/man\-pages/. .PP .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Gerardo Aburruzaga García . .PP Esta traducción es documentación libre; lea la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. .PP Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a .MT debian-l10n-spanish@lists.debian.org .ME .