Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE Bedienungsanleitung Seite 17

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 148
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 16
Enterprise Server 6.1 APIs
Chapter 1 Overview 17
5. List /dev/tcp, and notethe major and minor numbers oftheresulting output.
In this example, the major number is 11 and the minor number is 42:
ls -lL /dev/tcp
crw-rw-rw- 1 root sys 11, 42 Apr 9 1998 /dev/tcp
6.
Create the tcp device using the major and minor numbers:
mknod dev/tcp c 11 42
chmod 666 dev/tcp
7.
Repeat steps 5 and 6 for each of the following devices (each device will have a
differentmajor and minor combination):
/dev/udp
/dev/ip
/dev/kmem
/dev/kstat
/dev/ksyms
/dev/mem
/dev/null
/dev/stderr
/dev/stdin
/dev/stdout
/dev/ticotsord
/dev/zero
8.
Set permissions on the devices in dev in the chroot directory:
chmod 666 dev/*
9. Create and populate lib and usr/lib in the chroot directory:
mkdir usr
mkdir usr/lib
ln -s /usr/lib
ln /usr/lib/* usr/lib
You can ignore the messages this command generates.
Ifthe
/usr/lib directoryison adifferentfile system,replacethe last command
with the following:
cp -rf /usr/lib/* usr/lib
Seitenansicht 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 147 148

Kommentare zu diesen Handbüchern

Keine Kommentare