Is it possible to hide lost+found?

Posted on

Is it possible to hide lost+found? – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, unix, filesystems, storage, files.

Given a partition intended solely for storing music, video and so-on, is it possible to hide the lost+found directory?

Solution :

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.

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.

$ 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

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.

Leave a Reply

Your email address will not be published. Required fields are marked *