On 20-Apr-2008, Jan Christoph Nordholz wrote:
> no, that observation wasn't even related to screen - I made it when
> experimenting manually with two bash instances and a fifo.

Further investigation shows this is defined behaviour for Unix (and 
correctly implemented in Linux).

    Upon successful completion, [...] write() shall mark for update 
    the st_ctime and st_mtime fields of the file, [...]

    <URL:http://www.opengroup.org/onlinepubs/009695399/functions/write.html>

The 'ctime' field is not, as I had previously thought, the "creation 
time", but rather the "time of last status change" (as opposed to 
'mtime', the "time of last data modification") 
<URL:http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/stat.h.html>.


So it seem that there is currently no useful file-status time field to 
order by for the session FIFOs. Should one be created as an attribute 
of screen's session data?

-- 
 \       "The right to use [strong cryptography] is the right to speak |
  `\                                          Navajo."  -- Eben Moglen |
_o__)                                                                  |
Ben Finney <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to