Unix and Linux Discussions Tagged with special |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
4,104 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,259 |
Shell Programming and Scripting |
|
|
|
6 |
3,681 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
6,073 |
UNIX for Beginners Questions & Answers |
|
|
|
10 |
4,739 |
Shell Programming and Scripting |
|
|
|
3 |
7,373 |
Shell Programming and Scripting |
|
|
|
1 |
16,823 |
Programming |
|
|
|
4 |
5,758 |
Shell Programming and Scripting |
|
|
|
3 |
2,946 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
3,703 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
2,760 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,325 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
9,413 |
UNIX and Linux Applications |
|
|
|
4 |
2,308 |
Shell Programming and Scripting |
|
|
|
0 |
842 |
Software Releases - RSS News |
|
|
|
0 |
1,185 |
UNIX and Linux RSS News |
|
|
|
2 |
1,754 |
Shell Programming and Scripting |
|
|
|
3 |
19,770 |
Shell Programming and Scripting |
|
|
|
3 |
28,296 |
AIX |
|
|
|
4 |
2,661 |
Shell Programming and Scripting |
|
|
|
0 |
5,225 |
SCO |
|
|
|
1 |
1,997 |
Shell Programming and Scripting |
|
|
|
2 |
5,582 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
868 |
UNIX and Linux RSS News |
|
|
|
3 |
6,636 |
Shell Programming and Scripting |
|
|
|
3 |
4,396 |
Shell Programming and Scripting |
|
|
|
1 |
18,251 |
Shell Programming and Scripting |
|
|
|
1 |
22,024 |
HP-UX |
|
|
|
6 |
18,763 |
Shell Programming and Scripting |
|
|
|
0 |
15,358 |
Advertise with Us |
|
|
|
6 |
16,286 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,963 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,133 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
3,575 |
Cybersecurity |
|
|
|
2 |
19,376 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
10,193 |
UNIX for Advanced & Expert Users |
|
|
|
9 |
14,796 |
HP-UX |
|
|
|
1 |
3,682 |
Programming |
|
|
|
3 |
11,393 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
4,362 |
Cybersecurity |
MOUNT(2) System Calls Manual MOUNT(2)
NAME
mount, umount - mount or remove file system
SYNOPSIS
mount(special, name, rwflag)
char *special, *name;
umount(special)
char *special;
DESCRIPTION
Mount announces to the system that a removable file system has been mounted on the block-structured special file special; from now on, ref-
erences to file name will refer to the root file on the newly mounted file system. Special and name are pointers to null-terminated
strings containing the appropriate path names.
Name must exist already. Name must be a directory (unless the root of the mounted file system is not a directory). Its old contents are
inaccessible while the file system is mounted.
The rwflag 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.
Umount announces to the system that the special file is no longer to contain a removable file system. The associated file reverts to its
ordinary interpretation.
SEE ALSO
mount(1)
DIAGNOSTICS
Mount returns 0 if the action occurred; -1 if special is inaccessible or not an appropriate file; if name does not exist; if special is
already mounted; if name is in use; or if there are already too many file systems mounted.
Umount returns 0 if the action occurred; -1 if if the special file is inaccessible or does not have a mounted file system, or if there are
active files in the mounted file system.
ASSEMBLER
(mount = 21.)
sys mount; special; name; rwflag
(umount = 22.)
sys umount; special
MOUNT(2)