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.
Got something to add? Send me email.
We must be very careful when we give advice to younger people: sometimes they follow it! (Edsger W. Dijkstra)
Printer Friendly Version
Have you tried Searching this site?
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.
Contact us
Printer Friendly Version