 |
 |
OS X HD Diskwarrior rescued files - how to replace
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jan 2002
Status:
Offline
|
|
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
|
|
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
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jan 2002
Status:
Offline
|
|
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
|
|
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.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jan 2002
Status:
Offline
|
|
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
|
|
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.
-
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jan 2002
Status:
Offline
|
|
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
|
|
/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).
-
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jan 2002
Status:
Offline
|
|
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.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|