*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: statvfs | Section: 5 | Source: MINIX | File: statvfs.5
STATVFS(5) FreeBSD File Formats Manual STATVFS(5) NAME statvfs - file system statistics SYNOPSIS #include <sys/types.h> #include <sys/statvfs.h> DESCRIPTION The <sys/statvfs.h> header defines the structures and functions that return information about a mounted file system. The statvfs structure is defined as follows: struct statvfs { unsigned long f_bsize; /* system block size */ unsigned long f_frsize; /* system fragment size */ fsblkcnt_t f_blocks; /* number of blocks in file system */ fsblkcnt_t f_bfree; /* free blocks avail in file system */ fsblkcnt_t f_bavail; /* free blocks avail to non-root */ fsfilcnt_t f_files; /* total file nodes in file system */ fsfilcnt_t f_ffree; /* free file nodes in file system */ fsfilcnt_t f_favail; /* free file nodes avail to non-root */ unsigned long f_fsid; /* File system ID */ unsigned long f_flag; /* flags */ unsigned long f_namemax;/* maximum filename length */ }; The f_flag argument can have the following bits set: ST_RDONLY The filesystem is mounted read-only; Even the super-user may not write on it. ST_NOSUID Setuid and setgid bits on files are not honored when they are executed. ST_NOTRUNC File names longer than NAME_MAX are not truncated. SEE ALSO statvfs(2) HISTORY The <sys/statvfs.h> header first appeared in NetBSD 3.0. FreeBSD 14.1-RELEASE-p8 June 23, 2008 FreeBSD 14.1-RELEASE-p8

Navigation Options