Given a partition intended solely for storing music, video and so-on, is it possible to hide the lost+found directory?
|
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. |
|||||||
|
|
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. |
|||
|
|
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. |
|||
|
|
|
Create a folder called Edit the contents to read:
Nautilus will now hide the lost+found folder if you refresh. |
|||
|
|
|
Lost+Found is where FSCK is going to deposit bits of files that it was able to recover if your file system is damaged. If the directory is currently empty, you are safe to just delete it. FSCK (I believe) will re-create it if it has anything that needs to be put there. Not sure why the presence of that directory is problematic for you, though? |
|||
|
|
So make that an alias
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 |
|||
|
|
|
No. It can't be hidden because under UNIX os's, only files that begin with a period are hidden from a standard view. |
|||
|
|