diff options
author | peter <peter@FreeBSD.org> | 1997-03-11 11:35:56 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-03-11 11:35:56 +0000 |
commit | 724b89cfd3fcf9531a8abee51d88f8722ab252a9 (patch) | |
tree | 5a81d70e85130a51bbe4d2b35e4077607d6cc83a /lib/libc/sys/statfs.2 | |
parent | e8e23405def4966834a6703435257f5f00ed1ac1 (diff) | |
download | FreeBSD-src-724b89cfd3fcf9531a8abee51d88f8722ab252a9.zip FreeBSD-src-724b89cfd3fcf9531a8abee51d88f8722ab252a9.tar.gz |
Merge from Lite2 onto mainline -
- add undelete() and undelete.2 (requires libc minor bump some time)
- man page updates
Diffstat (limited to 'lib/libc/sys/statfs.2')
-rw-r--r-- | lib/libc/sys/statfs.2 | 58 |
1 files changed, 34 insertions, 24 deletions
diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2 index f5641a59..80164d0 100644 --- a/lib/libc/sys/statfs.2 +++ b/lib/libc/sys/statfs.2 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" @(#)statfs.2 8.3 (Berkeley) 2/11/94 +.\" @(#)statfs.2 8.5 (Berkeley) 5/24/95 .\" -.Dd February 11, 1994 +.Dd May 24, 1995 .Dt STATFS 2 .Os .Sh NAME @@ -81,29 +81,39 @@ char f_fstypename[MFSNAMELEN];/* fs type name */ char f_mntonname[MNAMELEN]; /* mount point */ char f_mntfromname[MNAMELEN]; /* mounted filesystem */ }; -/* -* File system types. -*/ -#define MOUNT_UFS 1 /* Fast Filesystem */ -#define MOUNT_NFS 2 /* Sun-compatible Network Filesystem */ -#define MOUNT_MFS 3 /* Memory-based Filesystem */ -#define MOUNT_MSDOS 4 /* MS/DOS Filesystem */ -#define MOUNT_LFS 5 /* Log-based Filesystem */ -#define MOUNT_LOFS 6 /* Loopback Filesystem */ -#define MOUNT_FDESC 7 /* File Descriptor Filesystem */ -#define MOUNT_PORTAL 8 /* Portal Filesystem */ -#define MOUNT_NULL 9 /* Minimal Filesystem Layer */ -#define MOUNT_UMAP 10 /* Uid/Gid Remapping Filesystem */ -#define MOUNT_KERNFS 11 /* Kernel Information Filesystem */ -#define MOUNT_PROCFS 12 /* /proc Filesystem */ -#define MOUNT_AFS 13 /* Andrew Filesystem */ -#define MOUNT_CD9660 14 /* ISO9660 (aka CDROM) Filesystem */ -#define MOUNT_UNION 15 /* Union (translucent) Filesystem */ -#define MOUNT_DEVFS 16 /* existing device Filesystem */ -#define MOUNT_EXT2FS 17 /* Linux EXT2FS */ -#define MOUNT_TFS 18 /* Netcon Novell filesystem */ -#define MOUNT_MAXTYPE 18 .Ed +The flags that may be returned include: +.Bl -tag -width MNT_ASYNCHRONOUS +.It Dv MNT_RDONLY +The filesystem is mounted read-only; +Even the super-user may not write on it. +.It Dv MNT_NOEXEC +Files may not be executed from the filesystem. +.It Dv MNT_NOSUID +Setuid and setgid bits on files are not honored when they are executed. +.It Dv MNT_NODEV +Special files in the filesystem may not be opened. +.It Dv MNT_SYNCHRONOUS +All I/O to the filesystem is done synchronously. +.It Dv MNT_ASYNCHRONOUS +No filesystem I/O is done synchronously. +.It Dv MNT_LOCAL +The filesystem resides locally. +.It Dv MNT_QUOTA +The filesystem has quotas enabled on it. +.It Dv MNT_ROOTFS +Identifies the root filesystem. +.It Dv MNT_EXRDONLY +The filesystem is exported read-only. +.It Dv MNT_EXPORTED +The filesystem is exported for both reading and writing. +.It Dv MNT_DEFEXPORTED +The filesystem is exported for both reading and writing to any Internet host. +.It Dv MNT_EXPORTANON +The filesystem maps all remote accesses to the anonymous user. +.It Dv MNT_EXKERB +The filesystem is exported with Kerberos uid mapping. +.El .Pp Fields that are undefined for a particular file system are set to -1. .Fn Fstatfs |