[EMAIL PROTECTED] wrote:
Hmm, since this happens during boot, you cannot set the debug flag
with sysctl in time, so you have to compile a custom kernel for it:
in sys/geom/geom_kern.c change:
int g_debugflags;
to
int g_debugflags = G_T_ACCESS;
and recompile + reboot.
This will make GEOM printf all "access" (ie: open/close) changes and
you should hopefully be able to deduce where the open of your MO comes
from.
If this is not enough, you can try to set
int g_debugflags = G_T_ACCESS | G_T_TOPOLOGY;
But that will result in much more debugging output.
You can turn this debugging off from userland with:
sysctl kern.geom.debugflags=0
Why not make it a loader tunable?
--
Daniel C. Sobral (8-DCS)
Gerencia de Operacoes
Divisao de Comunicacao de Dados
Coordenacao de Seguranca
TCO
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Outros:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Art is anything you can get away with.
-- Marshall McLuhan.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message