APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Unix, Xenix and ODT General FAQ

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.

I want more space in my SCO Unix lost+found directory

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
  for b in 0 1 2 3 4 5 6 7 8 9
    > /lost+found/dummy$a$b
rm -f /lost+found/*

The above will create 100 entries. Season to taste.

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> (SCO Unix) I want more space in my lost+found directory

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

We must be very careful when we give advice to younger people: sometimes they follow it! (Edsger W. Dijkstra)



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode