[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Is there a DEFRAGment(er) in Linux or it's equivalencey?



M.Schild wrote:

Hi RedHatters,

Being an ex-Windoze, I was wondering -
Is there a DEFRAGment(er) in Linux or it's equivalency?
or a SCAN that peruses your HardDrive and deletes obsolete files.

Is there any such program out there?

A defragger is generally not needed in Linux due to the design of the filesystems.

This may not be totally accurate but I think Linux is 'self-cleaning'. Each time you log out, it gets rid of unnecessary files.

Actually that's at boot time. If a program is "well behaved", it should put temporary files in /tmp which is purged at boot time. There are other temporary files (the web browser's cache and such) which are often in non-standard locations.

The "find" command can help you locate older files:

find / -daystart -atime +5 -print

will find any file that hasn't been accessed in the last 5 days.  What
you do with such files is up to you.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens vitalstream com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-               500: Internal Fortune Cookie Error                   -
----------------------------------------------------------------------




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]