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

Re: lost /dev/ttyS1 file



On Mon, Dec 16, 2002 at 11:45:51PM -0500, Shawn Lamson wrote:
> On Mon, 16 Dec 2002 20:19:18 -0800
> "jeffrey j wilkman" <jeffreyjwilkman@hotmail.com> wrote:
> 
> > 
> > 
> > hi,
> > 
> > i accidentally destroyed my /dev/ttyS1 file, the file for my modem.
> > is ther an easy to recover this file?? i just upgraded from potato
> > to woody, so i don't have even the option of starting over. is there
> > some way to get a coy of the file?
> 
> my ideas:
> 1) copy one of the existing /dev/ttyS0,2,3 to ttyS1 ?

This won't work, since each device has a different minor number.

> 2) read the MAKEDEV man page ?  (safest option on list)
> 3) wing it and just cd to /dev/ and mknod ttyS1 c 4 65 ; then set permissions ?

These two should work fine.

-rob

Attachment: pgpiHZ7WHyV0V.pgp
Description: PGP signature


Reply to: