code: def _mount(self):
          
          # mount_afp "afp://scraig:<password>@address/share" <mnt_point>
          if is_osx():
              if self.connection["jss"].verbose:
                  print self.connection["mount_url"]
              if mount_share:
                  self.connection["mount_point"] = mount_share(
                      self.connection["mount_url"])
              else:
                  # Non-Apple OS X python:
                  args = ["mount", "-t", self.protocol,
                          self.connection["mount_url"],
                          self.connection["mount_point"]]
                  if self.connection["jss"].verbose:
                      print " ".join(args)
                  subprocess.check_call(args)
          elif is_linux():
              args = ["mount_afp", "-t", self.protocol,
                      self.connection["mount_url"],
                      self.connection["mount_point"]]
              if self.connection["jss"].verbose:
                  print " ".join(args)
              subprocess.check_call(args)
          else:
              raise JSSError("Unsupported OS.")
docs: Mount based on which OS is running.