Date: Thu, 6 Aug 1998 00:08:48 -0400 (EDT) From: Luoqi Chen <luoqi@watermarkgroup.com> To: current@FreeBSD.ORG, kong@kong.spb.ru Subject: Re: Still having big problems with 'w' Message-ID: <199808060408.AAA08507@lor.watermarkgroup.com>
next in thread | raw e-mail | index | archive | help
You must be using DEVFS. I had the same problem. Try the following patch, it's a little simplistic, but it stopped my girlfriend from complaining that I was trying to hide something from her :( -lq Index: devfs_vnops.c =================================================================== RCS file: /fun/cvs/src/sys/miscfs/devfs/devfs_vnops.c,v retrieving revision 1.58 diff -u -r1.58 devfs_vnops.c --- devfs_vnops.c 1998/07/30 17:40:44 1.58 +++ devfs_vnops.c 1998/08/04 14:26:37 @@ -1403,6 +1403,8 @@ if (uio->uio_resid == 0) return (0); + getnanotime(&(dnp->atime)); + switch (vp->v_type) { case VCHR: @@ -1495,6 +1497,8 @@ if (uio->uio_segflg == UIO_USERSPACE && uio->uio_procp != curproc) panic("devfs_write proc"); #endif + + getnanotime(&(dnp->mtime)); switch (vp->v_type) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808060408.AAA08507>