Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 1998 09:10:11 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Eivind Eklund <eivind@yes.no>
Cc:        "Jordan K. Hubbard" <jkh@time.cdrom.com>, current@FreeBSD.ORG
Subject:   Re: I see one major problem with DEVFS... 
Message-ID:  <15536.896512211@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 30 May 1998 06:55:08 %2B0200." <19980530065508.30647@follo.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15536.896512211>