2008-12-03

diff large files under Solaris

Did you ever notice that the diff command cannot handle files larger 2 GB under SunOS Solaris? You will get a nice error message like:

Error: Value too large for defined data type
That is because its file I/O calls are based on 32 bit file offsets. Luckily Sun provides the alternate bdiff command, which uses 64 bit offsets. They could have just fixed diff in the first place, but whatever...

9 comments:

Unknown said...

If you Google for idiffh.c, you should find my version of diffh which I use with enormous files. Never tried it on Solaris, but would be interested in hearing if it works.
ian AT cottamgoble.co.uk

Anna Schafer said...

Cloud Platform. A day in the clouds. 02.18.2014Microsoft Enterprise team. Discover the secrets of how Microsoft runs its own cloud platform. Watch Video.
Cloud Microsoft

Elizabeth J. Neal said...

Thanks a lot for sharing us about this update. Hope you will not get tired on making posts as informative as this. Pflegevorsorge

Eliza Beth said...

Love to read it,Waiting For More new Update and I Already Read your Recent Post its Great Thanks. https://diadiktiokaiasfalia.com

Anna Schafer said...

I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. see here

Anna Schafer said...

This is really a nice and informative, containing all information and also has a great impact on the new technology. Thanks for sharing it, this website

Eliza Beth said...

Die Verwaltung eines geschäftlichen Instagram-Kontos ist eine weitere Aufgabe auf Ihrer To-Do-Liste, die bereits mit Meetings, Deadlines und Projekten gefüllt ist. Kurze Zeit, ein großer Fehler, den viele Unternehmen machen, ist der Versuch, Instagram-Follower oder Engagement zu kaufen. Wenn Sie daran denken, Instagram-Follower zu kaufen oder Instagram-Bots zu verwenden, um das Engagement zu erhöhen, tun Sie dies nicht. Instagram Account hacken

Eliaz Beth said...

Danke für deinen Einblick für dein fantastisches Posting. Ich bin froh, dass ich mir die Zeit genommen habe, dies zu sehen. hyazinthe pflege

Eliaz Beth said...

Netter Post. Ich habe diesen Blog ständig überprüft und bin beeindruckt! Äußerst nützliche Infos besonders der letzte Teil Ich interessiere mich sehr für solche Informationen. Ich habe lange nach dieser bestimmten Information gesucht. Danke und viel Glück. Saunen und Bäder in Ihrer Nähe