Date: Sat, 28 Apr 2007 16:34:44 +0200 From: Pieter de Goeje <pieter@degoeje.nl> To: freebsd-stable@freebsd.org Cc: Miroslav Lachman <000.fbsd@quip.cz> Subject: Re: bug in mdconfig -l (does not list all devices) Message-ID: <200704281634.44839.pieter@degoeje.nl> In-Reply-To: <46335555.7090704@quip.cz> References: <46335555.7090704@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 28 April 2007, Miroslav Lachman wrote: > Is it a bug or is it a desired feature, that mdconfig -l doesn't list > all devices, but only last 95 devices? > > root@grimm2 ~/# mdconfig -l > md545 md546 md547 md548 md549 md550 md551 md552 md553 md554 md555 md556 > md557 md558 md559 md560 md561 md562 md563 md564 md565 md566 md567 md568 > md569 md570 md571 md572 md573 md574 md575 md576 md577 md578 md579 md580 > md581 md582 md583 md584 md585 md586 md587 md588 md589 md590 md591 md592 > md593 md594 md595 md596 md597 md598 md599 md600 md601 md602 md603 md604 > md605 md606 md607 md608 md609 md610 md611 md612 md613 md614 md615 md616 > md617 md618 md619 md620 md621 md622 md623 md624 md625 md626 md627 md628 > md629 md630 md631 md632 md633 md634 md635 md636 md637 md638 md639 > > There are 640 devices, but only 95 shown in the list. > > root@grimm2 ~/# ls /dev/md*[^a-z] | wc -l > 640 > > So following code doesn't work as I expect > > for device in `mdconfig -l` > do > echo "destroying $device" > mdconfig -d -u $device > done > > > FreeBSD 6.2-RELEASE-p2 #0: Tue Feb 27 22:41:06 UTC 2007 > root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > > Can somebody test it on STABLE / CURRENT? It works correctly on current but fails on stable. > > > Miroslav Lachman Cheers, Pieter de Goeje
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704281634.44839.pieter>