From owner-cvs-all Mon Dec 11 4:15:17 2000 From owner-cvs-all@FreeBSD.ORG Mon Dec 11 04:15:13 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mobile.wemm.org (adsl-64-163-195-99.dsl.snfc21.pacbell.net [64.163.195.99]) by hub.freebsd.org (Postfix) with ESMTP id 8BD0037B400; Mon, 11 Dec 2000 04:15:12 -0800 (PST) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id eBBCARK27849; Mon, 11 Dec 2000 04:10:27 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200012111210.eBBCARK27849@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Soren Schmidt Cc: sheldonh@uunet.co.za (Sheldon Hearn), des@ofug.org (Dag-Erling Smorgrav), marcel@cup.hp.com (Marcel Moolenaar), obrien@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/linux/linprocfs linprocfs_misc.c In-Reply-To: <200012111150.MAA87488@freebsd.dk> Content-Transfer-Encoding: 8bit Date: Mon, 11 Dec 2000 04:10:27 -0800 From: Peter Wemm Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Soren Schmidt wrote: > It seems Sheldon Hearn wrote: > > > > > > On 09 Dec 2000 23:09:51 +0100, Dag-Erling Smorgrav wrote: > > > > > Linprocfs is totally independent of the linuxulator, and doesn't need > > > it to run. Ideally, once it becomes machine-independent (or at least > > > runs on more platforms than just i386), it should move to > > > /sys/compat/linprocfs. > > > > Why hasn't anyone suggested src/sys/fs/linprocfs yet? Seems an ideal > > location, once this is MI. > > Except that this "legalises" using linprocfs which IMNHO is a real > bad idea, it should be used _only_ with linsux apps... I have never used it, but I was under the impression that what it did was fill in "missing files" only, and depended on the /compat/linux pre-search path thing. ie: a linux process trying to access "/proc/foo" would be searched as /compat/linux/proc/foo then /proc/foo. This makes it a "real" filesystem, but only useful to an emulator that does alternate-root path searching. I still think sys/fs/linprocfs is the "correct" place as it provides a real filesystem. "sys/compat" is more for ABI and driver compatability glue. But I guess I could live with sys/compat/linprocfs or even sys/compat/fs/linprocfs (but please *not* sys/compat/linux/linprocfs - anywhere but there...) Regarding miscfs vs fs.. miscfs is a bad name. There has been some movement to collect all the filesystems under sys/fs at some point. All the newer ones have gone in there directly. Please, not sys/miscfs as it will just end up getting moved yet again down the track. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message