fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

How to enable last-accessed timestamp in DosFs? - VxWorks

This is a discussion on How to enable last-accessed timestamp in DosFs? - VxWorks ; The only documentation about enabling these timestamps refers to HRFS, while we use DosFs (VxWorks6.5)....


Fix Unix > Other OS > VxWorks > How to enable last-accessed timestamp in DosFs?

Reply
 
LinkBack Tools
  #1  
Old 06-29-2008, 03:18 PM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default How to enable last-accessed timestamp in DosFs?

The only documentation about enabling these timestamps refers to HRFS,
while we use DosFs (VxWorks6.5).
Reply With Quote
  #2  
Old 07-02-2008, 01:24 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: How to enable last-accessed timestamp in DosFs?

On Jun 29, 11:18*am, Lilia wrote:
> The only documentation about enabling these timestamps refers to HRFS,
> while we use DosFs (VxWorks6.5).


First of all, the resolution of the access timestamp is different for
both DosFS and HRFS. According to the DosFS specs, the resolution for
the access timestamp is the day--it is pretty coarse. The HRFS
resolution is much finer--a second or a millisecond; I can't remember
which. That being said ...

ioctl (fd, FIOTIMESET, struct utimbuf * pUtimBuf) -- this may update
an individual file's timestamps

Or more generally, use the dosFsLastAccessDateEnable() routine. You
will need the dosfs volume descriptor ID. To get that, save the
return value from ...
dosFsVolDescGet (, NULL)

pcm
Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How to set only last accessed timestamp unix Samba 0 10-08-2007 05:59 AM
Re: How to set only last accessed timestamp unix Samba 0 10-08-2007 05:59 AM
How to set only last accessed timestamp unix Samba 0 10-08-2007 05:59 AM
Inconsistency in Last Accessed timestamp unix Programmer 0 10-04-2007 06:11 PM
DosFs unix VxWorks 1 10-02-2007 08:42 AM


All times are GMT. The time now is 08:34 AM.