mdconfig -l stopped working in -current after revision 1.76 of md.c.

I just reverted src/sys/dev/md/md.c to revision 1.76 and removed
M_WAITOK to let me build a kernel with that version of md.c.  Now
mdconfig correctly lists the open md devices.

I'm not sure if I understand how disks work, but it seems that
mdconfig -l uses kern.disks to list the currently configured md
devices.  kern.disks seems to depend on disk_create() being called,
and the current version of md.c doesn't call disk_create() when GEOM
is enabled.

I'm afraid I don't know how to fix this, but I hope someone more
acquainted with kernel code and disks in general can do it(?)

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to