Unix Technical Forum

Deleted /dev/rtc

This is a discussion on Deleted /dev/rtc within the Linux Operating System forums, part of the Unix Operating Systems category; --> I have installed RH linux 9.0 in my PC.I accidentally deleted /dev/rtc and I get rtc ioctl failure messages ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 06:49 PM
samratvijay@gmail.com
 
Posts: n/a
Default Deleted /dev/rtc

I have installed RH linux 9.0 in my PC.I accidentally deleted /dev/rtc
and I get rtc ioctl failure messages during startup and shutdown.. can
anybody tell me how to fix this ?

Regards,
Vijay.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 06:49 PM
Giovanni
 
Posts: n/a
Default Re: Deleted /dev/rtc

samratvijay@gmail.com wrote:
> I have installed RH linux 9.0 in my PC.I accidentally deleted /dev/rtc
> and I get rtc ioctl failure messages during startup and shutdown.. can
> anybody tell me how to fix this ?


Using mknod as root:

# mknod /dev/rtc c 10 135

See the file 'device.txt' in the Linux source tree and the man page for
mknod(1).

Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
Registered Linux user #337974 < http://giovanni.homelinux.net/ >
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 06:49 PM
Lew Pitcher
 
Posts: n/a
Default Re: Deleted /dev/rtc

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

samratvijay@gmail.com wrote:
> I have installed RH linux 9.0 in my PC.I accidentally deleted /dev/rtc
> and I get rtc ioctl failure messages during startup and shutdown.. can
> anybody tell me how to fix this ?


Log in or su to root

Enter the following commands:
mknod /dev/rtc c 10 135
chown root:root /dev/rtc
chmod a=rw /dev/rtc


- --
Lew Pitcher

Master Codewright & JOAT-in-training | GPG public key available on request
Registered Linux User #112576 (http://counter.li.org/)
Slackware - Because I know what I'm doing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEU2viagVFX4UWr64RAgtKAKCZY274PJJvhh3vWewbK1 sHrO4BPQCgiveH
pID1/xuvvWfctGQZEVaYOZk=
=4nqb
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:13 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com