Path: utzoo!attcan!uunet!cs.utexas.edu!ut-emx!dell!mustang.dell.com!jrh From: jrh@mustang.dell.com (jrh) Newsgroups: comp.unix.i386 Subject: Re: Another fdisk partition for 386/ix. Message-ID: <4339@dell.dell.com> Date: 19 Nov 89 19:34:58 GMT References: <24172@cup.portal.com> <1763@syma.sussex.ac.uk> Sender: news@dell.dell.com Lines: 36 The /lost+found directory is probably there when you originally install, the problem is the shell script /etc/cleanup has a nasty bug in it. They have a line which reads: find /lost+found -mtime 14 -exec rm -rf {} \; > /dev/null 2>&1 This is loaded in crontab to be executed every Sunday morning by default. The problem is, if /lost+found has not had it's modification time changed in 14 days, the entire subdirectory is removed. to fix the problem, just do the following: # mkdir /lost+found # cd /lost+found # cp /usr/bin/* /lost+found # rm * # cd / # ls -al The /lost+found directory should be there, with room for a relatively large number of files. The script that creates the file makes it about 1360, anything there or above should be fine. Next, modify /etc/cleanup to fix the problem permanently. The easiest is to insert a line with: touch /lost+found before the 'find' command above, should clear it up... ------------------------------------------------------------------------- James R. Howard !s: cs.utexas.edu!dell!mustang!jrh