Hi Ken, > $ ls -l /proc/cygdrive/c/pagefile.sys/ > ls: cannot open directory '/proc/cygdrive/c/pagefile.sys/': Not a directory > > $ ls -ld /proc/cygdrive/c/pagefile.sys/ > drwxr-x--- 17664 Unknown+User Unknown+Group 0 1600-12-31 19:11 > /proc/cygdrive/c/pagefile.sys// > > Notice that the file is reported as a directory when 'ls -ld' is used, > and it has a timestamp way in the past.
This seems to be a fairly recent change in Cygwin. > I wonder if > get_boot_time should simply bail out on Cygwin and always give a boot > time of 0. Or do you have a better idea? I've forwarded the question to the cygwin mailing list [1]. Let's see what they say. Bruno [1] https://cygwin.com/pipermail/cygwin/2024-May/255931.html