我的vhd/virtualbox有一个空的单独分区。安装在/mount/win7。
我现在已经删除了所有的东西,并且还剩下一个lost+found文件夹。它大约需要5次演出
删除失物招领处文件夹安全吗?
发布于 2012-07-19 16:58:27
如果lost+found目录丢失,fsck将重新创建它。
在启动时,如果检测到文件系统没有干净地卸载,大多数发行版都会运行fsck。
当fsck创建丢失的lost+found目录时,它将创建它,并将它找到的任何内容放入该目录。
因此,您可以删除它,但不推荐(根据Marcelo的评论)。
发布于 2012-10-31 16:06:44
到目前为止,我的印象是删除lost+found是完全安全的,因为它将在需要时由fsck重新创建。但是在Ubuntu12.10升级之后,我收到了来自cron的邮件:
/etc/cron.daily/standard:
Some local file systems lack a lost+found directory. This means if the
file system is damaged and needs to be repaired, fsck will not have
anywhere to put stray files for recovery. You should consider creating
a lost+found directory with mklost+found(8).
The following lost+found directories were not available:
/home/lost+foundmklost+found的手册上写着:
mklost+found pre-allocates disk blocks to the lost+found directory
so that when e2fsck(8) is being run to recover a filesystem, it does
not need to allocate blocks in the filesystem to store a large number
of unlinked files. This ensures that e2fsck will not have to allocate
data blocks in the filesystem during recovery.我不知道这到底意味着什么,但它似乎表明,没有lost+found可能会给复苏带来麻烦。此外,它还表明lost+found与常规目录不同,因为它预先分配了与其关联的块。
发布于 2017-11-18 05:24:57
您不想删除lost+found目录。
它是一个重要的系统文件夹,将在下次启动时重新创建。有一些很好的解释,解释了为什么它在那里和它做什么,这里
https://askubuntu.com/questions/165614
复制相似问题