From: Liam Bedford (lbedford at domain wbtsystems.com)
Date: Mon 14 Feb 2000 - 11:18:30 GMT
You can do something like:
rm /dev/ttyS0
cd /dev
./MAKEDEV ttyS0
(I can never remember the exact command, but man MAKEDEV, less MAKEDEV
should give you
an idea)...
or if you have the kernel sources, /usr/src/linux/Documentation/devices.txt
is useful,
find ttyS0 in there, and do
mknod /dev/ttyS0 c 4 64
to get what you need.
(devices.txt is great, I nuked 1000 files from debian's /dev that I'm not
about to use...
/dev/vcsa*.. anyone used it?)
L.
--- Liam Bedford 01-4170153 System Administrator WBT Systems, Block 2, Harcourt Ctr., Harcourt St., Dublin 2 > -----Original Message----- > From: 962264N at domain knotes.kodak.com [mailto:962264N at domain knotes.kodak.com] > Sent: 14 February 2000 11:16 > To: ilug at domain linux.ie > Subject: [ILUG] dev/ttyS0 vanished > > > > > From: Fergal Moran > Hi, > > My /dev/ttyS0 has vanished and been overwritten by something called > /dev/ttyS0 which isn't (dodgy script run as root <shame>). > What can I do? > > Cheers, > > Fergal. > > > > -- > Irish Linux Users' Group: ilug at domain linux.ie > http://www.linux.ie/mailman/listinfo/ilug for > (un)subscription information. > List maintainer: listmaster at domain linux.ie >
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:25 GMT