From owner-freebsd-arch Sat Jan 2 09:17:34 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA04223 for freebsd-arch-outgoing; Sat, 2 Jan 1999 09:17:34 -0800 (PST) (envelope-from owner-freebsd-arch@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA04218 for ; Sat, 2 Jan 1999 09:17:32 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id SAA23676 for ; Sat, 2 Jan 1999 18:17:06 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id SAA95276 for freebsd-arch@freebsd.org; Sat, 2 Jan 1999 18:17:05 +0100 (MET) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA09958 for ; Fri, 1 Jan 1999 21:12:03 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id WAA11937; Fri, 1 Jan 1999 22:11:36 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id WAA15502; Fri, 1 Jan 1999 22:11:36 -0700 Date: Fri, 1 Jan 1999 22:11:36 -0700 Message-Id: <199901020511.WAA15502@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-To: Mike Smith X-Cc: Nate Williams , Warner Losh , freebsd-arch@FreeBSD.ORG Subject: Re: DEVFS, the time has come... In-Reply-To: <199901020455.UAA01211@dingo.cdrom.com> References: <199901020438.VAA15410@mt.sri.com> <199901020455.UAA01211@dingo.cdrom.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid To: undisclosed-recipients:; Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > To counter Joerg's 'not bothered by non-persistent DEVFS', I'd have to > > say that my experience with Solaris has been less than enthusiastic. > > Note, it only dealt with one device (the tape drive), but it was a pain > > in the butt. > > > > I setup the machine so that 'normal users' could do their own backups to > > the tape drive, but the default permissions would not allow this to > > work, so I had to 'chmod' the device special node. The combination of > > the Solaris init implementation (where do I stick the chmod call in the > > mess of init files?), the fact that the tape drive was 'mobile' (it > > moved to a PC for backups on occasion), and the fact that I couldn't > > make the mods persistent w/out a lot of work. > > > > Yes, it could be done, but it was a huge pain in the backside to get it > > to work 100%, and it shouldn't be that much work IMO. > > This sounds more like you were bitten by the lack of easily-adapted > support infrastructure than that the basic concept is flawed, > especially as the case you offer as support is one that would be a > non-issue with our infrastructure. What infrastructure? Nothing exists at this point in FreeBSD to do this 'easily'. There is lots of hand-waving, but nobody has even agreed on *what* form a persistence mechanism would take, other than those who argue 'we really don't need it'. :( We've got boot rc.* scripts (which I hope Warner has pointed out is insufficient), and the infamous 'daemon', which IMO would be difficult to customize easily, and then Mike's 'white-out FS' design, which sounds good on paper and is similiar in scope to what was dicussed a long time ago with some sort of 'union mount' over top of DEVFS. I'd like to see something of substance *implemented* before we agree to go with DEVFS. There are still also outstanding issues of *how* a device node shows up in the first place. We still have the chicken/egg problems of whether or not to create device nodes for *every* conceivable disk device for a particular disk (wd0, wd0a, wd0s1a, wd0s2a, etc...), which SLICE was supposed to help with. This issue is somewhat orthogonal to persistence, but in some ways could make things easier, in that once it was determined *which* devices were needed the rest could be 'cleaned' out of the /dev directory. Of course, we'd still need a way to 're-surrect' some of the nodes if the configuration changed. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message