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

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

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

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

8. Superblock checks are perfonned for:<br />

more than the maximum number of inodes.<br />

more blocks for inodes than there are in the file system<br />

9. Checks for a bad free-block list fonnat are perfonned.<br />

10. Checks for incorrect total free block or free inode count, or<br />

both, are perfonned.<br />

Reconnection of dislocated files<br />

Orphaned files <strong>and</strong> directories (allocated but unreferenced) are,<br />

with the operator's confirmation, reconnected, if not empty, by<br />

placing them in the lost+found directory. The user is notified<br />

if the file or directory is empty or not. If it is empty, fsck silently<br />

removes them <strong>and</strong> forces the reconnection of nonempty directories.<br />

The name assigned is the inode number. The only restriction<br />

is that the directory lost+found must preexist in the root<br />

of the file system being checked <strong>and</strong> must have empty slots in<br />

which entries can be made. This is accomplished by making a<br />

lost+found directory, copying a number of files to the directory,<br />

<strong>and</strong> then removing the files before fsck is executed. See<br />

mklost+found(<strong>1M</strong>).<br />

EXAMPLES<br />

fsck /dev/rdskO/cOdOsO<br />

checks the consistency of the file system referred through<br />

/dev/rdskO/cOdOsO.<br />

FILES<br />

/etc/fsck<br />

/etc/ufs/fsck<br />

/etc/svfs/fsck<br />

/etc/%fsck<br />

/etc/fstab Contains default list of file systems to<br />

check<br />

SEE ALSO<br />

cl ri(IM), f si r<strong>and</strong>(<strong>1M</strong>), mkf s(IM), ncheck(<strong>1M</strong>),<br />

newfs(<strong>1M</strong>), typefs(IM), fstab(4), fs(4).<br />

"Checking the NUX File <strong>System</strong>: fsck," inAIUX Local <strong>System</strong><br />

Administration.<br />

DIAGNOSTICS<br />

The diagnostics produced by fsck are intended to be selfexplanatory<br />

.<br />

5<br />

February, 1990<br />

Revision C

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

Saved successfully!

Ooh no, something went wrong!