Return to BSD News archive
Xref: sserve comp.unix.misc:10718 comp.unix.pc-clone.32bit:5284 comp.unix.bsd:13212 Newsgroups: comp.unix.misc,comp.unix.pc-clone.32bit,comp.unix.bsd Path: sserve!newshost.anu.edu.au!munnari.oz.au!sgiblab!swrinde!cs.utexas.edu!news.unt.edu!news.oc.com!utacfd.uta.edu!rwsys!hammy!gordon From: gordon@sneaky.lonestar.org (Gordon Burditt) Subject: Re: UNIX sector/file location References: <Dec23.204443.94504@yuma.ACNS.ColoState.EDU> <i894ec1w165w@mindvox.phantom.com> Organization: /usr/lib/news/organi[sz]ation Date: Thu, 30 Dec 1993 08:33:30 GMT Message-ID: <CIuAGC.53q@sneaky.lonestar.org> Lines: 20 >> I have ISC UNIX SysV/386 3.2 v3.0.1 running on a Compaq. Given an absolute >> sector number, how do I find what file uses it? >> >> Cheers! > >I believe it's impossible unless you have either: >- some custom disk administration tool from Compaq (unlikely), or >- patience, time and system resources to make and run your own script Given an absolute *BAD* sector number, it should be easy enough to find what file is involved with a command like: # tar cvf /dev/null / and then watch the output carefully until the disk error message comes up. tar may give the file name in the error message, or you might have to try copying a couple of files to /dev/null to narrow it down. Gordon L. Burditt sneaky.lonestar.org!gordon