From: Thomas Wolff <towo@towo.net>
To: cygwin@cygwin.com
Subject: Re: pagefile.sys is reported as being a directory
Date: Fri, 3 May 2024 02:23:50 +0200 [thread overview]
Message-ID: <bb3df961-ef83-49a2-9152-69575a3e09aa@towo.net> (raw)
In-Reply-To: <5705116.uoxibFcf9D@nimes>
Am 03.05.2024 um 01:40 schrieb Bruno Haible via Cygwin:
> Hi,
>
> Ken Brown noticed this: pagefile.sys and swapfile.sys are being
> reported by Cygwin 3.5.3 as being directories.
>
> Cygwin 3.5.3 on Windows 10:
>
> $ ls -ld /proc/cygdrive/c/pagefile.*
> drwxr-x--- 17664 Unknown+User Unknown+Group 0 Jan 1 1601 /proc/cygdrive/c/pagefile.sys
> $ ls -ld /proc/cygdrive/c/swapfile.*
> drwxr-x--- 17664 Unknown+User Unknown+Group 0 Jan 1 1601 /proc/cygdrive/c/swapfile.sys
>
> In Cygwin 2.9.0 and 3.4.6 (also on Windows 10) it was reported as a regular file:
Also still worked in 3.5.1.
> $ ls -ld /proc/cygdrive/c/pagefile.*
> -rw-r----- 1 Unknown+User Unknown+Group 671088640 May 3 01:25 /proc/cygdrive/c/pagefile.sys
> $ ls -ld /proc/cygdrive/c/swapfile.*
> -rw-r----- 1 Unknown+User Unknown+Group 268435456 May 3 01:25 /proc/cygdrive/c/swapfile.sys
>
> Gnulib is interested in the modification time of this file.
>
> Do you agree that it's a bug?
>
> Do you have a workaround? In Gnulib we wish to have a way to access this file,
> that works on all versions of Cygwin.
>
> Bruno
>
>
>
>
next prev parent reply other threads:[~2024-05-03 0:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-02 23:40 Bruno Haible
2024-05-03 0:23 ` Thomas Wolff [this message]
2024-05-03 16:11 ` Ken Brown
2024-05-03 19:31 ` Bruno Haible
2024-05-03 19:36 ` Ken Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bb3df961-ef83-49a2-9152-69575a3e09aa@towo.net \
--to=towo@towo.net \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).