Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!beta!hc!hi!kurt From: kurt@hi.UUCP (Kurt Zeilenga) Newsgroups: comp.unix.wizards Subject: Re: help with missing lost+found! Message-ID: <13225@hi.UUCP> Date: Wed, 12-Aug-87 18:10:43 EDT Article-I.D.: hi.13225 Posted: Wed Aug 12 18:10:43 1987 Date-Received: Sat, 15-Aug-87 02:47:34 EDT References: <180@LOGICON.LOGICON.UUCP> <142700014@tiger.UUCP> Reply-To: kurt@hi.UUCP (Kurt Zeilenga) Organization: U. of New Mexico, Albuquerque Lines: 15 In article <142700014@tiger.UUCP> rjd@tiger.UUCP writes: >> Do any of you wizards out there in netland have a quick and easy way >> (BESIDES running mkfs) to recreate an accidentally deleted lost+found >> directory? Using mkdir() doesn't cut it... >Why not? Mkdir() works on my machine.... What kind of machine are >you on? > Randy (I assume we are talking about 4.X BSD Unix) Well, you should also "grow" the directory size so fsck has plenty of empty slots to put orphaned files and directories in after mkdir lost+found in the root of the filesystem. An easy way to do this is to create many empty files in the directory and then delete them all.