folder lost+found missing?

HaJo Schatz hajo at hajo.net
Sat Mar 5 17:36:06 UTC 2005


On Fri, 2005-03-04 at 12:57 -0600, Hongwei Li wrote:
> Hi,
> 
> The folder lost+found in the partition /tmp of my fc3 system is missing. 
> All other partitions have it.  What is the usage of lost+found folder?  Do
> I need to create it for /tmp?  If yes, just run mkdir ...?  Do I need to
> do anything special for it?

lost+found is a dir which exists on each partition. It's used to store
recovered data in case you had a fs-inconsistency and fsck tried to
repair it but was left with some chunks of data which it couldn't "sort
in" -- these chunks go to lost+found for you to recover manually later.

/tmp is per definition a directory which holds temporary data which does
not have to survive a reboot. Hence a recovery of that dir/partition
during reboot doesn't really make sense -- the data to be recovered is
uselelss anyhow. AFAIR /tmp is actually cleaned automatically at every
reboot.

It may very well be a bug of the cleaning routine to also delete lost
+found in the progress during reboot. Whether this is is a serious one
however is not so clear to me -- you're never supposed to recover
anything on this partition anyhow...

HaJo

> 
> Thanks!
> 
> Hongwei Li
> 
-- 
HaJo Schatz <hajo at hajo.net>
http://www.HaJo.Net

PGP-Key:  http://www.hajo.net/hajonet/keys/pgpkey_hajo.txt




More information about the fedora-list mailing list