Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!ncar!gatech!bloom-beacon!eru!hagbard!sunic!liuida!isy!lysator.liu.se!pen From: pen@lysator.liu.se (Peter Eriksson) Newsgroups: comp.sys.sequent Subject: xpformat - again Summary: How to convert (cyl,head,sect) to (cyl,head,offset,len)? Keywords: xpformat dynix balance bad-sectors Message-ID: <516@lysator.liu.se> Date: 26 Feb 91 16:33:58 GMT Sender: news@isy.liu.se (Lord of the News) Distribution: comp Organization: Lysator Computer Club, Linkoping University, Sweden Lines: 11 How do I convert the [cylinder,head,sector] number that I get from the 'xp' device driver into the [cylinder,head,offset,length] that 'xpformat' need? Is it just as simple as multiplying the sector size as selected on the drive with the sector number to get the 'offset', and using the sector size * 8 as the 'length' factor? -- Peter Eriksson pen@lysator.liu.se Lysator Computer Club ...!uunet!lysator.liu.se!pen University of Linkoping, Sweden "Seize the day!" Brought to you by Super Global Mega Corp .com