From owner-freebsd-hackers Mon Dec 1 00:39:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA20418 for hackers-outgoing; Mon, 1 Dec 1997 00:39:49 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA20411 for ; Mon, 1 Dec 1997 00:39:47 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id AAA27373; Mon, 1 Dec 1997 00:36:34 -0800 (PST) Received: from UNKNOWN(), claiming to be "current1.whistle.com" via SMTP by alpo.whistle.com, id smtpd027367; Mon Dec 1 00:36:27 1997 Date: Mon, 1 Dec 1997 00:34:09 -0800 (PST) From: Julian Elischer To: Archie Cobbs cc: tlambert@primenet.com, dk+@ua.net, proff@iq.org, freebsd-hackers@freebsd.org Subject: Re: detecting devfs from userland? In-Reply-To: <199712010633.WAA15641@bubba.whistle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 >