From owner-freebsd-hackers Mon Dec 1 00:27:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA19450 for hackers-outgoing; Mon, 1 Dec 1997 00:27:02 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA19439 for ; Mon, 1 Dec 1997 00:26:58 -0800 (PST) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id BAA09743; Mon, 1 Dec 1997 01:32:19 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp03.primenet.com, id smtpd009734; Mon Dec 1 01:32:17 1997 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id BAA04800; Mon, 1 Dec 1997 01:26:22 -0700 (MST) From: Terry Lambert Message-Id: <199712010826.BAA04800@usr07.primenet.com> Subject: Re: detecting devfs from userland? To: julian@whistle.com (Julian Elischer) Date: Mon, 1 Dec 1997 08:26:21 +0000 (GMT) Cc: tlambert@primenet.com, dk+@ua.net, proff@iq.org, freebsd-hackers@freebsd.org In-Reply-To: from "Julian Elischer" at Nov 30, 97 09:14:18 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > The ino for the root directory (.) in any FS should be 2. This is > > part and parcel of making the backup/restore utilities work. > > 4034972160 dr-xr-xr-x 4 root wheel 3283 Nov 30 20:52 /dev/. > 2 drwxr-xr-x 19 root wheel 1024 Nov 27 00:07 /dev/.. > > now, for 16 points (and the car), can you tell me why I'd want to run > dump/restore on a devfs? There's no good reason. But there's also no good reason for not making "." be 2, and not having a 1, just in case someone tries it... > > 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 Don't you mean /dec/foobar3a? I think it's just as cryptic... you're just biased by what you are used to seeing... take your average user (which means your average Windows user) and it's just as cryptic either way. > > > If objection 1 violates POLS, then solution (A) REALLY violates it, > > > though if we were designing a new OS that's what I would do. > > > (it's easy to do) > > > > I don't think your "if" is true, so your "then" isn't true, either. > > heh! > I'll show it to you tomorrow.. OK... 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.