zsh-users
 help / color / mirror / code / Atom feed
* virtual symlinks
@ 1996-12-20 21:26 Jason R. Mastaler
  0 siblings, 0 replies; only message in thread
From: Jason R. Mastaler @ 1996-12-20 21:26 UTC (permalink / raw)
  To: zsh-users

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-12-20 21:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-12-20 21:26 virtual symlinks Jason R. Mastaler

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).