From owner-freebsd-current Wed Nov 22 12:04:12 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA07040 for current-outgoing; Wed, 22 Nov 1995 12:04:12 -0800 Received: from meter.eng.uci.edu (root@meter.eng.uci.edu [128.200.85.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA07033 for ; Wed, 22 Nov 1995 12:04:08 -0800 Received: from newport.ece.uci.edu by meter.eng.uci.edu (8.7.1) id MAA10768; Wed, 22 Nov 1995 12:04:01 -0800 (PST) Received: from localhost by newport.ece.uci.edu (8.7.1) id MAA07443; Wed, 22 Nov 1995 12:04:00 -0800 (PST) Message-Id: <199511222004.MAA07443@newport.ece.uci.edu> To: Michael Smith cc: current@freebsd.org Subject: Re: iBCS2, socksys and all that jazz... In-reply-to: Your message of "Wed, 22 Nov 1995 08:07:58 GMT." <199511220807.IAA25398@genesis.atrad.adelaide.edu.au> Date: Wed, 22 Nov 1995 12:03:58 -0800 From: Steven Wallace Sender: owner-current@freebsd.org Precedence: bulk > Ok; having just supped and make-worlded -current, I'm hunting the > "why doesn't socksys work" problem. > > There's code in -current for socksys ioctls, but nothing to handle the > day-to-day open/close stuff needed for these ioctls. > > Is this something that's currently under development? No, it is done. What you need to do is set up /compat/ibcs2/dev to look like: lrwxr-xr-x 1 root wheel 9 Oct 15 22:20 X0R@ -> /dev/null lrwxr-xr-x 1 root wheel 7 Oct 15 22:20 nfsd@ -> socksys -rw-rw-r-- 1 root wheel 0 Oct 28 12:02 null lrwxr-xr-x 1 root wheel 9 Oct 15 22:20 socksys@ -> /dev/null crw-rw-rw- 1 root wheel 41, 1 Oct 15 22:14 spx You just need socksys to go to /dev/null to fake the open & close. The code in -current will handle the rest. This is much cleaner than the way it was done before. If you want the spx driver for a local socket X connection, define SPX_HACK when you compile the system. Can this go into some FAQ or somewhere so I don't have to repeat it dozens of times? Steven