getfh man page on HP-UX

Printed from http://www.polarhome.com/service/man/?qf=getfh&af=0&tf=2&of=HP-UX

getfh(2)							      getfh(2)

NAME
       getfh() - return file handle for file on remote node

SYNOPSIS
DESCRIPTION
       The  system call returns a file handle in the pointed to by fhp for the
       file pointed to by path.	 This information is used to  perform  an  NFS
       mount  for  a remote node.  is executed on the remote node; results are
       passed back to the program doing the  NFS  mount.   The	caller	should
       never  examine  the file handle contents.  The file handle only identi‐
       fies a file to the node that produced the file handle.  (The term "file
       handle" refers to an NFS concept.)

       The effective user ID of the calling process must be superuser.

RETURN VALUE
       returns the following values:

	      Successful completion.
	      Failure.
		     is set to indicate the error.

ERRORS
       If fails, is set to one of the following values.

	      [EINVAL]	     Invalid  argument,	 or  the file or directory has
			     not been exported by (see exportfs(1M)).

	      [ENOENT]	     File or directory	specified  by  path  does  not
			     exist.

	      [EPERM]	     The effective user ID is not superuser.

	      [EREMOTE]	     The  file	or  directory  specified  by path is a
			     remote file or directory.

WARNINGS
       This call should be used only by HP-supplied commands and is not recom‐
       mended for use by non-HP-supplied programs.

AUTHOR
       was developed by Sun Microsystems, Inc.

SEE ALSO
       exportfs(1M), mount(1M), vfsmount(2).

								      getfh(2)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net