Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > OS X HD Diskwarrior rescued files - how to replace

OS X HD Diskwarrior rescued files - how to replace
Thread Tools
Dedicated MacNNer
Join Date: Jan 2002
Status: Offline
Reply With Quote
Feb 14, 2003, 03:57 AM
 
I rebuilt my hard disk with Diskwarrior the other day as I was having some problems.

Diskwarrior "rescued" the following files - does my OS X installation need them, and how can I restore them if I need to?

The files were:

resolv.conf 4KB
ntpd.pid 0KB
pppconfd 4KB
syslog 0KB
syslog.pid 4KB
utmp 0KB

Everything seems to work OK - but I don't want my machine to become a security risk.

Any ideas would be great! Should I reinstall OS X?

BTW, running OS X 10.2.4 (updated from 10.2.3 this (Friday) morning).
     
Grizzled Veteran
Join Date: Sep 2000
Location: Adelaide, Australia
Status: Offline
Reply With Quote
Feb 14, 2003, 06:57 AM
 
Hope this helps. From my machine running 10.2.4

/private/etc/resolv.conf
/private/var/run/resolv.conf

/private/var/run/ntpd.pid


pppconfd -- couldn't find it

/private/var/run/syslog
/private/var/run/syslog.pid

/private/var/run/utmp

Michael
     
m.brown  (op)
Dedicated MacNNer
Join Date: Jan 2002
Status: Offline
Reply With Quote
Feb 14, 2003, 08:39 AM
 
Originally posted by mmurray:
Hope this helps. From my machine running 10.2.4

/private/etc/resolv.conf
/private/var/run/resolv.conf

/private/var/run/ntpd.pid


pppconfd -- couldn't find it

/private/var/run/syslog
/private/var/run/syslog.pid

/private/var/run/utmp

Michael
Thanks - but are these files necessary - I'm assuming the rescued files are incomplete - so replacing them might make the system unstable.
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Feb 14, 2003, 12:20 PM
 
Originally posted by m.brown:
Thanks - but are these files necessary - I'm assuming the rescued files are incomplete - so replacing them might make the system unstable.
The /private/etc/resolv.conf file you should probably replace. The stuff in /var/run should be automatically generated by the system, so you probably don't need to replace that stuff.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
m.brown  (op)
Dedicated MacNNer
Join Date: Jan 2002
Status: Offline
Reply With Quote
Feb 14, 2003, 12:28 PM
 
Originally posted by CharlesS:
The /private/etc/resolv.conf file you should probably replace. The stuff in /var/run should be automatically generated by the system, so you probably don't need to replace that stuff.
Cheers! what does resolv.conf do - and if it is only 4KB is the "rescued" version incomplete?
     
Mac Elite
Join Date: May 2001
Status: Offline
Reply With Quote
Feb 14, 2003, 12:38 PM
 
Yes, all files you listed are in /var/run except for /etc/resolv.conf which is a link to /var/run/resolv.conf, so you'd need to type "ln -s /var/run/resolv.conf /etc/resolv.conf" to rebuild it, and then I'd reboot to have the others automatically created again.

-
     
m.brown  (op)
Dedicated MacNNer
Join Date: Jan 2002
Status: Offline
Reply With Quote
Feb 14, 2003, 12:41 PM
 
Originally posted by Moonray:
Yes, all files you listed are in /var/run except for /etc/resolv.conf which is a link to /var/run/resolv.conf, so you'd need to type "ln -s /var/run/resolv.conf /etc/resolv.conf" to rebuild it, and then I'd reboot to have the others automatically created again.

-
Thanks - but what is it, and what does it do?
     
Mac Elite
Join Date: May 2001
Status: Offline
Reply With Quote
Feb 14, 2003, 12:52 PM
 
/var/run/resolv.conf contains the nameserver IP addresses and gets written each time you connect to the internet. Because it is a 'variable' file, it lives in /var/run.

/etc/resolv.conf is the link to it in a fixed/static file and should be used whenever that information is needed (regardless to what it points).

-
     
m.brown  (op)
Dedicated MacNNer
Join Date: Jan 2002
Status: Offline
Reply With Quote
Feb 14, 2003, 01:23 PM
 
Originally posted by Moonray:
/var/run/resolv.conf contains the nameserver IP addresses and gets written each time you connect to the internet. Because it is a 'variable' file, it lives in /var/run.

/etc/resolv.conf is the link to it in a fixed/static file and should be used whenever that information is needed (regardless to what it points).

-
Cheers - thanks all for you help.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:40 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2