mke2fs -c -c -j /dev/hda* ?
I have had problems with my linux system getting corrupted. I am going to reinstall it again. I am using the command below to make my file system
mke2fs -c -c -j /dev/hda* the -c -c option is supposed to do a thorough job of checking for bad blocks. Using the above command, what will happen if it finds a bad block: will it tell me? will it make the file system around the bad area? I am kind of curious what to expect. |
Straight out of the manpage for mke2fs:
Code:
-c Check the device for bad blocks before creating the file system. Håkan |
..... run fsck on it first?
|
I appreciate any input, but what do you read that makes you interpretate that it will write on the bad blocks? The way I read it it just says it will do a thorough job looking for them, but it does not specify what it does with the information. I would assume that it would use the info it finds to write around the badblocks, but I am not sure of that.
|
a read write test will only fail on a physical defect of a disk.
Obviously it wont write filesystem data to it if it cant and will mark this block in its filesystem table. |
All times are GMT -5. The time now is 10:52 AM. |