Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #7973

Re: may i have a soft link poiting to two directories at the same time?

From Bill Marcum <bill@nowhere.invalid>
Newsgroups comp.os.linux.misc
Subject Re: may i have a soft link poiting to two directories at the same time?
Date 2013-04-24 06:42 -0400
Organization Aioe.org NNTP Server
Message-ID <kl8cus$c1c$1@speranza.aioe.org> (permalink)
References <5d6a6b03-844d-4fca-9e92-afdea3231b4b@googlegroups.com>

Show all headers | View raw


On 04/17/2013 02:23 PM, www wrote:
> Hi:
>
> I have two real directories. I need to create 3rd directory and copy
> all the files from the two directories to the 3rd directory. Then I
> will create a soft link pointing to the 3rd directory. My program
> needs this soft link. The program will find its needed files in THE
> directory(the soft link directory).
>
> I am just wondering if I can skip creating 3rd directory and skip
> copying all the files from the two dirs into the 3rd directory(a lot
> of file copying, time consuming). Is that possible that I create a
> soft link pointing to the two directories at the same time? So the
> program will go into THE directory(superficially it is one directory,
> but in fact it is two directories).
>
> Thank you.
>

You could install unionfs-fuse, which allows two or more directories to 
be mounted at one point.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

may i have a soft link poiting to two directories at the same time? www <xsli2@yahoo.com> - 2013-04-17 11:23 -0700
  Re: may i have a soft link poiting to two directories at the same time? Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2013-04-17 11:45 -0700
    Re: may i have a soft link poiting to two directories at the same time? Rui Maciel <rui.maciel@gmail.com> - 2013-04-17 22:34 +0100
      Re: may i have a soft link poiting to two directories at the same time? Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2013-04-17 15:03 -0700
        Re: may i have a soft link poiting to two directories at the same time? David Brown <david.brown@removethis.hesbynett.no> - 2013-04-20 19:44 +0200
  Re: may i have a soft link poiting to two directories at the same time? Aragorn <stryder@telenet.be.invalid> - 2013-04-17 20:51 +0200
  Re: may i have a soft link poiting to two directories at the same time? J G Miller <miller@yoyo.ORG> - 2013-04-17 20:27 +0000
  Re: may i have a soft link poiting to two directories at the same time? Bill Marcum <bill@nowhere.invalid> - 2013-04-24 06:42 -0400

csiph-web