Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2000 23:40:30 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Jack Rusher <jar@integratus.com>
Cc:        mjacob@feral.com, freebsd-arch@FreeBSD.ORG
Subject:   Re: How much do we need the all-singing, all-dancing devfs? 
Message-ID:  <14653.964561230@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 25 Jul 2000 14:36:21 PDT." <397E0855.CEC23FF@integratus.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14653.964561230>