Questions tagged «updatedb»

3
我可以禁用updatedb.mlocate吗?
在这里的ubuntu服务器上,我尝试使用Java从压缩文件格式中解压缩300M图像文件。 我的解压缩速度是0.5Mbytes / sec,太糟糕了(以这种速度解压缩1.5TB需要34天)。 我试图找出原因,而我注意到的唯一奇怪的是,在执行解压缩过程时,updatedb.mlocate始终可以正常工作。我想关闭它,看看它是否挡住了它,但我对它的含义并不了解。 最佳 top - 05:16:52 up 1 day, 5:15, 3 users, load average: 2.00, 2.01, 1.83 Tasks: 83 total, 1 running, 82 sleeping, 0 stopped, 0 zombie Cpu(s): 0.4%us, 0.8%sy, 0.0%ni, 8.4%id, 90.2%wa, 0.0%hi, 0.0%si, 0.2%st Mem: 1737420k total, 1722680k used, 14740k free, 1241260k buffers Swap: …

3
Updatedb和定位命令问题-重新启动后不再索引来自外部硬盘驱动器的文件
重新启动后,不再索引我的外部硬盘驱动器中的文件。我必须重新安装然后再运行 # updatedb 每次重新启动后。问题是updateb,我的外部硬盘驱动器需要几分钟。重新启动后,有什么方法可以保留外部索引,以便locate命令可以搜索外部? 编辑:每个请求在这里是我的规格: $ cat /etc/updatedb.conf PRUNE_BIND_MOUNTS="yes" # PRUNENAMES=".git .bzr .hg .svn" PRUNEPATHS="/tmp /var/spool /media" PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs udf fuse.glusterfs fuse.sshfs ecryptfs fusesmb devtmpfs" # mount /dev/sda5 on / …

2
我如何每天运行Updatedb?
如何编辑update.confat /etc/update.conf每天在Ubuntu上运行?这将使我能够使用locate最新的数据库。 我读到这个: 默认设置为updatedb,它位于/etc/cron.daily中,其名称为slocate.cron。如果要在启动时运行updatedb,可以将updatebd行添加到文件/etc/rc.d/rc.local中。 在FC4中,您必须编辑文件/etc/updatedb.conf并设置DAILY_UPDATE = yes。 但这是给Fedora的。
12 locate  updatedb 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.