Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

queue mtime on Solaris 8

I currently have a script which stats the ldm queue to find out if it has
been modified. This script is on a Solaris 7 x86 and sparc boxes and works
great, but when we moved it to a Solaris 8 x86 or sparc box it fails. It
appears the mtime is not updated on writes for mmap'ed files, as it once
was.

Solaris 8 x86 Host stat returns:
mtime = 1045780379 atime = 1045836118 ctime = 1045780379

Solaris 7 x86 Host stat returns:
mtime = 1045836983 atime = 1045836983 ctime = 1045534243

Solaris 8 Sparc Host stat returns:
mtime = 1045699609 atime = 1045802101 ctime = 1045699609

Solaris 7 Sparc Host stat returns:
mtime = 1045836874 atime = 1045836874 ctime = 1045836874

Is this a bug in Solaris 8? I know Linux says atime on a mmaped file may or
may not be updated, but there is nothing like that in the Solaris man pages.

Any help would be greatly appreciated.

Thanks,
Brad Teale
Universal Weather and Aviation, Inc.
mailto:bteale@xxxxxxxxxxxx

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690