This content has been marked as final. Show 3 replies
What is your actual OS?
You posted this to the Solaris 9 forum. Google suggests that fsbtodb is for Linux or perhaps FreeBSD only.
Its solaris 9 sparc.
ufs file system comes with Solaris .
returns corretct disk address for all the files if file system size < 1 TB.and
if ufs file system size is greater than 1 TB then for some files, the macro fsbtodb does not return correct value, it returns -ve valueI seem to (very) vaguely recall that you shouldn't be surprised at this example of a functional filesize limitation.
Solaris 9 was first shipped in May 2002 and though it was the first release of that OS to have extended file attributes I do not think the developers had intended the OS to use raw filesystems larger than 1TB natively.
That operating environment is just too old to do exactly as you hope.
Perhaps others can describe this at greater length.