What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Symlink help?!

  • Thread starter Thread starter Deleted member 27741
  • Start date Start date
D

Deleted member 27741

Guest
Ok. So I need some help with this symlink thing. I have files in location A that I will be editing. I want the OS to think the files are in location B.

More specifically, I want to be able to edit and save a file in this location:
/tmp/mnt/MYUSB/scripts/MYFILE
And have that editing translate into the file in this location:
/jffs/scripts/MYFILE

I am not sure if symlinking is the answer, nor do I know if I would need or not need the actual file to exist in the second location. Maybe hard linking is the answer here?

EDIT
*************************************************
Looks like I figured it out. First off, I had to make sure the /jffs/scripts/MYFILE file did not exist. then
ln -s /tmp/mnt/MYUSB/scripts/MYFILE /jffs/scripts/MYFILE
 
Last edited by a moderator:

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top