Re: Anti-virus

From: Molchun (molchun_at_REMOVEbluerealm.co.uk)
Date: 01/29/04


Date: Thu, 29 Jan 2004 12:48:20 +0000

Harry Phillips wrote:

> Fred Emmott wrote:
>>>These are defragmentation and anti-virus programs. Can anyone
>>>tell me why there is no need for these in Linux?
>>>Thanks.
>>>Randy
>>
>>
>> Defragmentation - the standard linux filesystems don't get fragments,
>> therefore no need to defragment
>>
>
> As I understand it the different operating systems work this way:
>
> Windows:
> 1. Looks for the next available free space.
> 2. Saves as much of the file as possible.
> 3. Has file finished? No, goto 1.

No.

> Linux:
> 1. Looks for the next available free space large enough to hold the
> entire file.
> 2. Saves the file.

And no again :). Read my post to the OP.

> Can anyone confirm for me that Linux will then read the file back and
> compare the one in memory and the one read back to see if the disk has
> any bad sectors?

No. You check for bad blocks with (suprise!) "badblocks" which is
automatically called by mke2fs (or other) with the -c switch.

> Is that why you don't need to run the equiv of
> "Scandisk"?

What does that do? If you tell me what it does I'll give you the equivalent.
But my guess would be it's "fsck" :) and you DO need to run it if there is
no journal, well it's actually done for you so you don't have to worry.

-- 
Jabber:   molchun@jabber.org
PGP ID:   0x304563A8


Relevant Pages

  • Re: Defragmentation.
    ... was able to do so,then one day downloading something from the web my pc ... defragment to improve my pc performance.Any ideas,tips etc...much appreciated. ... You require 15% free space on the hard drive before Windows Defragmenter will work. ...
    (microsoft.public.windows.vista.performance_maintenance)
  • Windows Disk Defragmenter ate up all the disk space.
    ... Windows Gurus!!... ... unwanted files and eventually managed to free about 2 GB of data. ... then decided to defragment it using Windows Disk Defragmenter to ... Where did the 2 GB of free space go? ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: "Files that cannot be defragmented"
    ... Rick Rogers aka "Nutcase" MS-MVP - Windows ... Win98 Help - www.rickrogers.org ... "Defragment", do so and the end result is that there is exactly the same ... amount of free space as there was before defragmenting, ...
    (microsoft.public.windowsxp.newusers)
  • Re: Disk Defragment issue
    ... There are issues with the defragger in Windows 2000 when the free space on ... > When I execute the disk defragment in the System drive, ... That is "Disk Defragmenter cannot defragment this read-only ...
    (microsoft.public.win2000.general)
  • Re: Defrag doesnt
    ... the 7.6 GB free space I reported is out of a total drive space reported ... Sorry I failed to report that. ... adequately defragment it. ... (having two or more fragments). ...
    (microsoft.public.windowsxp.general)