FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
my hard disk does occasionally load continuously without reason, maybe there is reason, but i have no idea. it only stop when i reboot the machine...
am i (my computer)hacked maliciously hacked by someboy or could something causing this.... because when i am in windows..the same situation aroses..
how can i know if my comp is hacked by someone..or can i spot the program accessing my HD...????
It could be 'updatedb' running. This updates the locate database so you can find files using 'locate'. Next time your machine starts using the hard drive, check what is running with the 'top' command. Whichever program is causing the hard drive use will be at or near the top of the list.
It's probably 'updatedb' or 'prelink', and is nothing to worry about
you are right, but it is so annoying that the prelink and updatedb run every dat on my box...
what is the purpose of these two programs??? is it normal that my prelink takes my half an hour???because prelink render my box unuseable for that 0.5 hour..... and i scare my HD will die out soon because of this....
prelink allows programs to start faster by 'pre-linking' shared libraries, so that this doesn't have to be done when a program starts up. You can switch this off if you like, it won't stop anything working. (I have prelink switched off, as it interferes with the win32 codecs in Xine)
On my system prelink takes about 7 or 8 minutes, so I suppose half an hour isn't outrageous.
updatedb goes through your directories adding each file it finds to a hash table so that files can be found very quickly by the 'locate' program. locate is a very useful utility, so I'd probably leave updatedb on. On the other hand, if you've never used locate and never intend to, you could switch off updatedb too.
If you want to switch off prelink, edit /etc/sysconfig/prelink and change PRELINKING=yes to PRELINKING=no.
If you want to switch off updatedb, remove /etc/cron.daily/slocate.cron
Both of these programs should run at a very low priority, and shouldn't interfere with you using your machine. I wouldn't worry about your hard drive dying - what tends to kill them is being swithed on and off all the time, not reading and writing to them.
but i am a last question about updatedb...will updatedb processes my windows partition if it is mounted as start up, how can i exclude this partition from updatedb....i think that is why updatedb need to take 0.5 hour to run...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.