|
|
1.1 root 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) 5/28/85
8: #
9: mkdir lost+found
10: cd lost+found
11: echo creating slots...
12: for i in 1 2 3 4 5 6 7 8 9 0 a b c d e f
13: do
14: cat </dev/null >${i}XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
15: done
16: echo removing dummy files...
17: for i in 1 2 3 4 5 6 7 8 9 0 a b c d e f
18: do
19: rm ${i}X*
20: done
21: cd ..
22: echo done
23: ls -ld `pwd`/lost+found
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.