Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> newb: tty problem, accidentally deleted all ttys in /dev
willy
post Jan 14 2006, 08:01 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 14-January 06
Member No.: 5,966



hi all,

I'm still new to linux. When I was trying a program, I accidentally deleted all the tty in /dev and maybe something else. The command was 'clearlinks' as I can remember, it deletes all links that points to nothing and all empty files.

Now, when I tried to boot my computer, it will say something like no access to tty; job control turned off.

Can somebody help me with this problem?

Thanks.
Go to the top of the page
 
+Quote Post
DS2K3
post Jan 15 2006, 06:11 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



What distribution? What kernel? Are you using udev or devfs?

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
willy
post Jan 15 2006, 04:29 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 14-January 06
Member No.: 5,966



thank for replying,
distribution: Arch Linux
I can't really remember the kernel version, but i think it's 2.6.14
I'm not very sure about udev or devfs, what's the difference? Is it the naming? my hard disk shows up as hda3, I think it should be udev unsure.gif .
Go to the top of the page
 
+Quote Post
DS2K3
post Jan 16 2006, 06:46 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



devfs is the legacy dev fleystem manager, and udev is the new userspace version. Nammiing should be almost identical, except peraps for some more exotic devices.

You can get your kernel version using "uname -r" - But 2.6 suggets that you are probably using udev, regarldess of the minor version number.

I would expect udev to recreate important device nodes like ttys...

Try running "makedev tty0" (and tty1 etc. etc.) as root - However there are associated devices which might not be created by that command. It might be easier to reinstall, provided that you dont have too much software installed (if your /home/ directory is on a different partition, then you shouldnt lose any user data).


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
willy
post Jan 17 2006, 03:49 AM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 14-January 06
Member No.: 5,966



Can I do it from a boot disk?

Reformat would be the final option for me.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th October 2017 - 02:29 AM