Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!uunet!prcrs!mcvic From: mcvic@prcrs.UUCP (David McVicar) Newsgroups: comp.unix.wizards Subject: When does access date get set on tty device Keywords: access date tty device Message-ID: <1067@prcrs.UUCP> Date: 27 Aug 90 21:55:16 GMT Organization: PRC Realty Systems, McLean, VA Lines: 23 Question: At what point does the st_atime field in the inode get updated when writing to a tty device? 1.) When the read() system call completes? 2.) When the char written is put on the tty output queue? 3.) When the char written is actually sent to the device? 4.) It depends? Problem: We have 300 baud devices that take too long to print reports and our auto-logout daemon detects an old access time and no cpu usage for that tty and terminates the user's processes. Thanks in advance, Dave McVicar -- mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm David J. McVicar ...!uunet!prcrs!mcvic PRC Realty Systems McLean, VA 22102