/dev/console???

/dev/console???

Post by Chet » Mon, 30 Dec 1996 04:00:00



Hi,

I am trying to setup X by using XF86Setup. The problem I get is there
in not /dev/console in my mechine. What is /dev/console, and where
can I get a copy of it? Thanks a lot!!!

Chet

 
 
 

/dev/console???

Post by David L. Johnso » Mon, 30 Dec 1996 04:00:00



> Hi,

> I am trying to setup X by using XF86Setup. The problem I get is there
> in not /dev/console in my mechine. What is /dev/console, and where
> can I get a copy of it? Thanks a lot!!!

Chet can't be blamed for asking this, but this is a FAQ.  Whichever
distribution you used was flawed, in that it did not seem to include
that file.  The easiest solution is simply make a symbolic link from
/dev/tty0 to /dev/console, by

ln -s /dev/tty0 /dev/console

Whoever made that distribution, please fix it.

--


Department of Mathematics               http://www.lehigh.edu/~dlj0/dlj0.html
Lehigh University
14 E. Packer Avenue                     (610) 758-3759
Bethlehem, PA 18015-3174

 
 
 

/dev/console???

Post by Daniel J. Diste » Tue, 31 Dec 1996 04:00:00



> I am trying to setup X by using XF86Setup. The problem I get is there
> in not /dev/console in my mechine. What is /dev/console, and where
> can I get a copy of it? Thanks a lot!!!

You didn't say what version of Linux you might be running,
but the Slackware 3.1 (Slackware 96) disk in the Infomagic
Developer's Resource kit is missing the /dev/console device.

To create it, as root, go to /dev and type:

MAKEDEV console

and that should make the required /dev/console device.

Dan Dister

 
 
 

/dev/console???

Post by Fong Chi Yan, Bosc » Wed, 01 Jan 1997 04:00:00




> > Hi,

> > I am trying to setup X by using XF86Setup. The problem I get is there
> > in not /dev/console in my mechine. What is /dev/console, and where
> > can I get a copy of it? Thanks a lot!!!

> Chet can't be blamed for asking this, but this is a FAQ.  Whichever
> distribution you used was flawed, in that it did not seem to include
> that file.  The easiest solution is simply make a symbolic link from
> /dev/tty0 to /dev/console, by

> ln -s /dev/tty0 /dev/console

> Whoever made that distribution, please fix it.

> --


> Department of Mathematics               http://www.lehigh.edu/~dlj0/dlj0.html
> Lehigh University
> 14 E. Packer Avenue                     (610) 758-3759
> Bethlehem, PA 18015-3174

Hi:

        What wiil I do if I am using a ps2 mouse ?

 
 
 

/dev/console???

Post by Anathema & Sla » Wed, 01 Jan 1997 04:00:00




> > I am trying to setup X by using XF86Setup. The problem I get is there
> > in not /dev/console in my mechine. What is /dev/console, and where
> > can I get a copy of it? Thanks a lot!!!

> You didn't say what version of Linux you might be running,
> but the Slackware 3.1 (Slackware 96) disk in the Infomagic
> Developer's Resource kit is missing the /dev/console device.

> To create it, as root, go to /dev and type:

> MAKEDEV console

> and that should make the required /dev/console device.

> Dan Dister

  We had the same problem and then ran the makedev ( pure luck...
complete linux/unix novices here)  but x windows still wont boot, it has
an error 111?  and error 3 then aborts the program.  Any ideas or is
there other information I can give you to make this easier?  we have
slackware 3.1 from the sept 1996 linux developers resource set from
infomagic.

Slade.

 
 
 

1. >/dev/msglog 2<>/dev/msglog </dev/console

In inittab, some entry is entitled with ">/dev/msglog 2<>/dev/msglog
</dev/console",  what is that used for? Why need it followed by the
standard entry?

Such as
Example--Default inittab File
The following example shows an annotated default inittab file:
 1 ap::sysinit:/sbin/autopush -f /etc/iu.ap
 2 ap::sysinit:/sbin/soconfig -f /etc/sock2path
 3 fs::sysinit:/sbin/rcS sysinit   >/dev/msglog 2<>/dev/msglog
</dev/console
 4 is:3:initdefault:
 5 p3:s1234:powerfail:/usr/sbin/shutdown -y -i5 -g0 >/dev/msglog
2<>/dev/...
 6 sS:s:wait:/sbin/rcS              >/dev/msglog 2<>/dev/msglog
</dev/console
 7 s0:0:wait:/sbin/rc0              >/dev/msglog 2<>/dev/msglog
</dev/console
 8 s1:1:respawn:/sbin/rc1           >/dev/msglog 2<>/dev/msglog
</dev/console
 9 s2:23:wait:/sbin/rc2             >/dev/msglog 2<>/dev/msglog
</dev/console
 10 s3:3:wait:/sbin/rc3             >/dev/msglog 2<>/dev/msglog
</dev/console
 11 s5:5:wait:/sbin/rc5             >/dev/msglog 2<>/dev/msglog
</dev/console
 12 s6:6:wait:/sbin/rc6             >/dev/msglog 2<>/dev/msglog
</dev/console
 13 fw:0:wait:/sbin/uadmin 2 0      >/dev/msglog 2<>/dev/msglog
</dev/console
 14 of:5:wait:/sbin/uadmin 2 6      >/dev/msglog 2<>/dev/msglog
</dev/console
 15 rb:6:wait:/sbin/uadmin 2 1      >/dev/msglog 2<>/dev/msglog
</dev/console
 16 sc:234:respawn:/usr/lib/saf/sac -t 300
 17 co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console
login: "
    -T terminal-type -d /dev/console -l console -m ldterm,ttcompat  

in
http://docs.sun.com/db/doc/805-7228/6j6q7uepg?a=view

2. Sun C compiler vs. Gnu C

3. patch IDEA 3 to work with jdk 1.4.1-p3

4. /dev/console output to /dev/tty0

5. grabbing a piece of file

6. Difference between /dev/console and /dev/sysmsg

7. Developing a FAT/ New to Linux

8. No /dev/console in /dev

9. Help with console (/dev/console) output redirection

10. /dev/console vs /dev/tty01

11. /dev/console --> /dev/tty1

12. syslogd and /dev/console