06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Requirements and Restrictions<br />

1. verify_vol() suspends all other I/O transactions to the designated volume.<br />

Because of the time required to execute it, verify_vol() should be called<br />

when the volume is idle.<br />

2. Executing verify_vol() requires that the volume is mounted and no files are<br />

open.<br />

3. verify_vol() cannot be used on an MS-DOS, CD-ROM, or NFS volume.<br />

Functional Description<br />

On the specified volume, verify_vol() examines the volume’s control structures<br />

and searches for faults. A fault is any inconsistency in the control structures. For<br />

example, the volume’s bitmap may indicate a particular block is free, while in fact it<br />

is being used. In all, there are 42 different kinds of faults detectable by<br />

verify_vol().<br />

2-130 <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!