2011/7/31 Kostik Belousov :
> Below is the hopefully final patch after Bruce Evans' comments incorporated.
> If nobody speaks, I will send this to re tomorrow.
I notice it's been committed already, and tested latest HEAD. It's
working fine, thank yo
pdated your patch, hopefully fixing the issues. Do you have comments
> or objections ?
No. Thanks for fixing those problems.
--
Robert Millan
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulatio
ction that returns swap information by index.
Here's a patch with the changes you requested.
--
Robert Millan
--- a/sys/compat/linprocfs/linprocfs.c
+++ b/sys/compat/linprocfs/linprocfs.c
@@ -502,6 +502,32 @@
return (0);
}
+static int
+linprocfs_doswaps(PFS_FILL_ARGS)
+{
+ struct xswdev xsw
Please consider this patch, it implements Linux-like /proc/swaps for linprocfs.
E.g.
$ cat /proc/swaps
FilenameTypeSizeUsedPriority
/dev/zvol/dimoni/swap unknown 2097152 0 -1
--
Robert Millan
--- a/sys/compat