Subject: Getting block size for swap devices and files
To: None <tech-kern@netbsd.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: tech-kern
Date: 03/26/2002 14:51:16
Hi
In order to correctly emulate IRIX swapctl, I need to get the block size
for swap objects.
On my system, the value seems to always be 512, but I don't beleive this
is really constant. Is it?
The value is available from struct swapdev, but it seems that this
structure is private to uvm_swap.c. Hence I need another way of finding
it. How can I do this?=20
--=20
Emmanuel Dreyfus. manu@netbsd.org
X Window, c'est un millefeuille avec une couche de cr=E8me patissi=E8re, un=
e
de ketchup, et une d'anchois. Faut aimer. Mais c'est vrai que c'est un=20
systeme ouvert: on peut ajouter des pepites de chocolat et des c=E2pres