Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 1997 22:33:21 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        julian@whistle.com (Julian Elischer)
Cc:        tlambert@primenet.com, dk+@ua.net, proff@iq.org, freebsd-hackers@freebsd.org
Subject:   Re: detecting devfs from userland?
Message-ID:  <199712010633.WAA15641@bubba.whistle.com>
In-Reply-To: <Pine.BSF.3.95.971130210818.10375B-100000@current1.whistle.com> from Julian Elischer at "Nov 30, 97 09:14:18 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

> > > > The devices themselves, especially in the new SLICE stuff that
> > > > he's done, should be self-referrential.  I'm still trying to
> > > > talk him into putting them in a hierarchy (with little success...
> > > > you SVR4 device name traditionalists can rest easy: you still get
> > > > you have your long cryptic device names for now...).
> > > 
> > > A hierarchy is good but has the following problems
> > > 
> > > 1/ violates "Principle of least surprise" (POLS) 
> > 
> > I disagree (big surprise ;-)).  I think /dev/sd1c1d2t0 violates the
> > principle...  At least with a hierarchy, you get a hierarchy in /dev
> > that matches the hierarchy on disk.  Better to have a valid map with
> > a "you are here.." than an invalid map, IMO...
> 
> I think people expect to find their disk listed as: /dev/foobar3
> not as /dev/disk/scsi3/unit3/lun2/partion4

What's wrong with having both? That is, let /dev/sd0s1 be a symlink
to /dev/sd0/slice1. Symlinks could also help the sd0a -> sd0s1a problem.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



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