1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Prepare ${LINUX_DIR}/dev/null for use of the plain disk technique.

Suggested by:	Nick Sayer
This commit is contained in:
Akinori MUSHA 2000-04-14 21:01:58 +00:00
parent 55123fff04
commit 2b40efb08b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27547
6 changed files with 12 additions and 4 deletions

View File

@ -27,7 +27,7 @@ PATCHFILES= vmmon-freebsd-0.95.tar.gz \
MAINTAINER= freebsd-emulation@FreeBSD.org
RUN_DEPENDS= ${LINUX_DIR}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \
/dev/rtc:${PORTSDIR}/emulators/rtc
${LINUX_DIR}/dev/rtc:${PORTSDIR}/emulators/rtc
RESTRICTED= "Not sure if we can redistribute it"

View File

@ -116,12 +116,14 @@ share/doc/vmware/SAMBA-LICENSE
@exec mkdir -p /compat/linux/dev;for n in 0 1 2 3 4 5 6 7 8 9; do ln -s /dev/ttyv$n /compat/linux/dev/tty$n;done
@exec ln -s /dev/ttyva /compat/linux/dev/tty10
@exec ln -s /dev/ttyvb /compat/linux/dev/tty11
@exec mknod /compat/linux/dev/null c 2 2
@exec chmod 666 /compat/linux/dev/null
@exec mknod /compat/linux/dev/hda b 0 0x00010002
@exec mknod /compat/linux/dev/hdb b 0 0x0001000a
@exec ln -s %D/etc/vmware /etc/vmware
@exec mknod /dev/vmmon c 200 0
@exec mknod /dev/vmnet1 c 201 1
@unexec rm -f /etc/vmware /dev/vmmon /dev/vmnet1 /compat/linux/bin/df /compat/linux/dev/tty[0-9]* /compat/linux/dev/hd?
@unexec rm -f /etc/vmware /dev/vmmon /dev/vmnet1 /compat/linux/bin/df /compat/linux/dev/tty[0-9]* /compat/linux/dev/hd? /compat/linux/dev/null
@dirrm etc/vmware
@dirrm lib/vmware/bin
@dirrm lib/vmware/lib/floppies

View File

@ -15,6 +15,8 @@ done
ln -s /dev/ttyva ${linux_dev}/tty11
ln -s /dev/ttyvb ${linux_dev}/tty12
ln -s ${linux_dev}/tty1 ${linux_dev}/tty0
mknod ${linux_dev}/null c 2 2
chmod 666 ${linux_dev}/null
echo Creating $linux_dev/hd\?
mknod ${linux_dev}/hda b 0 0x00010002
mknod ${linux_dev}/hdb b 0 0x0001000a

View File

@ -27,7 +27,7 @@ PATCHFILES= vmmon-freebsd-0.95.tar.gz \
MAINTAINER= freebsd-emulation@FreeBSD.org
RUN_DEPENDS= ${LINUX_DIR}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \
/dev/rtc:${PORTSDIR}/emulators/rtc
${LINUX_DIR}/dev/rtc:${PORTSDIR}/emulators/rtc
RESTRICTED= "Not sure if we can redistribute it"

View File

@ -116,12 +116,14 @@ share/doc/vmware/SAMBA-LICENSE
@exec mkdir -p /compat/linux/dev;for n in 0 1 2 3 4 5 6 7 8 9; do ln -s /dev/ttyv$n /compat/linux/dev/tty$n;done
@exec ln -s /dev/ttyva /compat/linux/dev/tty10
@exec ln -s /dev/ttyvb /compat/linux/dev/tty11
@exec mknod /compat/linux/dev/null c 2 2
@exec chmod 666 /compat/linux/dev/null
@exec mknod /compat/linux/dev/hda b 0 0x00010002
@exec mknod /compat/linux/dev/hdb b 0 0x0001000a
@exec ln -s %D/etc/vmware /etc/vmware
@exec mknod /dev/vmmon c 200 0
@exec mknod /dev/vmnet1 c 201 1
@unexec rm -f /etc/vmware /dev/vmmon /dev/vmnet1 /compat/linux/bin/df /compat/linux/dev/tty[0-9]* /compat/linux/dev/hd?
@unexec rm -f /etc/vmware /dev/vmmon /dev/vmnet1 /compat/linux/bin/df /compat/linux/dev/tty[0-9]* /compat/linux/dev/hd? /compat/linux/dev/null
@dirrm etc/vmware
@dirrm lib/vmware/bin
@dirrm lib/vmware/lib/floppies

View File

@ -15,6 +15,8 @@ done
ln -s /dev/ttyva ${linux_dev}/tty11
ln -s /dev/ttyvb ${linux_dev}/tty12
ln -s ${linux_dev}/tty1 ${linux_dev}/tty0
mknod ${linux_dev}/null c 2 2
chmod 666 ${linux_dev}/null
echo Creating $linux_dev/hd\?
mknod ${linux_dev}/hda b 0 0x00010002
mknod ${linux_dev}/hdb b 0 0x0001000a