Creates a lost and found directory for the fsck command.
mklost+found
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.
To make a lost+found directory for the fsck command, enter:
mklost+found
/usr/sbin/mklost+found | Contains the mklost+found command. |
The fsck command, mkfs command.
The Directories in Operating system and device management.
The Files in Operating system and device management.