Unix |
Unix v6 |
|
![]() |
mount(2) |
![]() |
mount mount file system (mount = 21.)
sys mount; special; name; rwflag mount(special, name,
rwflag)
char *special, *name;
announces to the system that a removable file system has
been mounted on the block-structured special file from now
on, references to file will refer to the root file on the
newly mounted file system. and are pointers to
null-terminated strings containing the appropriate path
names. must exist already. Its old contents are inaccessible
while the file system is mounted. The argument determines
whether the file system can be written on; if it is 0
writing is allowed, if non-zero no writing is done.
Physically write-protected and magnetic tape file systems
must be mounted read-only or errors will occur when access
times are updated, whether or not any explicit write is
attempted. mount (VIII), umount (II) Error bit (c-bit) set
if: is inaccessible or not an appropriate file; does not
exist; is already mounted; is in use; there are already too
many file systems mounted. −
![]() |
mount(2) | ![]() |