delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/21/13:40:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <00d701c1a2aa$fe19ac80$a100a8c0@mchasecompaq>
From: "Michael A Chase" <mchase AT ix DOT netcom DOT com>
To: <soren_andersen AT speedymail DOT org>, <cygwin AT cygwin DOT com>
References: <3C4A0683 DOT 13902 DOT 6CCDA31 AT localhost> <3C4BADB9 DOT 11885 DOT 77AC8A AT localhost>
Subject: Re: CygwinPerl Q - interact with symlinked dir?
Date: Mon, 21 Jan 2002 10:34:53 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

----- Original Message -----
From: "Soren Andersen" <soren_andersen AT speedymail DOT org>
To: <cygwin AT cygwin DOT com>
Sent: Monday, January 21, 2002 02:57
Subject: Re: CygwinPerl Q - interact with symlinked dir?


> On 20 Jan 2002 at 19:21, Gerrit P. Haase wrote:
>
> > Another question:
> >
> > >So I did this:
> > >------------------------------------------------------------
> > >$  ln -svdnf '/home/sorenboss/.cpan/' ~/.cpan
> > >create symbolic link `/cdv/e/home/sorenboss/.cpan' to
> > >`/home/sorenboss/.cpan/'
> > >------------------------------------------------------------
> >
> > Why didn't you mount this way:
> > $ mount -s -b x:/cygwin/home/sorenboss/.cpan \
> > > e:/home/sorenboss/.cpan
> > ?
> >
> > I use always mount for something like this.
>
> Thanks. Well, it didn't occur to me to do that, is why. I have seldom
mounted subdirs to subdirs,
> splicing something into the filesystem tree like that, and I think it is
because I haven't understood
> mount very well, and therefore been nervous about what would happen. This
is an area of the Cygwin
> documentation that could use some work, IMO.
>
>  [ a little time passes..]
>
> Looking at it again, I am *seriously* confused about what you are
suggesting. I thought -- and I am not
> claiming (and have never claimed) to thoroughly understand `mount' -- but
I thought that the last arg to
> mount had to be a POSIX path?? You seem to be supplying two win32/DOS
paths as args to `mount'.
> Is this good to do?

The second argument should be the POSIX path.  So your mount command would
be:

mount -s -b x:/cygwin/home/sorenboss/.cpan /home/sorenboss/.cpan

It might be useful to create an empty directory '/home/sorenboss/.cpan'
before the mount.  It seems to make umount and some directory searching work
better.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019