Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

critical impact:

sync2 - not available; use sync (CrUn175)

KN Impacts

Problem description

The sync2 function exists on Tru64 UNIX, but not on HP-UX.

The sync2 function flushes file system metadata and data from memory buffers to disk.

The sync2 function implements smooth sync, a concept that has no equivalent on HP-UX. Smooth sync was implemented to deal with databases overloading the I/O subsystem when they call sync.


C/C++ Functionssync2            

See also

Solution description

Use the sync function to achieve similar results.

Currently on HP-UX, databases are run without the sync2 syscall. Note that sync may not behave exactly the same as sync2. Review your code and applicable manpages for more information about sync.

See also

Problem summary

classifications source types OS release severity type
KN C, C++ any HP-UX 11i version critical unavailable
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.