fsck command
Repair / check integrity of linux filesystem on disk hda1
fsck /dev/hda1
Repair / check integrity of linux filesystem on disk hda1
fsck /dev/hda1
<p class=”intro”>If you have many IDE harddisks connected to the system(but not mounted), this command will find it. This will work for sata HDD as well if you use ‘sd’ instead of ‘hd'</p>
<pre><code class=”cli”>
ls /dev/hd*
</code></pre>
<p>Simple, is it not? To find the mounted drives just use the command ‘dh’.</p>
[tags]hda,harddisk,ide,sata,linux,command,hdd,partition[/tags]