I think at the filesystem level itself the least-count is 1 second ... because if you look into "struct inode" , the variables for atime, mtime and ctime are all four bytes each. Hence it seems that the functions being used to get these time values are either same or similar to the <time.h> functions which return the number of seconds elapsed since epoch. Maybe then the least-count of one second is by design and there is no workaround for that. also then it seems that the aix behaviour that I have mentioned is some smart trick.
ashwani > -----Original Message----- > From: Rohit [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 22, 2001 01:47 PM > To: Ashwani Sharma (Intl Vendor) > Subject: Re: [LIH] Timestamp query > > > On Mon, 22 Oct 2001, Ashwani Sharma (Intl Vendor) wrote: > #Is there a way to have timestamp resolution to less than one second > > I have also wondered about the same. Is that timestamp that > we are shown is the timestamp that is stored in the > filesystem? Or is the least-count on the filesystem level > much smaller than 1 s ? > > -- > - Rohit > (692)2108 Floor-III Chand > --------------------------------------------------------------------- > Your conscience never stops you from doing anything. It just > stops you from enjoying it. > --------------------------------------------------------------------- > > ********************************************************* > Disclaimer > > This message (including any attachments) contains > confidential information intended for a specific > individual and purpose, and is protected by law. > If you are not the intended recipient, you should > delete this message and are hereby notified that > any disclosure, copying, or distribution of this > message, or the taking of any action based on it, > is strictly prohibited. > > ********************************************************* > Visit us at http://www.mahindrabt.com > _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
