#include <sys/mount.h> int minix_mount(char *special, char *name, int mountflags, int srvflags, char *type, char *args) int minix_umount(char *name, int srvflags)
2 MNT_RDONLY Mount file system read-only, rather than read-write.
Srvflags may be a bitwise combination of the following flags:
2 MS_REUSE Reuse the file system server image if possible.
MS_EXISTING Do not start the file system server, but use existing one. The label of the running file server is specified in Type.
Type is the type of the file system (e.g. "mfs"), used to pick a file system server. If this parameter is NULL, the default type is used. Args is a string with arguments passed to the file system server. Their interpretation is up to the server. This parameter may be NULL as well.
Umount() removes the connection between a device and a mount point, name may refer to either of them. If more than one device is mounted on the same mount point then unmounting at the mount point removes the last mounted device, unmounting a device removes precisely that device. The unmount will only succeed if none of the files on the device are in use. Srvflags may be a bitwise combination of the following flags:
2 MS_EXISTING Umount the file system but do not terminate the the file system server.
.TO These calls may only be executed by the super-user.