02.07.2013 Views

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

fsck(IM) fsck(IM)<br />

NAME<br />

fsck - check file-system consistency <strong>and</strong> interactively repair<br />

SYNOPSIS<br />

/ etc/ fsck -T 5.2 [-y] [-n] [-mtimeout] [-sX] [-SX]<br />

[-tjile] [-q] [-Doptions ... ] [-f] [-ppasstostart]<br />

[svfs-jilesystem . .. ]<br />

/etc/fsck [-bblock-number] [-y] [-n] [-mtimeout] -T 4.2<br />

[-ppasstostart] [ufs-filesystem ... ]<br />

DESCRIPTION<br />

fsck audits <strong>and</strong> interactively repairs inconsistent conditions for<br />

A/<strong>UX®</strong> file systems. Iffilesystem is not specified, fsck reads a<br />

list of default file systems from the file / et c / f stab. If the file<br />

system is consistent, then only the number of files, number of<br />

blocks used, <strong>and</strong> number of blocks free are reported. If the file<br />

system is inconsistent, the operator is prompted for confirmation<br />

to proceed before each corrective action is attempted. Frequently<br />

corrective actions result in some loss of data. The amount <strong>and</strong><br />

severity of data lost may be determined by examining various<br />

parameters such as non-zero filesize. Typically, each consistency<br />

correction is gated by the operator's yes or no response. However,<br />

if the operator does not have write permission for jilesystem,<br />

fsck merely indicates corrective actions needed.<br />

fsck has more consistency checks than its predecessors check,<br />

dcheck, fcheck, <strong>and</strong> icheck combined.<br />

Checking the raw device is almost always faster <strong>and</strong> should be<br />

used with everything but the root file system. In addition, any file<br />

system other than the root file system should be unmounted at the<br />

time that it is checked with fsck. (It is not possible to un mount<br />

the root file system.)<br />

FLAG OPTIONS<br />

The flag options for the f s c k comm<strong>and</strong> differ depending on the<br />

type of file system.<br />

1<br />

The following flag options apply to both <strong>System</strong> V file systems<br />

(SVFS) <strong>and</strong> Berkeley 4.2 file systems (UFS):<br />

-Tjile-system-type<br />

Indicate the file-system type, for example, 4. 2 for a<br />

Berkeley 4.2 file system (UFS) or 5 . 2 for a SVFS file system.<br />

If this option is not used, f sck attempts to determine<br />

the type.<br />

February, 1990<br />

Revision C

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

Saved successfully!

Ooh no, something went wrong!