This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] implement /proc/swaps
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Sun, 10 Apr 2011 22:02:53 -0400
- Subject: Re: [PATCH] implement /proc/swaps
- References: <1302487196.4944.9.camel@YAAKOV04>
- Reply-to: cygwin-patches at cygwin dot com
On Sun, Apr 10, 2011 at 08:59:56PM -0500, Yaakov (Cygwin/X) wrote:
>This patch implements /proc/swaps, as found on Linux[1]:
>
>$ cat /proc/swaps
>Filename Type Size Used Priority
>/cygdrive/c/pagefile.sys file 4192440 16376 0
>/cygdrive/d/pagefile.sys file 4192440 14208 0
>
>(The first line is tab-delineated, the following lines use spaces.)
>
>If there is no paging file on the system (a legal but discouraged
>configuration), then only the header line is displayed.
>
>According to Microsoft[2], there's no simple way to set or determine
>which paging file will be used at any given time. Therefore I list all
>paging files with priority 0.
>
>Patches for winsup/cygwin and winsup/doc attached.
Looks reasonable. Please check in.
Thanks!
cgf