>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. You can't. (And such a thing makes little sense for ZFS where the filesystem and the lvm are one and the thing. The offset from where? Typically, one use is to find holes in files; for that we have a different mechanism (which works for everyone who can read a file) Casper _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code