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

Unix, Xenix and ODT General FAQ


Some material is very old and may be incorrect today

© December 2003 (various)

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
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.





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

Printer Friendly Version

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


Inexpensive and informative Apple related e-books:

Photos: A Take Control Crash Course

iOS 8: A Take Control Crash Course

Take Control of Upgrading to El Capitan

Take Control of OS X Server

El Capitan: A Take Control Crash Course






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're terrible animals. I think that the Earth's immune system is trying to get rid of us, as well it should. (Kurt Vonnegut)




Linux posts

Troubleshooting posts


This post tagged:

FAQ

SCO_OSR5



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode