lkml.org 
[lkml]   [2003]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Why are bad disk sectors numbered strangely, and what happens to them?
On Mon, Oct 13, 2003 at 07:24:00PM +0900, Norman Diamond wrote:
>
> I agree, we are not sure if a read will do that. That is the reason why two
> of my preceding questions were:
>
> How can I find out which file contains the bad sector? I would like to
> try to recreate the file from a source of good data.

this was gibven to me on this list by Al Viro a couple of years back.
Worked fine for me.

find /usr/lib -type f|sed -e 's!.*!cat & >/dev/null || echo &!'|sh
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site