cvs commit: src/sys/sys conf.h src/sys/kern kern_device.c vfs_vnops.c

Matthew Dillon dillon at
Mon Feb 21 10:56:19 PST 2005

dillon      2005/02/21 10:56:05 PST

DragonFly src repository

  Modified files:
    sys/sys              conf.h 
    sys/kern             kern_device.c vfs_vnops.c 
  Track the last read and last write timestamp at the device level and modify
  the stat code to retrieve the information.  This is so devices such as ttys
  report the correct access/modified time for the 'w' and related utilities.
  NOTE: the inode still needs to be updated at CLOSE time to record the last
  accessed and modified times persistently, and this is not yet occuring.
  This is necessary because device read/write now bypasses the filesystem VOP
  Revision  Changes    Path
  1.9       +3 -0      src/sys/sys/conf.h
  1.14      +6 -1      src/sys/kern/kern_device.c
  1.29      +19 -0     src/sys/kern/vfs_vnops.c

More information about the Commits mailing list