Date: Mon, 27 Jan 2003 09:03:49 +0200 From: Giorgos Keramidas <keramida@freebsd.org> To: freebsd-current@freebsd.org Cc: phk@freebsd.org Subject: mdconfig -l broken after /sys/dev/md/md.c rev 1.77 Message-ID: <20030127070349.GA590@gothmog.gr>
next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030127070349.GA590>
