> > > Still, adding support for the flag would not only > provide a cleaner and > > more generic way to achieve the objective, it would > increase portability > > of backup or "desktop" file indexing code written > for Linux, which would > > IMO probably be good provided doing so isn't ugly. > > Speaking of compatibility, what do other Unix-like > systems do for this > case?
For HP/UX, there's an fcntl() operation F_SETTIMES (see http://docs.hp.com/en/B2355-91021/B2355-91021.pdf and search within it) but it doesn't commit to restoring ctime (although it requires superuser privs). Not clear whether that's their solution or not. Haven't thought of a good search strategy for say AIX or the *BSDs (google's BSD search didn't help me much 'cause that still contains a bunch of Linux related material). This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
