From owner-freebsd-ports Fri Apr 9 6: 2: 9 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 14CCD14F36 for ; Fri, 9 Apr 1999 06:02:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id GAA74736; Fri, 9 Apr 1999 06:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from titanium.yy.ics.keio.ac.jp (titanium.yy.ics.keio.ac.jp [131.113.47.73]) by hub.freebsd.org (Postfix) with ESMTP id 676B914DBD for ; Fri, 9 Apr 1999 05:58:11 -0700 (PDT) (envelope-from sanpei@sanpei.org) Received: from lavender.yy.cs.keio.ac.jp (lavender.yy.ics.keio.ac.jp [131.113.47.22]) by titanium.yy.ics.keio.ac.jp (8.8.8+3.0Wbeta13/3.7W) with ESMTP id VAA12011; Fri, 9 Apr 1999 21:56:10 +0900 (JST) Received: (from sanpei@localhost) by lavender.yy.cs.keio.ac.jp (8.9.2/3.7W) id VAA49208; Fri, 9 Apr 1999 21:56:08 +0900 (JST) Message-Id: <199904091256.VAA49208@lavender.yy.cs.keio.ac.jp> Date: Fri, 9 Apr 1999 21:56:08 +0900 (JST) From: sanpei@sanpei.org Reply-To: sanpei@sanpei.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/11045: [PATCH] Update port: linux_lib some /compat/linux/dev symlinks to ports for Linux X server Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11045 >Category: ports >Synopsis: [PATCH] Update port: linux_lib some /compat/linux/dev symlinks to ports for Linux X server >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 9 06:00:02 PDT 1999 >Closed-Date: >Last-Modified: >Originator: MIHIRA Yoshiro >Release: FreeBSD 3.1-RELEASE i386 >Organization: Keio Univ. >Environment: 3.1-RELEASE >Description: I and Intel i740 board user need create some symlinks by hand to use Linux X server on FreeBSD box. From commit log >How-To-Repeat: >Fix: diff -uNr linux_lib.org/Makefile linux_lib/Makefile --- linux_lib.org/Makefile Sat Feb 27 08:16:45 1999 +++ linux_lib/Makefile Tue Mar 30 16:41:40 1999 @@ -31,6 +31,14 @@ post-install: -/compat/linux/sbin/ldconfig ${MKDIR} ${PREFIX}/usr/lib/zoneinfo - ln -sf /etc/localtime /${PREFIX}/usr/lib/zoneinfo/localtime + ${LN} -sf /etc/localtime /${PREFIX}/usr/lib/zoneinfo/localtime + ${MKDIR} ${PREFIX}/dev + ${LN} -sf /dev/console ${PREFIX}/dev/tty0 + ${LN} -sf /dev/ttyv0 ${PREFIX}/dev/tty1 + ${LN} -sf /dev/ttyv1 ${PREFIX}/dev/tty2 + ${LN} -sf /dev/ttyv2 ${PREFIX}/dev/tty3 + ${LN} -sf /dev/ttyv3 ${PREFIX}/dev/tty4 + ${LN} -sf /dev/sysmouse ${PREFIX}/dev/mouse + ${LN} -sf /dev/psm0 ${PREFIX}/dev/psaux .include diff -uNr linux_lib.org/pkg/PLIST linux_lib/pkg/PLIST --- linux_lib.org/pkg/PLIST Sat Oct 31 20:27:55 1998 +++ linux_lib/pkg/PLIST Tue Mar 30 16:42:48 1999 @@ -1,6 +1,13 @@ .linux_lib-version bin/bash bin/sh +dev/tty0 +dev/tty1 +dev/tty2 +dev/tty3 +dev/tty4 +dev/mouse +dev/psaux etc/host.conf etc/ld.so.cache etc/ld.so.conf @@ -767,6 +774,7 @@ var/X11R6/lib/rgb.txt @dirrm bin @dirrm etc +@dirrm dev @dirrm lib @dirrm sbin @dirrm usr/X11R6/lib >Release-Note: >Audit-Trail: >Unformatted: >jkh 1998/08/30 23:55:03 PDT > > Modified files: > sys/i386/linux linux.h linux_ioctl.c > Log: > Initial support for using linux X servers under emulation - to use an > XFree86 server, users need to create the following links in their > /compat/linux/dev directory (assuming kernel configured with 4 VTs). > > lrwxrwxrwx 1 root wheel 7 Aug 30 22:59 tty0 -> console <--- > lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty1 -> ttyv0 <--- > lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty2 -> ttyv1 <--- > lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty3 -> ttyv2 <--- > lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty4 -> ttyv3 <--- > > VT switching is still not yet supported. Attempting to switch VT > currently will cause Xserver bus error. I created patches for ports/emulators/linux_lib. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message