On Fri, Jul 04, 2008 at 12:18:59PM +0200, Linux Levlist wrote:
> >
> 11766 close(4)                          = 0
> 11766 close(3)                          = 0
> 11766 chown32("/dev/tty2", 0, 5)        = 0
> 11766 chmod("/dev/tty2", 0660)          = 0
> 11766 rt_sigaction(SIGHUP, {SIG_IGN}, {SIG_IGN}, 8) = 0
> 11766 rt_sigaction(SIGQUIT, {0x8049790, [], 0}, NULL, 8) = 0
> 11766 open("/dev/tty2", O_RDWR|O_LARGEFILE) = 3
> 11766 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isigicanon echo 
> ...}) = 0
> 11766 vhangup()                         = 0
> 11766 --- SIGHUP (Hangup) @ 0 (0) ---
> 11766 --- SIGCONT (Continued) @ 0 (0) ---
> 11766 close(2)                          = 0
> 11766 close(1)                          = 0
> 11766 close(0)                          = 0
> 11766 close(3)                          = 0
> 11766 open("/dev/tty2", O_RDWR|O_LARGEFILE) = 0
> 11766 ioctl(0, TIOCSCTTY)               = -1 EPERM (Operation not permitted)
> 11766 time(NULL)                        = 1215165453

Az alábbi ls kimenete nállad hogy néz ki ?
ls -la /dev/tty?
crw-rw---- 1 root root 4, 0 Jun 30 07:37 /dev/tty0
crw------- 1 root root 4, 1 Jun 30 07:38 /dev/tty1
crw------- 1 root root 4, 2 Jun 30 07:38 /dev/tty2
crw------- 1 root root 4, 3 Jun 30 07:38 /dev/tty3
crw------- 1 root root 4, 4 Jun 30 07:38 /dev/tty4
crw------- 1 root root 4, 5 Jun 30 07:38 /dev/tty5
crw------- 1 root root 4, 6 Jun 30 07:38 /dev/tty6
crw-rw---- 1 root root 4, 7 Jun 30 07:37 /dev/tty7
crw-rw---- 1 root root 4, 8 Jun 30 07:37 /dev/tty8
crw-rw---- 1 root root 4, 9 Jun 30 07:37 /dev/tty9

Itt a tty1..tty6 -on fut a mingetty

1:2345:respawn:/sbin/mingetty --noclear tty1
2:23:respawn:/sbin/mingetty tty2
3:23:respawn:/sbin/mingetty tty3
4:23:respawn:/sbin/mingetty tty4
5:23:respawn:/sbin/mingetty tty5
6:23:respawn:/sbin/mingetty tty6

-- 
    [Varadi Gabor]
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

Reply via email to