From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17078 invoked from network); 2 Feb 2000 16:52:07 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 Feb 2000 16:52:07 -0000 Received: (qmail 20922 invoked by alias); 2 Feb 2000 16:51:59 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9535 Received: (qmail 20909 invoked from network); 2 Feb 2000 16:51:58 -0000 Date: Wed, 2 Feb 2000 10:51:04 -0600 From: Dan Nelson To: Tanaka Akira Cc: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: prompt escape tests Message-ID: <20000202105104.D31919@dan.emsphone.com> References: <200002020834.JAA09905@beta.informatik.hu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from "Tanaka Akira" on Thu Feb 3 01:21:38 GMT 2000 X-OS: FreeBSD 4.0-CURRENT In the last episode (Feb 03), Tanaka Akira said: > In article <200002020834.JAA09905@beta.informatik.hu-berlin.de>, > Sven Wischnowsky writes: > > > I wanted to mention that again anyway... A collegue noticed this > > for some newer Solaris version, too: nowadays some systems don't > > update the atime inode field anymore when a file is read, which > > makes the -N condition test fail. > > This problem is not Solaris specific and can be reproduced on Linux. > I think it is caused by NFS. I think it's a POSIX requirement that atime must be updated. Lots of unixes do let let you disable atime updates though (usually by mount -o noatime). It's useful for news servers or FTP archives that do a lot of reading and don't really care about the atime field. I looked on my Solaris 2.6 box and there doesn't seem to be a way to disable atime updates. 7 or 8 might very well be able to, though. -- Dan Nelson dnelson@emsphone.com