Date: Mon, 27 Sep 2004 14:35:56 -0700 From: Julian Elischer <julian@elischer.org> To: Alfred Perlstein <alfred@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/gnu/ext2fs ext2_extern.h ext2_vfsops.c ext2_vnops.c Message-ID: <415887BC.1080702@elischer.org> In-Reply-To: <20040927211225.GB11948@elvis.mu.org> References: <200409272038.i8RKckod020697@repoman.freebsd.org> <20040927211225.GB11948@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein wrote: >* Poul-Henning Kamp <phk@FreeBSD.org> [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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?415887BC.1080702>