On Sat, Aug 14, 1999 at 09:46:25PM -0500, Dale L. Puckett wrote:
> 
> Then, as the startup progresses you can not startx or kde ...
> because fsck has deleted the device /dev/tty0.
> 
> Is there a way to reinstall this device without having to
> reinstall the whole distribution.
> 

Hi Dale,

there is a way of creating device files that is easy to use.
First, after succesfull instalation observe numbers that you get with
ls -al /dev/your_device e.g.

$ ls -al /dev/tty1
crw-------   1 dale     tty        4,   1 Aug 16 11:03 /dev/tty1

>From this output you can see that device is :
1. Character device - according to first column letter c
2. It's Major number is 4
3. It's Minor number is 1

When it is lost you can enter following command :

mknod /dev/tty1 c 4 1

and it will be re-created. Of course you have to do that with root
permisions. Change file permissions / UID/GID numbers as needed with
chown and chmod commands.

Good luck.

Ivo, 9A3TY

Reply via email to