Solved

Need an example for how to link two directories in Solaris

Posted on 2004-04-15
3
324 Views
Last Modified: 2013-12-27
I am trying to set up gcc and I am running into space limitations in the /var/pkg directory and I heard that there is a way to symbolically link this directory to another with more space so that the gcc install can work.  Please give me an example of how I can "symbolically link" two directories for this reason.
0
Comment
Question by:roduno
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Expert Comment

by:john-at-7fff
ID: 10838993
0
 
LVL 7

Accepted Solution

by:
glassd earned 250 total points
ID: 10841136
Given directory with the required space:
/some/path/bigdir
and another directory on another filesystem:
/some/path/mydir

You can make a new directory which is a link the that directory.
mkdir /some/path/bigdir/newdir
ln -s /some/path/bigdir/newdir /some/path/mydir

This will give you a directory /some/path/mydir/newdir which is a link to /some/path/bigdir/newdir and so should have oodles of space in it.
0
 

Author Comment

by:roduno
ID: 10851269
That worked.  Thanks.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question