System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

/bin directory gone on 11.23 system

SOLVED
Go to solution
dictum9
Super Advisor

/bin directory gone on 11.23 system


It's a newly installed system via Ignite, 11.23

I am pretty sure /bin/true and other stuff in /bin was there yesterday, and today it's gone!

I am puzzled where /bin/went and how it got deleted.

How can I recreate it? Given that /bin a link to /usr/bin, Can I just recreate the link?

7 REPLIES
Joshua Scott
Honored Contributor
Solution

Re: /bin directory gone on 11.23 system

Here's bin on my 11.23 system:

lr-xr-xr-t 1 root sys 8 Sep 20 2007 bin -> /usr/bin

You should be able to just re-create it.
What are the chances...
dictum9
Super Advisor

Re: /bin directory gone on 11.23 system

I should mention the last thing I did was I installed the latest patch bundle, after running swainv.

And it rebooted. I wonder if that has something to do with it.
James R. Ferguson
Acclaimed Contributor

Re: /bin directory gone on 11.23 system

Hi:

Yes, '/bin' is really a symbolic link to '/usr/bin'. Strictly speaking it is a "transition link" (known by the presence of a "t" as if the file or directory has its "sticky" bit set). These links were going to vanish circa 11.23 as I recall. This isn't going to happen. They become regular symbolic links in 11.31. They appeared with in HP-UX 10.0 when the HP-UX filesystem layouts changed. You can recreate them with:

# /opt/upgrade/bin/tlinstall

Regards!

...JRF...
dictum9
Super Advisor

Re: /bin directory gone on 11.23 system

You are saying that tlinstall will put the link back?

Patrick Wallek
Honored Contributor

Re: /bin directory gone on 11.23 system

Yes, it should.

You really should start using /usr/bin though.
James R. Ferguson
Acclaimed Contributor

Re: /bin directory gone on 11.23 system

Hi (again):

> You are saying that tlinstall will put the link back?

Yes, and using it will set the sticky-bit to indicate that the symbolic link is categorized as one of the "transition" links (should you care).

Regards!

...JRF...
dictum9
Super Advisor

Re: /bin directory gone on 11.23 system

Thank you, it put the links back.