Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 1997 00:34:09 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        Archie Cobbs <archie@whistle.com>
Cc:        tlambert@primenet.com, dk+@ua.net, proff@iq.org, freebsd-hackers@freebsd.org
Subject:   Re: detecting devfs from userland?
Message-ID:  <Pine.BSF.3.95.971201002926.10529B-100000@current1.whistle.com>
In-Reply-To: <199712010633.WAA15641@bubba.whistle.com>

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


On Sun, 30 Nov 1997, Archie Cobbs wrote:

> 
> > 
> > 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.

but sd0a is a different thing to sd0s1a..
sd0a has a specific meaning..
it's shorthand for:
sd0/partitonA
where sd0s1a is shorthand for;
sd0/slice1/partitionA
they imply something.

it's not that it is impossible, but that it breaks all the layering.
you need to reach out of your layer to decide if you need to make the
symlink.
and you need to know things that your layer doesn't otherwise need to know
about the insides of another layer.

> 
> -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?Pine.BSF.3.95.971201002926.10529B-100000>