*BSD News Article 25313


Return to BSD News archive

Xref: sserve comp.unix.misc:10668 comp.unix.pc-clone.32bit:5246 comp.unix.bsd:13184 comp.windows.x.i386unix:6059
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!usc.edu!cs.utexas.edu!uunet!dockmaster.phantom.com!ynp
From: ynp@mindvox.phantom.com (Youri Podchosov)
Newsgroups: comp.unix.misc,comp.unix.pc-clone.32bit,comp.unix.bsd,comp.windows.x.i386unix,bi
Subject: Re: UNIX sector/file location
Date: Sat, 25 Dec 93 08:41:17 EST
Organization: [MindVox] / Phantom Access Technologies / (+1 800-MindVox)
Lines: 18
Message-ID: <i894ec1w165w@mindvox.phantom.com>
References: <Dec23.204443.94504@yuma.ACNS.ColoState.EDU>
NNTP-Posting-Host: mindvox.phantom.com
Originator: ynp@mindvox

zs470513@LANCE.ColoState.Edu (Zane Shults) writes:

> 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
  (C program?) to compare "manually" given disk addr with references
  to *all* occupied blocks in an appropriate filesystems just scanning
  inodes of all three levels of indirection.

The problem isn't related specifically to ISC but is common for all
flavors of UNIX.

Good luck, anyway (maybe I'm just missing some new technologies? :-( )