Is it possible to hide lost+found?

Solution 1:

Create a subdirectory in that filesystem and share/symlink that instead of the filesystem root directory.

It's a bad idea to remove the lost+found directory. When recovering, fsck needs an existing multi-sector directory in which to create directory entries for lost files. If there is no lost+found directory, then it has to create one, potentially overwriting data.

Solution 2:

For Gnome2/Mate Nautilus/Caja based desktops, create a file called .hidden in the root folder of the drive.

Edit the contents to read:

lost+found

Nautilus will now hide the lost+found folder if you refresh. Press 'ctrl-h' to toggle the hidden items visible/invisible.


Solution 3:

$ ls --ignore=lost+found

So make that an alias

$ alias ls='ls --ignore=lost+found'

With the updated ls that is part of GNU coreutils 8.15

re: http://www.askapache.com/linux-unix/bash_profile-functions-advanced-shell.html


Solution 4:

Nautilus (and Konq?) will interpret a .hidden file in a directory as a list of files to hide. Otherwise, as others have suggested, use XFS or ReiserFS.


Solution 5:

No. But you can delete it (it'll be recreated at the next fsck), or you can use a different file system which doesn't need a lost+found. ext2/3 does.