[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to recreate /dev/ttyS0

On Thu, Aug 29, 2002 at 03:43:01PM +0530, Dr. Sachin Kale wrote:
[ln -s mishap]
> So decied to delete /dev/ttyS0, now pls tell me how to recreate
> /dev/ttyS0 ? Is it done like this - mknod /dev/ttyS0 c major minor ?

I believe so, but you might need to change the permissions later.

> But I am stuck here; what are these major & minor numbers ?

The major and minor numbers can be found in
/usr/share/doc/$KERNEL-doc/Documentation/devices.txt.gz. For /dev/ttyS0,
the major number is 4, and the minor is 64.

> Pls cc me the replys, I am not able to follow the list.
> I am running deb 2.2 r5


Attachment: pgp5Ode3KJV5_.pgp
Description: PGP signature

Reply to: