Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 13 Oct 2003 09:24:02 -0500 | From | Chuck Campbell <> | Subject | Re: 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/
| ![\](/images/icornerr.gif) |