Operating System - HP-UX
1832857 Members
3297 Online
110048 Solutions
New Discussion

Re: /sbin/init.d/core directory

 
SOLVED
Go to solution
Don Bentz
Regular Advisor

/sbin/init.d/core directory

I am accustomed to eliminating files named "core" when encountered on my HP-UX 11.00 system. I have an old G50 that was "upgraded" from 10.20 to 11.00. In the /sbin/init.d directory I find another directory named "core". It's empty. Just curious: does anybody have any frame of reference for this?
Insecurity is our friend. It keeps you dependent.
6 REPLIES 6
John Poff
Honored Contributor
Solution

Re: /sbin/init.d/core directory

Hello Don,

I've never seen anything like that before. What is the time stamp on the 'core' directory? Just curious if it is new or old. Since /sbin/init.d just contains scripts for starting and stopping programs during boot and shutdown, I think you would be safe to delete it.

JP
Kevin Wright
Honored Contributor

Re: /sbin/init.d/core directory

You should delete this file..first do file core and try to see how it got created, but if you have bogus files in this directory your system will not boot properly
Kevin Wright
Honored Contributor

Re: /sbin/init.d/core directory

sorry, I was thinking of another directory, having this file in /sbin/init.d should not affect booting.
use file to see what it is from and remove it.
Printaporn_1
Esteemed Contributor

Re: /sbin/init.d/core directory

may be this core was create by some program in /sbin/init.d
using #what core
may be we can find some hints.
in 10.20 and up we don't need this in /sbin/init.d
enjoy any little thing in my life
Mona Buck
Occasional Advisor

Re: /sbin/init.d/core directory

Don,
Based on the time stamp, I wonder if someone was working on a startup/shutdown script that kept throwing cores, so they just made a "core" directory to keep the mt pt from filling up....I've seen DBAs do that when they were working with startups after some big param change....

Mona
"No matter where you go, there you are"
Don Bentz
Regular Advisor

Re: /sbin/init.d/core directory

Well, I guess the simple answer was "no". Thanks for your responses, everybody. I was going to just get rid of it anyway but since I was never really on HP during the 10.xx era, I wondered if there was some reason for its existence. Thanks again.
Insecurity is our friend. It keeps you dependent.