Re: [osol-discuss] Port from linux. ioctl with FIBMAP to OpenSolaris OS, please help.

2008-10-23 Thread Martin Bochnig
On Thu, Oct 23, 2008 at 7:49 PM, Thai Nguyen <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to port a linux app to OpenSolaris OS. There is a API used in > linux codes that I don't know how to port to OpenSolaris: > > ioctl(fileFD, FIBMAP, &FsBlock) > > Any one pleases help, tell me how to do t

[osol-discuss] Port from linux. ioctl with FIBMAP to OpenSolaris OS, please help.

2008-10-23 Thread Thai Nguyen
Hi, I am trying to port a linux app to OpenSolaris OS. There is a API used in linux codes that I don’t know how to port to OpenSolaris: ioctl(fileFD, FIBMAP, &FsBlock) Any one pleases help, tell me how to do this, find out a FileSystemBlock of the offset in a file, in OpenSolaris. Many thank