delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/02/03:43:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3987D106.9C6F76A1@cygnus.com>
Date: Wed, 02 Aug 2000 09:43:03 +0200
From: Corinna Vinschen <vinschen AT cygnus DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Mathis Severin <Severin DOT Mathis AT swisslife DOT ch>
CC: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Accessing local hard disks
References: <7C05304CF121D411BF4C0008C75D722B0136310F AT ns9850 DOT swisslife DOT ch>

Mathis Severin wrote:
> 
> Hello
> 
> For accessing local hard disk there are several possibilities. To make the
> task easy you can mount the different disks into the Cygwin file system or
> you can create symbolic links in the root of the file system using
> /cygdrive/c.
> 
> My questions are:
> - Which is the prefered way to choose ?

There's no explicit `prefered' way. You may do it as you want.
Personally I prefer mounting:
- Mounting is more predictable. I can see my mount table in one call
  to `mount' while I would have to search for every single symlink
  by myself.
- I can decide about the mount mode (text/binary) of the file system.

> - What is the difference between these two solutions (pros and cons) ?

Same as above, IMO. Pros for mounting, cons for /cygdrive symlinks.

> - Concerning performance, in what cases is the symbolic link the worse
> solution ? (Only when the link has to be resolved or even when a linked
> drive is the current working directory)

Try it. Symlinks should be slower in either case but I can't remember
of any published performance measurement.

> - When defining the symbolic links, what is the difference between using
> /cygdrive/c and //c ?

The //c syntax is deprecated since it collides with the //server/share
syntax.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin AT sources DOT redhat DOT com
Red Hat, Inc.
mailto:vinschen AT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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