From owner-freebsd-current Sun May 31 03:08:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA02224 for freebsd-current-outgoing; Sun, 31 May 1998 03:08:35 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp03.primenet.com (daemon@smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA02219 for ; Sun, 31 May 1998 03:08:34 -0700 (PDT) (envelope-from tlambert@usr04.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id DAA19970; Sun, 31 May 1998 03:08:29 -0700 (MST) Received: from usr04.primenet.com(206.165.6.204) via SMTP by smtp03.primenet.com, id smtpd019946; Sun May 31 03:08:22 1998 Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id DAA20780; Sun, 31 May 1998 03:08:18 -0700 (MST) From: Terry Lambert Message-Id: <199805311008.DAA20780@usr04.primenet.com> Subject: Re: I see one major problem with DEVFS... To: michaelh@cet.co.jp (Michael Hancock) Date: Sun, 31 May 1998 10:08:18 +0000 (GMT) Cc: phk@critter.freebsd.dk, jkh@time.cdrom.com, mike@smith.net.au, eivind@yes.no, current@FreeBSD.ORG In-Reply-To: from "Michael Hancock" at May 31, 98 08:14:10 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Devfs is synthetic and maybe we shouldn't even allow removes in the > > first place but a whiteout/undelete solution is the "POLA" choice. > > > > Alternatively devfs could allow mknod, but ignore the major/minor > > numbers given and just "DTRT", that would work also after we have > > killed dev_t. > > I agree with either of these options. The whiteout solution would mean a > lot of hacking on a devfs_lookup(). The use of whiteout is best implemented in the lookup code. This is why the directory name lookup cache should be in the namei code instead of in the underlying code. This implies a "non-cacheable" bit on a per FS basis. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message