lkml.org 
[lkml]   [1997]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Swap Files
In linux.dev.kernel you write:

>Hi everyone,

>I know (from my own experience with modutils) that people are much more
>reluctant to get a new package via ftp than to look over a patch coming
>from linux-kernel. So here it is. :)

True. Just pressing 's' in nn is easier than fireing up ftp next time you
connect to the ISP :-)

>The patch is against 2.0.28, but likely to go in any reasonably new kernel
>without any troubles (works with 2.1.21, too). It implements a /proc/swap
>entry (similar to /proc/mounts) that lists the partitions and files used
>for swapping.

Looks good:

felix kraxel ~# cat /proc/swap
Filename Type Size
/dev/sdb3 partition 40956
/dos/c/386spart.par file 16384

Could be better justified (ok, just cosmetic), and would be nice to have
a column with swap priority.

> ftp://moisil.wal.rhno.columbia.edu/pub/linux/mount-2.6a1.tar.gz

I'll grab this next time I dial up :-)

Gerd


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.068 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site