[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 3


mklost+found Command

Purpose

Creates a lost and found directory for the fsck command.

Syntax

mklost+found

Description

The mklost+found command creates a lost and found directory in the current directory. A number of empty files are created within the lost and found directory and then removed so that there are empty slots for the fsck command. The fsck command reconnects any orphaned files and directories by placing them in the lost and found directory with an assigned i-node number. The mklost+found command is not normally needed, since the fsck command automatically creates the lost and found directory when a new file system is created.

Examples

To make a lost+found directory for the fsck command, enter:

mklost+found

Files


/usr/sbin/mklost+found Contains the mklost+found command.

Related Information

The fsck command, mkfs command.

The Directory Overview in AIX 5L Version 5.1 System User's Guide: Operating System and Devices.

The Files Overview in AIX 5L Version 5.1 System User's Guide: Operating System and Devices.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]