Subject: Re: devfs, was Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x
To: Jason Thorpe <thorpej@shagadelic.org>
From: Brett Lymn <blymn@baesystems.com.au>
List: tech-kern
Date: 10/29/2005 21:47:26
On Thu, Oct 27, 2005 at 04:40:53PM -0700, Jason Thorpe wrote:
> 
> What's the point of even mapping it to "sd3"?  Just reference it as "/ 
> dev/sd.wwn.52004567BA64678D" or whatever.
>

Bill has already noted this but it _is_ really really ugly:

/dev/dsk/c4t600508B4000155C40002F00000D30000d0s0 /dev/rdsk/c4t600508B4000155C40002F00000D30000d0s0      /data0 ufs      2       yes     logging
/dev/dsk/c4t600508B4000155C40002F00000D30000d0s1 /dev/rdsk/c4t600508B4000155C40002F00000D30000d0s1      /oracle ufs     2       yes     logging
/dev/dsk/c4t600508B4000155C40002F00000D60000d0s2 /dev/rdsk/c4t600508B4000155C40002F00000D60000d0s2      /dbarchive ufs  3       yes     logging


These are vfstab entries on a sun machine connected to a SAN via
multiple FCAL links, the devices are coalesced using mpxio which turns
them into the above wonderful device names.  Dealing with multiple
drives with this naming scheme makes your eyeballs spin and trying to
get the fsck command line right using the raw device name a trial.


-- 
Brett Lymn