- Moved (u)mount prototypes from unistd.h to sys/mount.h.

- Prepared mount system call to accept multiple mount flags
   instead of just read_only (however, it remains backwards
   compatible).
 - Updated the man mount(2) to reflect new header file usage. 
 - Updated badblocks, newroot, mount, and umount commands to use the
   new header file.
This commit is contained in:
Thomas Veerman
2009-08-12 19:57:37 +00:00
parent 1defc4fc3a
commit c2ffe723d1
8 changed files with 37 additions and 11 deletions
+1 -2
View File
@@ -4,10 +4,9 @@ mount, umount \- mount or umount a file system
.SH SYNOPSIS
.ft B
.nf
#include <unistd.h>
#include <sys/mount.h>
int mount(char *\fIspecial\fP, char *\fIname\fP, int \fIflag\fP, char *\fItype\fP, char *\fIargs\fP)
int mount(char *\fIspecial\fP, char *\fIname\fP, int \fImountflags\fP, char *\fItype\fP, char *\fIargs\fP)
int umount(char *\fIname\fP)
.fi
.ft P