From owner-freebsd-current Fri Dec 31 21:40:51 1999 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 12B3314EDD; Fri, 31 Dec 1999 21:40:37 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (beefcake.zeta.org.au [203.26.10.12]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id QAA19334; Sat, 1 Jan 2000 16:40:07 +1100 Date: Sat, 1 Jan 2000 16:39:46 +1100 (EST) From: Bruce Evans X-Sender: bde@alphplex.bde.org To: "Jeroen C. van Gelderen" Cc: Chuck Robey , Brian Fundakowski Feldman , FreeBSD-current@FreeBSD.ORG Subject: Re: multiple cd devices In-Reply-To: <386D24C0.118C1980@vangelderen.org> 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 Fri, 31 Dec 1999, Jeroen C. van Gelderen wrote: > What about having > ./MAKEDEV cd0 cd1 cd4 -da2 da6-da9 > create cd0, cd1, cd4, da1, da2, da6, da7, da8, da9 ? This would be It's not the unix way. What's wrong with using standard utilities? sh MAKEDEV cd0 cd1 cd4 $(jot -w da 2) $(jot -w da 4 6) (`jot -w da 2' is bug for bug compatible with your expanded list because the default `begin' arg is 1, but disk numbers begin with 0, so -da2 should probably mean da0 da1 da2.) I can never remember syntaxes for rarely used commands like jot and MAKEDEV, so I would just type all the names if there are a small number of units, or use a shell loop for a large number of units. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message