This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.
By default, the SCO mkdev fs script creates 62 empty entries in lost+found. Linux does something similar, with mklost+found but apparently chooses the size based on some algorithm.
This can be important in the event of a crash: if lost+found is not big enough, fsck can't save the orphaned files.
(More modern file system fsck's CAN allocate lost+found space as needed)
If you'd like to make more, use a variant of the following script:
for a in 0 1 2 3 4 5 6 7 8 9 do for b in 0 1 2 3 4 5 6 7 8 9 do > /lost+found/dummy$a$b done done rm -f /lost+found/*
The above will create 100 entries. Season to taste.
If you found something useful today, please consider a small donation.
Got something to add? Send me email.
We're terrible animals. I think that the Earth's immune system is trying to get rid of us, as well it should. (Kurt Vonnegut)