Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2000 12:37:30 +0200
From:      Adrian Chadd <adrian@freebsd.org>
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>
In-Reply-To: <20000728110827.A3470@freebie.demon.nl>; from wkb@freebie.demon.nl on Fri, Jul 28, 2000 at 11:08:27AM %2B0200
References:  <20000727094015.B71137@ywing.creative.net.au> <Pine.BSF.4.10.10007271844460.59725-100000@beppo.feral.com> <20000728110827.A3470@freebie.demon.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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_
<adrian@FreeBSD.org>		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




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