delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/12/19:22:23

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: zzapper <david AT tvis DOT co DOT uk>
Subject: Re: when to use a ln or a mount
Date: Tue, 13 Mar 2007 00:21:18 +0000 (UTC)
Lines: 36
Message-ID: <Xns98F2364FD3D6zzappergmailcom@80.91.229.5>
References: <Xns98F17521F7E4Bzzappergmailcom AT 80 DOT 91 DOT 229 DOT 5> <45F5A072 DOT 4D263AA0 AT dessent DOT net>
User-Agent: Xnews/2006.08.24
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Brian Dessent <brian AT dessent DOT net> wrote in news:45F5A072.4D263AA0
@dessent.net:

> zzapper wrote:
> 
>> In my confused mind ln and mount seem to achieve the same thing.
>> In my case I want to have an easy to type path(s) to my old pc
>> 
>> so I typed:-
>> 
>> mount -f -u -b "//dell25/c/" "/o"
>> 
>> but I also tested
>> 
>> ln -s //dell25/c/ /old
>> 
>> In the Cygwin context does one method have any advatanges over the over?
> 
Thanks the fog is starting to clear 
a ln (link) is basically from x to y

whereas a mount is anywhere to y

(although you can fudge a ln to look like a mount if you create it in a root 
directory)

BTW for those who've never used either

With the above mount I can transfer files from my old PC by

cp /o/downloads/*.zip c:/zips

-- 
zzapper
http://SuccessTheory.com/tips/ vim, zsh & success tips



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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