This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] implement /proc/swaps


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]