Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <5.1.0.14.2.20010730004125.02b8cbb8@imap.local.mscha.com> X-Sender: ml AT imap DOT local DOT mscha DOT com (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 30 Jul 2001 00:49:44 +0200 To: "Noel L Yap" , cygwin AT cygwin DOT com From: Michael Schaap 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/