1#!/bin/sh - 2# 3# Copyright (c) 1980 Regents of the University of California. 4# All rights reserved. The Berkeley software License Agreement 5# specifies the terms and conditions for redistribution. 6# 7# @(#)mklost+found.sh 5.1 (Berkeley) 05/28/85 8# 9mkdir lost+found 10cd lost+found 11echo creating slots... 12for i in 1 2 3 4 5 6 7 8 9 0 a b c d e f 13do 14 cat </dev/null >${i}XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 15done 16echo removing dummy files... 17for i in 1 2 3 4 5 6 7 8 9 0 a b c d e f 18do 19 rm ${i}X* 20done 21cd .. 22echo done 23ls -ld `pwd`/lost+found 24