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.

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

Error Codes<br />

Notes<br />

See Also<br />

Hex Mnemonic Description<br />

0x2003 E_BADVOL Inconsistent data on volume; volume<br />

corrupted.<br />

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

0x2007 E_VALIEN Wrong volume format.<br />

0x2008 E_MNTED Volume is already mounted.<br />

0x2021 E_ILLDEV Illegal device (exceeded maximum).<br />

0x2024 E_FMODE Illegal synchronization mode.<br />

0x2025 E_IDN Illegal device name.<br />

0x2029 E_NMSVOL Cannot mount MS-DOS volume.<br />

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

1. pcmount_vol() proceeds as if the designated pSOS+ device is mountable. A<br />

device is mountable if it has been initialized by pcinit_vol() or by the<br />

MS-DOS FORMAT command.<br />

2. The number of volumes that can be mounted simultaneously in the system<br />

cannot exceed the pHILE+ Configuration Table parameter fc_nmount (from<br />

sys_conf.h).<br />

3. The pHILE+ file system manager does not attempt verification or any other way<br />

of determining volume ownership. Any task can perform a pcmount_vol(). A<br />

mounted device does not retain a record of the task that mounted it. Therefore,<br />

a volume is not automatically unmounted when the task that mounted it is<br />

deleted. This and any other security measures, if desired, should be supported<br />

by the user’s own layer of software.<br />

4. For an application to mount an MS-DOS volume, the mount flag FC_MSDOS in<br />

sys_conf.h must be set.<br />

pcinit_vol, mount_vol, nfsmount_vol, cdmount_vol, unmount_vol<br />

<strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong> 2-89<br />

2

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

Saved successfully!

Ooh no, something went wrong!