Re: Renaming lost+found

Andreas Dilger (adilger@turbolinux.com)
Fri, 26 Jan 2001 12:24:32 -0700 (MST)


Rob Kaper writes:
> Is there a way to rename lost+found ?? It bothers me to see it in ls all the
> time because 99.9% of my time it's just useless and I really think
> .lost+found (a hidden file) would make much more sense for daily use. I
> assume this would require some ext2 changes as well as a patch to e2fsck
> etc. (with backwards compatibility of course)

You could also just delete it, but then you run into problems when e2fsck
is run on a broken filesystem. Use ext3 instead. The lost+found dir is
in many (most?) Unix filesystems, for use when things go bad.

You _could_ change it to be a hidden file, but then you would have to
remember where it was after e2fsck moves half of your files into it
after a crash. It probably wouldn't be too much work to change e2fsck.
You also need to change mke2fs and mklost+found as well.

Cheers, Andreas

-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/