Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Createing a symbolic link/2 seperate files sytems

Status
Not open for further replies.

dman7777777

IS-IT--Management
Jan 13, 2007
52
US
I want to create symbolic link to a text file in my home directory and I want to place the link in /etc/filename. But I keep getting a "/home/darin/test and /etc/yo are located on different file systems".

What Does this mean that /home/darin/ and /etc/yo are on two seperate logical volumes or two sepearate volume groups?

And how do I overcome this?

 
You're attempting to hard-link, so the system complains, as that is only possible inside one filesystem

try ln [red]-s[/red]

[tt]cd /this/file/system/path
ln [red]-s[/red] /other/file/system/path/otherfilename thisfilename
ls -l thisfilename[/tt]

See the "thisfilename -> " symlink info?



HTH,

p5wizard
 
ls -fs /frstfilenameabsolutepath /secondfilenameabsolutepath
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top