Operating System - HP-UX
1834391 Members
1837 Online
110066 Solutions
New Discussion

creating soft link for directories

 
SOLVED
Go to solution
Shivkumar
Super Advisor

creating soft link for directories

Hey Guys,

I want to create software link from /var/tmp directory /abc/xyz directory.

I am having a disk space problem while installing software on hpux 11i. I am thinking to create a software link from /var/tmp/ to /abc/xyz/ directory so that software being installed can use the disk space on /abc/xyz directory.

Please note that i am installing the software on /opt/ directory but it looks like installation files are going to
/var/tmp during installation.

Please suggest.

Thanks,
Shiv
2 REPLIES 2
Suraj Singh_1
Trusted Contributor
Solution

Re: creating soft link for directories

Hi Shiv,

Use ln -s /var/tmp /abc/xyz

Note that in this case, /abc/xyz must be the mount point to another filesystem (since you mentioned you are out of space in /tmp filesystem).

Regards,
Suraj
What we cannot speak about we must pass over in silence.
Steven E. Protter
Exalted Contributor

Re: creating soft link for directories

Usually /var/tmp is part of the /var filesystem.

The softlink is good, but you might find you clear somf /var space by simply firing up sam, routine tasks and doing a log file trim.

Depends on how often you have already been trimming.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com