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> verify_vol<br />

Usage<br />

Hex Mnemonic Description<br />

0x200A E_DMOUNT Volume not mounted.<br />

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

0x2025 E_IDN Illegal device name.<br />

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

0x2200 VF_INSUFF Insufficient working area provided.<br />

0x2201 VF_MAXDEPTH Maximum depth exceeded on<br />

directory traversal.<br />

0x2202 VF_ABORT Verify routine aborted by user.<br />

verify_vol() can be used to perform the following actions:<br />

Volume Integrity Verification — verify_vol() examines all volume control structures to<br />

verify their consistency. Inconsistencies are reported and described in detail.<br />

Volume Correction — Certain kinds of inconsistencies can be corrected.<br />

Bad Block Elimination — Bad blocks can be marked as “in use” in the volume bitmap,<br />

thus excluding them from allocation by pHILE+ file system manager.<br />

verify_vol() can be used in two ways. First, it can be used to perform a simple<br />

test of correctness, for example, at each power-on or system restart. Second, it can<br />

be integrated into a volume repair utility with a user-supplied interface.<br />

Under normal operating conditions, pHILE+ file system manager always maintains<br />

the volume control structures in a correct and consistent state. verify_vol() is<br />

most useful when used following a system error or failure that can corrupt the file<br />

system, such as one of the following:<br />

■ A power failure, or a CPU or disk controller crash. In such cases, pHILE+ file<br />

system manager can be interrupted in the middle of a critical operation,<br />

resulting in a corrupted file system.<br />

■ A hard error or data corruption in one or more blocks containing volume control<br />

structures.<br />

■ Errors in the user-supplied physical disk driver.<br />

■ Restarting a task in pHILE+ file system manager.<br />

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

2

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

Saved successfully!

Ooh no, something went wrong!