how to find the sector size of a hard drive?
Hi,
So I want to fill a disk up with files that occupy exactly 1 sector on the physical drive in order to find bad sectors. How would I go about finding the size of a single sector, to the byte?
After dd'ing the whole disk with bs=16M, it reported copying about 250GB of data. But dd also reported the number of bytes copied, which doesn't equal 250GB by any definition (1024 or 1000=1K)
In the end I would like to run an md5sum on all the files to find the corrupt sector. Then leave the files hidden so the OS won't use them again. Is this a possible solution, or am I missing something?
thanks,
rabbit2345
|