From owner-freebsd-current Sat May 30 00:11:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA06390 for freebsd-current-outgoing; Sat, 30 May 1998 00:11:44 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from critter.freebsd.dk ([195.8.133.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA06383 for ; Sat, 30 May 1998 00:11:39 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.5) with ESMTP id JAA15538; Sat, 30 May 1998 09:10:12 +0200 (CEST) To: Eivind Eklund cc: "Jordan K. Hubbard" , current@FreeBSD.ORG Subject: Re: I see one major problem with DEVFS... In-reply-to: Your message of "Sat, 30 May 1998 06:55:08 +0200." <19980530065508.30647@follo.net> Date: Sat, 30 May 1998 09:10:11 +0200 Message-ID: <15536.896512211@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19980530065508.30647@follo.net>, Eivind Eklund writes: >On Fri, May 29, 1998 at 08:52:01PM -0700, Jordan K. Hubbard wrote: >> > > E.g. I can shoot my foot off, but I can't sew it back on. :-) >> > >> > Yes, you can. You can mount another devfs and 'mv' a device from it >> > (or at least that's the way the specs read - I don't have devfs >> > enabled right now, so I can't test). >> >> That's utterly rude. :-) >> >> I hope you're not implying that this is going to be the accepted way >> for doing this in the future as well. Non-persistence is a big enough >> violation of POLA as it is, and not even being able to do mknod(2) >> operations on a devfs to replace missing entries would be a POLA >> catastrophe. > >OK, this can be solved in at least these three ways (neither of which >are pretty): The POLA way is: (4) use undelete(2) for what it is intended to do. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message