BSD 4 development
[unix-history] / usr / src / cmd / mklost+found.s
CommitLineData
cae74f45
BJ
1mkdir lost+found
2cd lost+found
3echo creating slots...
4for i in 1 2 3 4 5 6 7 8 9 0 a b c d e f
5do
6 tee ${i}1 ${i}2 ${i}3 ${i}4 ${i}5 ${i}6 ${i}7 ${i}8 < /dev/null
7 tee ${i}9 ${i}a ${i}b ${i}c ${i}d ${i}e ${i}f ${i}0 < /dev/null
8done
9echo removing dummy files...
10for i in 1 2 3 4 5 6 7 8 9 0 a b c d e f
11do
12 rm ${i}1 ${i}2 ${i}3 ${i}4 ${i}5 ${i}6 ${i}7 ${i}8
13 rm ${i}9 ${i}a ${i}b ${i}c ${i}d ${i}e ${i}f ${i}0
14done
15cd ..
16echo done
17ls -ld `pwd`/lost+found