From owner-freebsd-questions Mon Jan 2 19:51:25 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id TAA09475 for questions-outgoing; Mon, 2 Jan 1995 19:51:25 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id TAA09469; Mon, 2 Jan 1995 19:51:17 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id OAA25660; Tue, 3 Jan 1995 14:48:20 +1100 Date: Tue, 3 Jan 1995 14:48:20 +1100 From: Bruce Evans Message-Id: <199501030348.OAA25660@godzilla.zeta.org.au> To: bde@zeta.org.au, terry@cs.weber.edu Subject: Re: Why does ls report wrong creation date on symlinks? Cc: crtb@upcoming.dcrt.nih.gov, freebsd-bugs@freebsd.org, freebsd-questions@freebsd.org Sender: questions-owner@freebsd.org Precedence: bulk >> >POSIX leaves a loophole, allowing read-only media to ignore the >> >update requirements -- so you can be technically compliant if you >> >mount the disk read-only. Very useful. 8-). >> >> Pretending that directories were modified at the current time breaks >> even this :-). >Actually, no it doesn't. >POSIX doesn't require the information be accurate. >POSIX only required that the information be updated in certain >circumstances. 2.3.5 ... "Updates are not done on files on read only file systems." Do you think this is badly worded enough to be optional? (It should say "shall not be done".) Do you think file times are allowed to changed if they haven't been updated? I couldn't find anything saying that. I wouldn't want to use an implementation that changed them. >Directories, on the other hand, do not even need to be considered as files >at all... the update semantics are based on the opendir/readdir. The They do for creat() etc. Bruce