Xref: utzoo unix-pc.general:163 comp.sys.att:2105 Path: utzoo!utgpu!water!watmath!uunet!lll-winken!lll-lcc!lll-tis!ames!nrl-cmf!cmcl2!rutgers!noao!arizona!lm From: lm@arizona.edu (Larry McVoy) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: Recommendation to mkdir /lost+found on UNIX pc Keywords: /lost+found, fsck, filesystem, crash Message-ID: <3477@megaron.arizona.edu> Date: 17 Jan 88 00:19:30 GMT References: <214@icus.UUCP> Reply-To: lm@megaron.arizona.edu.UUCP (Larry McVoy) Organization: University of Arizona, Tucson Lines: 13 In article <214@icus.UUCP> lenny@icus.UUCP (Lenny Tropiano) writes: [stuff about lost+found] For reasons I won't go into, the lost+found dir needs directory slots. So do it like this: #!/bin/sh ROOT=/ mkdir $ROOT/lost+found for i in 1 2 3 4 5 6 7 8 9 0 a b c d e f g h i j k l; do cp /dev/null $ROOT/lost+found/$i rm $ROOT/lost+found/$i done