Date: Mon, 11 Dec 2000 04:10:27 -0800 From: Peter Wemm <peter@netplex.com.au> To: Soren Schmidt <sos@freebsd.dk> 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 Message-ID: <200012111210.eBBCARK27849@mobile.wemm.org> In-Reply-To: <200012111150.MAA87488@freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012111210.eBBCARK27849>