From owner-freebsd-arch Tue Jul 25 14:40:48 2000 Delivered-To: freebsd-arch@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id 8612E37B9C8 for ; Tue, 25 Jul 2000 14:40:44 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.3) with ESMTP id XAA14655; Tue, 25 Jul 2000 23:40:30 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Jack Rusher Cc: mjacob@feral.com, freebsd-arch@FreeBSD.ORG Subject: Re: How much do we need the all-singing, all-dancing devfs? In-reply-to: Your message of "Tue, 25 Jul 2000 14:36:21 PDT." <397E0855.CEC23FF@integratus.com> Date: Tue, 25 Jul 2000 23:40:30 +0200 Message-ID: <14653.964561230@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <397E0855.CEC23FF@integratus.com>, Jack Rusher writes: >Poul-Henning Kamp wrote: >> >> # ls /dev/HW* >> # disklabel /dev/HW:BLABLA__2983942394 > /dev/null >> # ls /dev/HW* >> /dev/HW:BLABLA__2983942394 > > What is the suggested interface for listing the available (but not >currently in use) devices? In the normal /dev way of looking at things, >you can get a listing of device names from the directory namespace. >Where does that info live in this scheme? You can still get a listing of the "canonical" names like "/dev/ad0", "/dev/ad0s1c" and so on. It is only "potential names" which are not listed until they have been instantiated. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message