On Sun, 2011-11-13 at 19:50 -0800, Mark Galeck (CW) wrote:
> How do make gurus deal with this problem Paul?

If you want to use sub-second timestamps you must find tools that
support them, and avoid using tools that don't.

> For me, echo foo > xyz does not _always_ set modify timestamp for xyz
> to sub-second resolution.  In some directories, it does, but where I
> care, it does not.  Must be mounted filesystem-dependency.  

Of course.  Setting and storing the mod time on a file is up to the
filesystem.  Some filesystems support timestamps with granularity of 1
second.  Some support finer granularity (sub-second timestamps).  If the
filesystem doesn't support it then there's no way you will ever see it.
You can have (at least on UNIX systems) lots of different filesystem
types mounted on the your system at the same time and they might have
very different timestamp support capabilities.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[email protected]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to