- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Symbolic Link Help
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2002 02:19 PM
10-19-2002 02:19 PM
I do> ln -s /dirname /mountpoint. This puts dirname inside /mountpoint. I want them to be the be efectivly the same. What am i doing wrong.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2002 02:55 PM
10-19-2002 02:55 PM
Re: Symbolic Link Help
Its the other way round...
For example if you trying to create a directory in the root say /abc and you want to link this to /home mountpoint..so when the user does a cd to /abc , the user goes to /home..then u do..
$ ln -s /home /abc
$ ll /abc
$ lrwxrwxrwx 1 root sys 5 Oct /abc -> /home
Thanks
Nag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2002 03:05 AM
10-20-2002 03:05 AM
Re: Symbolic Link Help
from root directory
ln -s /mountpoint /
after doing this there will be symbolic link creaned with the same name as last dir of mountpoint. The simply rename it
Example:
ln -s /aaa/bbb/ccc /
there will be link "ccc" created in /
mv /ccc /dir
or try
ln -s /mountpoint /dirname
but dirname should not exist.
Eugeny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2002 03:09 AM
10-20-2002 03:09 AM
Re: Symbolic Link Help
Mark,
from root directory
ln -s /mountpoint /
after doing this there will be symbolic link created with the same name as last dir of mountpoint. Then simply rename it
Example:
ln -s /aaa/bbb/ccc /
there will be symlink "ccc" created in /
mv /ccc /dirname
or try
ln -s /mountpoint /dirname
but "/dirname" should not exist before doing this.
Eugeny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 12:01 AM
10-21-2002 12:01 AM
Solutionln works like that :
ln -s source dest
So just like for cp, if dest exist and is a directory, it will create dest/source. In your case you smply wanted to get an new acces to /mountpoint, so /mountpoint is the source.
The rigth command is :
ln -s /mountpoint /dirname
Regards,
Jean-Louis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 05:14 AM
10-21-2002 05:14 AM