1834481 Members
3307 Online
110067 Solutions
New Discussion

deleted rc0.d folder

 
Joury Gokel
New Member

deleted rc0.d folder

I have a big problem:

I accidently deleted the rc0.d folder.
I there someone who can provide me the containce of his /sbin/rc0.d folder.
The files that where in it, where:
K480syncer
K800killall
K888kminit
K890kmbuild

Could someone please send me those, or tell me how I can get them

Thank you
6 REPLIES 6
Craig Rants
Honored Contributor

Re: deleted rc0.d folder

Here it is.

GL,
C

lrwxr-xr-x 1 root root 19 Sep 11 09:48 K480syncer -> /sbin/init.d/syncer
lrwxr-xr-x 1 root root 20 Sep 11 09:48 K800killall -> /sbin/init.d/killall
lrwxr-xr-x 1 root root 19 Sep 11 09:48 K888kminit -> /sbin/init.d/kminit
lrwxr-xr-x 1 root root 20 Sep 11 09:48 K890kmbuild -> /sbin/init.d/kmbuild
lrwxr-xr-x 1 root root 23 Sep 11 09:48 K900localmount -> /sbin/init.d/localmount
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
harry d brown jr
Honored Contributor

Re: deleted rc0.d folder

Do you have a make_recovery tape or a backup of the directory on tape anywhere? Also, if you have a similar machine, you might be able to copy those files over.

live free or die
harry
Live Free or Die
Jeff Machols
Esteemed Contributor

Re: deleted rc0.d folder

if you know the files that were in it, all you need to do is create links back to /sbin/init.d, ex

K200syncer would be a link to

/sbin/init.d/syncer
Craig Rants
Honored Contributor

Re: deleted rc0.d folder

Since they are all links, just create them yourself, there aren't to many of them.

If you need more info let us know.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Joury Gokel
New Member

Re: deleted rc0.d folder

Thank you very much.
I was hardening the hp-ux, when I was moving some startup scripts to other backup directory's, I accidently removed the rc0.d directory.

I will try to make the links now.
Sanjay_6
Honored Contributor

Re: deleted rc0.d folder

Hi,

Use this to create links,

cd /sbin/rc0.d
ln -s /sbin/init.d/syncer K480syncer

Repeat the same for other links.

hope this helps.

Regds