From owner-freebsd-arch Fri Jul 28 3:29:53 2000 Delivered-To: freebsd-arch@freebsd.org Received: from ywing.creative.net.au (ywing.creative.net.au [203.56.168.34]) by hub.freebsd.org (Postfix) with ESMTP id 975D537B9B3 for ; Fri, 28 Jul 2000 03:29:47 -0700 (PDT) (envelope-from adrian@ywing.creative.net.au) Received: (from adrian@localhost) by ywing.creative.net.au (8.9.3/8.9.3) id MAA76387 for freebsd-arch@freebsd.org; Fri, 28 Jul 2000 12:37:31 +0200 (CEST) (envelope-from adrian) Date: Fri, 28 Jul 2000 12:37:30 +0200 From: Adrian Chadd To: freebsd-arch@freebsd.org Subject: Re: How much do we need the all-singing, all-dancing devfs? Message-ID: <20000728123730.C71137@ywing.creative.net.au> References: <20000727094015.B71137@ywing.creative.net.au> <20000728110827.A3470@freebie.demon.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000728110827.A3470@freebie.demon.nl>; from wkb@freebie.demon.nl on Fri, Jul 28, 2000 at 11:08:27AM +0200 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jul 28, 2000, Wilko Bulte wrote: > On Thu, Jul 27, 2000 at 06:47:13PM -0700, Matthew Jacob wrote: > > > > > Matt - if I understand your initial idea right, all you wanted was a way > > > to map a fibrechannel disk label to a name in a devfs, so that when the > > > underlying device shifted 'address', you would still be able to reference > > > it without difficulty? Was there anything else ? > > > > No- I want to map a *device*- I don't *particularly* care what it's name is > > (the thing put in /etc/fstab or handed to 'mt')- but I do not necessarily want > > to have to write to it (for a label) to address it. I can guarantee that the > > After all this is not NT ('it is harmless to write a signature'). > > > address won't shift while the system is running. > > Can you? Assuming a LIP on a FC-AL that is setup for soft addressing and > where devices come/go. > > > The other aspect of this is that these are unique names. This makes High > > Availability device management a *snap*. It's WWNXXXXX on all systems on the > > same fabric. > > Yep.. and that is what you really want. So why not just call make_dev with the wwnXXXXXX as the device name ? (Assuming that the device nodes exist in /dev, I don't see this as being a problem even now, and if you wanted to you could make a script to query the FC controllers in your system and create devices in /dev/ (or /dev/dsk/, /dev/fc/, whatever you wanted ..) Adrian -- Adrian Chadd Now 17-year-olds can't play a _video game_ because its called violent - and real violence is still called dinner. -- jamie@mccarthy.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message