Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ statvfs(5) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fstatvfs(2)

statvfs(2)

lfs(5)

statvfs(5)                                                       statvfs(5)

NAME
     statvfs - file system information structure

SYNOPSIS
     #include <sys/statvfs.h>

DESCRIPTION
     The <sys/statvfs.h> header defines the statvfs structure that includes
     at least the following members:

     ulongt fbsize          File system block size.

     ulongt ffrsize         Fundamental file system block size.

     fsblkcntt fblocks      Total number of blocks on file system in
                              units of ffrsize.

     fsblkcntt long fbfree  Total number of free blocks.

     fsblkcntt fbavail      Number of free blocks available to non-
                              privileged process.

     fsfilcntt ffiles       Total number of file serial numbers.

     fsfilcntt fffree       Total number of free file serial numbers.

     fsfilcntt ffavail      Number of file serial numbers available to
                              non-privileged process.

     ulongt ffsid           File system id.

     ulongt fflag           Bit mask of fflag values.

     ulongt fnamemax        Maximum file name length.

     The following flags for the fflag member are defined:

     STRDONLY       Read-only file system.

     STNOSUID       Does not support setuid/setgid semantics.

     The header <sys/statvfs.h> declares the following functions which may
     also be defined as macros:

     int statvfs(const char *path, struct statvfs *buf);
     int fstatvfs(int fildes, struct statvfs *buf);

     The statvfs64 structure is defined in the same way as the statvfs
     structure with the exception of the following members:

     fsblkcnt64t fblocks    Total number of blocks in the file system in
                              units of ffrsize.



Page 1                       Reliant UNIX 5.44                Printed 11/98

statvfs(5)                                                       statvfs(5)

     fsblkcnt64t fbfree     Total number of free blocks.

     fsblkcnt64t fbavail    Number of free blocks available to non-
                              privileged process.

     fsfilcnt64t ffiles     Total number of file serial numbers.

     fsfilcnt64t fffree     Total number of free file serial numbers.

     fsfilcnt64t ffavail    Number of free file serial numbers available
                              to non-privileged process.

     The following are declared as functions and may also be defined as
     macros:

     int statvfs64(const char *path, struct statvfs64 *buf);
     int fstatvfs64(int fildes, struct statvfs64 *buf);

SEE ALSO
     fstatvfs(2), statvfs(2), lfs(5).


































Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026