.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)1.7.t 6.1 (Berkeley) %G%
.sh "System operation support
the calls in this section are permitted only to a privileged user.
mount(blkdev, dir, ronly);
char *blkdev, *dir; int ronly;
extends the UNIX name space. The \fImount\fP call specifies
a block device \fIblkdev\fP containing a UNIX file system
to be made available starting at \fIdir\fP. If \fIronly\fP is
set then the file system is read-only; writes to the file system
will not be permitted and access times will not be updated
when files are referenced.
\fIDir\fP is normally a name in the root directory.
specifies a device to be made available for paging and swapping.
unmounts the file system mounted on \fIdir\fP.
This call will succeed only if the file system is
not currently being used.
schedules input/output to clean all system buffer caches.
(This call does not require priveleged status.)
causes a machine halt or reboot. The call may request a reboot
by specifying \fIhow\fP as RB_AUTOBOOT, or that the machine be halted
with RB_HALT. These constants are defined in <sys/reboot.h>.
The system optionally keeps an accounting record in a file
for each process that exits on the system.
The format of this record is beyond the scope of this document.
The accounting may be enabled to a file \fIname\fP by doing
If \fIpath\fP is null, then accounting is disabled. Otherwise,
the named file becomes the accounting file.