Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-Id: <5.1.0.14.2.20010730004125.02b8cbb8@imap.local.mscha.com>
X-Sender: ml@imap.local.mscha.com (Unverified)
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Mon, 30 Jul 2001 00:49:44 +0200
To: "Noel L Yap" <yap_noel@jpmorgan.com>, cygwin@cygwin.com
From: Michael Schaap <cygwin@mscha.com>
Subject: Re: directory hard links
In-Reply-To: <85256A96.004B4D42.00@nyc-ntgw-n01.ny.jpmorgan.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Virus-Scanned: at mscha.org by amavisd-milter snapshot-20010714 (http://amavis.org/)

At 15:42 27-7-2001, Noel L Yap wrote:


> >On Thu, Jul 26, 2001 at 06:09:56PM -0400, Noel L Yap wrote:
> >> How can I create directory hard links?
> >
> >You can't. They actually aren't allowed on POSIX systems.
>
>Then is it possible to have mounts that are local to the shell?

I'm not sure what you mean.  You want to use mounts to emulate directory 
hard links, right?  But hard links can't be process specific.

Mount can do anything directory hard links would be able to do - plus they 
can be user specific, if you want to.
To emulate
         $ ln /a/directory /another/directory
you would do something like
         $ mkdir -p /another/directory
         $ mount -fs `cygpath -wa /a/directory` /another/directory

Hope this helps,

  - Michael

-- 
     I always wondered about the meaning of life.   So I looked it
     up in the dictionary under "L" and there it was - the meaning
     of life.  It was not what I expected.                  - Dogbert 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

