Mark,

You can create it using MAKEDEV.
if however, it cant be created by MAKEDEV due to any reason,
you can use mknod to create ttyS0.

mknod /dev/ttyS0 c 4 64
chown root.root /dev/ttyS0
chmod 0644 /dev/ttyS0

Note: on some distros, ttyS0 belongs to dialout group.


HTH, Kenneth




Mark Anthony C. Delfin wrote:

hi list,

I accidentally deleted /dev/ttyS0, is there a way I can bring it back?

TIA



--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to