看板 DFBSD_commit 關於我們 聯絡資訊
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 Log: 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 code. 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 http://www.dragonflybsd.org/cvsweb/src/sys/sys/conf.h.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_device.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_vnops.c.diff?r1=1.28&r2=1.29&f=u