From owner-cvs-all@FreeBSD.ORG Mon Sep 27 21:35:58 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1325E16A4CE; Mon, 27 Sep 2004 21:35:58 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BADB43D1F; Mon, 27 Sep 2004 21:35:57 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 0C6157A403; Mon, 27 Sep 2004 14:35:57 -0700 (PDT) Message-ID: <415887BC.1080702@elischer.org> Date: Mon, 27 Sep 2004 14:35:56 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Alfred Perlstein References: <200409272038.i8RKckod020697@repoman.freebsd.org> <20040927211225.GB11948@elvis.mu.org> In-Reply-To: <20040927211225.GB11948@elvis.mu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Poul-Henning Kamp cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/gnu/ext2fs ext2_extern.h ext2_vfsops.c ext2_vnops.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 21:35:58 -0000 Alfred Perlstein wrote: >* Poul-Henning Kamp [040927 13:38] wrote: > > >>phk 2004-09-27 20:38:46 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/gnu/ext2fs ext2_extern.h ext2_vfsops.c ext2_vnops.c >> Log: >> Desupport device nodes on EXT2 filesystems. >> >> > >Are you removing mknod(2) for device numbers from our filesystems? > >I'm sorry if I missed out on where this was discussed, do you have >a pointer explaining what's going on here? > Since devfs is the way that one gets to devices, and major number effectively become random numbers that mean nothing, then having nodes in filesystems jumping into random device drivers is not a good thing. You still need to have the nodes exist so you can export them via NFS to other systems that need them, but you do not want the freeBSD machine to consider them as devices, just as notes that you might need to pass through to someone. Consider a solaris machine exporting a root filesystem (with /dev) to linux.. the device nodes need to have linux major number s and not Solaris major numbers.. That's ok as long as you don't try actually USE them on the solaris machine. It's the same here except there is no "Native" device node in a filesystem. So don't allow interpretting of such nodes a devices because there is a 100% chance that it will be wrong.