Re: A few qestions

From: Michele Andreoli (m.andreoli@tin.it)
Date: Mon Nov 05 2001 - 14:09:14 CET


On Mon, Nov 05, 2001 at 01:16:03PM +0000, Neo Sze Wee nicely wrote:
> When I check /dev I found that I do not have the tty/pty pair so I
> copy some from baslinux. When I run ile, it does not complain anymore
> BUT there is no command history when I press up/down arrow.
>
> I do not know how to use makenod. How do you know what major or minor
> numbers to use and is that all you have to do? Is there permission
> problem?
>
> There is no documentation for the programs. I wonder what does all the
> flags and arguments mean.

> >
> > in debian (major=3, minor=0)
> > crw-rw-rw- 1 root tty 3, 0 Oct 30 20:55 ttyp0

About mknod:

                # mknod /dev/ttyp0 c 3 0
                # mknod /dev/ttyp1 c 3 1

Syntax:

                # mknod device type major minor

"c" stands for "character devices"; "b" stands for "block devices".

Michele

-- 
I keep trying to locate a meeting of Quantum Physicists. But everytime
they set a meeting time, the location changes. And vice versa -- Anonymous
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:20 CET