zsh-users
 help / color / mirror / code / Atom feed
From: "Jason R. Mastaler" <jason@Mastaler.COM>
To: zsh-users@math.gatech.edu
Subject: virtual symlinks
Date: Fri, 20 Dec 1996 16:26:04 -0500	[thread overview]
Message-ID: <199612202126.QAA04412@ashanti.webmaster.net> (raw)

I am looking for a way to fool my shell into bypassing the correct
filesystem and adhering to the "fake" directory I choose when I access
that directory.

For example, when I "cd /usr/local" I want to really end up in
"/tmp/local" on the filesystem, but want my shell to think I am in 
/usr/local.  I need to do this because I have a ton of compiled source
trees which I need to install into a temporary directory instead of
it's target directory on the filesystem which is /usr/local for most.

For some, it will be as easy as copying into /tmp/local, but others
have already been configured with /usr/local as the target directory
and will be installed there when I do a "make install" or equivalent.
The number of source trees is so vast, I don't have time to
reconfigure them.  An equivalent way to accomplish this would be to
make a symbolic link from /usr/local --> /tmp/local, and then run the
installs, but I would like to be able to accomplish this without using
root priveleges and without interrupting a running system which this
symlink would do.

I hope this makes sense.  I am only subscribed to zsh-announce, so
please CC: me if you want to reply to the list.  I will post
a summary of results if desired.  Thanks.

Jason R. Mastaler                                 jason@Mastaler.COM



                 reply	other threads:[~1996-12-20 21:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199612202126.QAA04412@ashanti.webmaster.net \
    --to=jason@mastaler.com \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).