From owner-freebsd-current Sat May 6 12:54: 4 2000 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 40BC637B7DB; Sat, 6 May 2000 12:53:54 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id FAA03211; Sun, 7 May 2000 05:53:43 +1000 Date: Sun, 7 May 2000 05:53:41 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Maxim Sobolev Cc: current@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: Small MAKEDEV bug In-Reply-To: <3913D862.960037A1@altavista.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 6 May 2000, Maxim Sobolev wrote: > I've just noticed that "sh MAKEDEV acd1" doesn't produce node for acd1 due to > incorrect comparasion in the "while" loop. This affecting both 4.0-STABLE and > 5.0-CURRENT. With this message I'm attaching short patch which should solve > this little problem. This is the intended behaviour. "sh MAKEDEV acdN" is supposed to create N acd devices, numbered from 0 to N-1. This broken behaviour was introduced for cd*, mcd* and scd* in rev.1.171. It has since spread to acd*. Other types of disks are handled correctly. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message