GMOUNT(2)                                               GMOUNT(2)

          gmount - mount or remove non-standard file system

          gmount(fstype, dev, flag [, more])
          int fstype, flag;
          dev_t dev;

          Gmount mounts or unmounts a non-standard file system of type
          fstype. Dev is a device number identifying the object
          mounted; the minor part should be zero.  Device numbers are
          not shared by different filesystem types.  The filesystem is
          mounted if flag is zero, dismounted if it is 1.

          Different types of filesystems may require additional argu-
          ments when mounting.  Only fstype, dev, and flag need be
          given to unmount.

          The possible calls are:

               gmount(1, dev, 0, fildes, name);

          Mount a network filesystem on directory name; fildes is the
          file descriptor of a stream connected to an appropriate

               gmount(2, dev, 0);

          Mount the process filesystem.  Dev is (stupidly) really a
          character pointer, and denotes the directory on which to

               gmount(3, dev, 0, fildes, name);

          Mount a process on file name; fildes is the file descriptor
          of a stream.

          Gmount returns 0 if the action occurred; -1 otherwise.

          Filesystem type 0 (the standard one) should work; it
          The process filesystem should work like everything else.