06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

nfsmount_vol pHILE+ <strong>System</strong> <strong>Calls</strong><br />

Return Value<br />

Error Codes<br />

This structure cannot be packed. The fields of<br />

nfsmount_vol_params are defined as follows:<br />

ipaddr The IP address of the NFS host that contains the file<br />

system to mount. Since this is in network byte<br />

order, it should be set as follows:<br />

params−>ipaddr = htonl(address)<br />

pathname Points to the pathname of the filesystem to mount.<br />

flags Reserved for future use and must be 0.<br />

reserved Reserved for future use and must be 0.<br />

This system call returns 0 on success or an error code on failure.<br />

Hex Mnemonic Description<br />

0x2006 E_MNTFULL Attempted to mount too many<br />

volumes.<br />

0x2008 E_MNTED Volume already mounted.<br />

0x2025 E_IDN Illegal device name.<br />

0x2051 E_MAXLOOP Symbolic links nested too deeply.<br />

0x2052 E_EREMOTE Too many levels of remote in path.<br />

0x2054 E_EIO A hard error occurred at a remote<br />

site.<br />

0x2055 E_EACCES Task does not have access<br />

permissions.<br />

0x2058 E_ESTALE Stale NFS file handle.<br />

0x205B E_ENXIO No such device or address.<br />

0x205C E_ENODEV No such device.<br />

0x2070 E_EAUTH RPC authorization is not available.<br />

0x2071 E_ENFS Portmap failure on the host.<br />

2-74 <strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!