Man-wai Chang <(E-Mail Removed)> wrote:
>> Today you "mark" bad blocks on HDD level by overwriting them (and
>> the disk then does reallocation). If you have to makr on filesystem
>> layer, then the disk has run out of spare sectors and is close
>> to dath.
> Ever since introduction of IDE hard disks, we lost the ability to mark a
> bad sector by low-level format. And Micro$oft's format program just
> refuse to mark bad sectors at file-system level.
This does make sense, as the disk is in the process of dying
anyways if defect reallocation stops working. For Linux, you
can still manually pass a list of bad blocks to mke2fs and
e2fsck. mkdosfs allso supports this, so for FAT12/16/32 created
with Linux (they work without problem with at least XP and W7),
you can also specify bad blocks manually. Linux mkntfs does
not seem to have that option anymore, but it does call badblocks,
which in turn could be manipulated to give the list you want to
mkntfs. Seems this functionality is not irrelevant enough that
nobody biotherd to add the (very simple to add) commanfline
option to read from file instead from badblocks output.
But all that said, with Linux you get bad blocks marking
in filesystem level for ext2/3/4, FAT and NTFS.
Arno
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email:
(E-Mail Removed)
GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans