public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Symbolic links.
@ 2001-07-01  1:17 Jens Yllman
  0 siblings, 0 replies; 21+ messages in thread
From: Jens Yllman @ 2001-07-01  1:17 UTC (permalink / raw)
  To: cygwin

  Hi,

  setup.exe uses the old symbolic links when it installs packages. Is this 
realy correct?

  Then I noticed some talk about .lnk here on the list. .lnk files created 
from windows may contain alot more information then a .lnk file created by 
cygwin as a symbolic link.

  I think that a .lnk file created by windows can not be treated as a 
symbolic link in cygwin. At least not in the archiving sence.

  You might say that why archive windows files with a UNIX tool? At the 
moment I'm spending alot of time trying to make may programs compile with 
both Borland C++, Visual C++ and gcc. And those project may contain .lnk 
files that are not symbolic links in the cygwin sence. And should be 
presesrved when archived.

  So using the .lnk for symbolic links may be a bad choose. Using a 
fileformat that can contain/handle more then one thing is not a good thing 
if used in a system for only one thing.

  These are just my thougts. I've not read through all the posts on this 
list. So I might state something that is already clear.

  Jens Yllman



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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Symbolic Links
  2003-12-16  4:24             ` Elliott Wilcoxon
@ 2003-12-16 16:39               ` Corinna Vinschen
  0 siblings, 0 replies; 21+ messages in thread
From: Corinna Vinschen @ 2003-12-16 16:39 UTC (permalink / raw)
  To: cygwin

On Dec 15 21:58, Elliott Wilcoxon wrote:
> NTFS also supports hard links, and there's a program that comes with 
> Windows that lets you make them (searching WinXP Pro's Help and Support 
> Center for 'hardlink' gives the relevant entries).  The result would 
> then be that it would work in both Cygwin and Windows (all programs), 
> although it can be confusing if you're not used to thinking of file 
> system-y stuff.

Hardlinks don't work for directories, only for files.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Symbolic Links
  2003-12-16  4:07           ` Brian Dessent
@ 2003-12-16  4:24             ` Elliott Wilcoxon
  2003-12-16 16:39               ` Corinna Vinschen
  0 siblings, 1 reply; 21+ messages in thread
From: Elliott Wilcoxon @ 2003-12-16  4:24 UTC (permalink / raw)
  To: cygwin

NTFS also supports hard links, and there's a program that comes with 
Windows that lets you make them (searching WinXP Pro's Help and Support 
Center for 'hardlink' gives the relevant entries).  The result would 
then be that it would work in both Cygwin and Windows (all programs), 
although it can be confusing if you're not used to thinking of file 
system-y stuff.

Elliott Wilcoxon

Brian Dessent wrote:

> Dan Adams wrote:
> 
>>My question was, is there any way to use the cygwin links, not the windows
>>ones, to also be able to work in the open dialog box in MS Office products
>>like excel for example. As I said, it is working in windows explorer. The
>>only reason why I was mentioning about the windows links is because they
>>were working in excel and I figured it would be a good example.
> 
> 
> If your filesystem is NTFS (and $deity hope it is, as FAT32 hurts like
> something awful) then you can try fooling around with its built in
> symbolic links, which are called junctions in the parlance.  There are
> no built-in tools to do this but the venerable Mark Russinovich again
> comes to the rescue with his freeware: 
> 
> from <http://www.sysinternals.com/ntw2k/source/misc.shtml#junction>:
> 
> Junction
> 
> Win2K's version of NTFS supports directory symbolic links, where a
> directory serves as a symbolic link to another directory on the
> computer. For example, if the directory D:\SYMLINK specified
> C:\WINNT\SYSTEM32 as its target, then an application accessing
> D:\SYMLINK\DRIVERS would in reality be accessing
> C:\WINNT\SYSTEM32\DRIVERS. Directory symbolic links are known as NTFS
> junctions in Win2K. Unfortunately, Win2K comes with no tools for
> creating junctions - you have to purchase the Win2K Resource Kit, which
> comes the linkd program for creating junctions. I therefore decided to
> write my own junction-creating tool: Junction. Junction not only allows
> you to create NTFS junctions, it allows you to see if files or
> directories are actually reparse points. Reparse points are the
> mechanism on which NTFS junctions are based, and they are used by
> Win2K's Remote Storage Service (RSS), as well as volume mount points. 
> 
> If you want to view reparse information, the usage for Junction is the
> following: 
> 
> Usage: junction [-s] <directory or file name> 
> 
> -s	Recurse subdirectories. 
> 
> If you want to create or delete a junction, use Junction like this: 
> 
> Usage: junction [-d] <junction directory> [<junction target>] 
> 
> To delete a junction specify the -d switch and the junction name. 
> 
> Download Junction (16KB) 
> 
> Download Junction Source (22 KB) 
> 
> 
> I have not tried this but it sounds like it might be helpful for you.  I
> have no idea how Cygwin would interact with one of these, but since it's
> layered on top of Windows' kernel NTFS driver I would expect that it
> would treat them just as any other app would, i.e. do the right thing.
> 
> Brian
> 
> --
> 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/
> 
> 
> .
> 

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Symbolic Links
  2003-12-16  0:39         ` Dan Adams
@ 2003-12-16  4:07           ` Brian Dessent
  2003-12-16  4:24             ` Elliott Wilcoxon
  0 siblings, 1 reply; 21+ messages in thread
From: Brian Dessent @ 2003-12-16  4:07 UTC (permalink / raw)
  To: cygwin

Dan Adams wrote:
> 
> My question was, is there any way to use the cygwin links, not the windows
> ones, to also be able to work in the open dialog box in MS Office products
> like excel for example. As I said, it is working in windows explorer. The
> only reason why I was mentioning about the windows links is because they
> were working in excel and I figured it would be a good example.

If your filesystem is NTFS (and $deity hope it is, as FAT32 hurts like
something awful) then you can try fooling around with its built in
symbolic links, which are called junctions in the parlance.  There are
no built-in tools to do this but the venerable Mark Russinovich again
comes to the rescue with his freeware: 

from <http://www.sysinternals.com/ntw2k/source/misc.shtml#junction>:

Junction

Win2K's version of NTFS supports directory symbolic links, where a
directory serves as a symbolic link to another directory on the
computer. For example, if the directory D:\SYMLINK specified
C:\WINNT\SYSTEM32 as its target, then an application accessing
D:\SYMLINK\DRIVERS would in reality be accessing
C:\WINNT\SYSTEM32\DRIVERS. Directory symbolic links are known as NTFS
junctions in Win2K. Unfortunately, Win2K comes with no tools for
creating junctions - you have to purchase the Win2K Resource Kit, which
comes the linkd program for creating junctions. I therefore decided to
write my own junction-creating tool: Junction. Junction not only allows
you to create NTFS junctions, it allows you to see if files or
directories are actually reparse points. Reparse points are the
mechanism on which NTFS junctions are based, and they are used by
Win2K's Remote Storage Service (RSS), as well as volume mount points. 

If you want to view reparse information, the usage for Junction is the
following: 

Usage: junction [-s] <directory or file name> 

-s	Recurse subdirectories. 

If you want to create or delete a junction, use Junction like this: 

Usage: junction [-d] <junction directory> [<junction target>] 

To delete a junction specify the -d switch and the junction name. 

Download Junction (16KB) 

Download Junction Source (22 KB) 
>>

I have not tried this but it sounds like it might be helpful for you.  I
have no idea how Cygwin would interact with one of these, but since it's
layered on top of Windows' kernel NTFS driver I would expect that it
would treat them just as any other app would, i.e. do the right thing.

Brian

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Symbolic Links
  2003-12-15 21:09       ` Christopher Faylor
@ 2003-12-16  0:39         ` Dan Adams
  2003-12-16  4:07           ` Brian Dessent
  0 siblings, 1 reply; 21+ messages in thread
From: Dan Adams @ 2003-12-16  0:39 UTC (permalink / raw)
  To: cygwin

My question was, is there any way to use the cygwin links, not the windows
ones, to also be able to work in the open dialog box in MS Office products
like excel for example. As I said, it is working in windows explorer. The
only reason why I was mentioning about the windows links is because they
were working in excel and I figured it would be a good example.

-- 
Dan Adams - dan@infochi.com
http://www.infochi.com


"Christopher Faylor" <cgf-no-personal-reply-please@cygwin.com> wrote in
message news:20031215201959.GA25326@redhat.com...
> On Mon, Dec 15, 2003 at 01:16:16PM -0700, Dan Adams wrote:
> >When I try to use a windows shortcut file in cygwin it doesn't seem to
work.
>
> Correct.  It is not supposed to work.  Cygwin understands cygwin
shortcuts.
> Windows understand windows and cygwin shortcuts.
> --
> Please use the resources at cygwin.com rather than sending personal email.
> Special for spam email harvesters: send email to aaaspam@sourceware.org
> and be permanently blocked from mailing lists at sources.redhat.com
>




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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Symbolic Links
  2003-12-15 21:04     ` Dan Adams
@ 2003-12-15 21:09       ` Christopher Faylor
  2003-12-16  0:39         ` Dan Adams
  0 siblings, 1 reply; 21+ messages in thread
From: Christopher Faylor @ 2003-12-15 21:09 UTC (permalink / raw)
  To: cygwin

On Mon, Dec 15, 2003 at 01:16:16PM -0700, Dan Adams wrote:
>When I try to use a windows shortcut file in cygwin it doesn't seem to work.

Correct.  It is not supposed to work.  Cygwin understands cygwin shortcuts.
Windows understand windows and cygwin shortcuts.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam@sourceware.org
and be permanently blocked from mailing lists at sources.redhat.com

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Symbolic Links
  2003-12-15 20:16   ` Paul Kraus
@ 2003-12-15 21:04     ` Dan Adams
  2003-12-15 21:09       ` Christopher Faylor
  0 siblings, 1 reply; 21+ messages in thread
From: Dan Adams @ 2003-12-15 21:04 UTC (permalink / raw)
  To: cygwin

When I try to use a windows shortcut file in cygwin it doesn't seem to work.
In the example that I tried, misc.lnk is the name of the shortcut from
windows.

dan@dan-infochi ~/Finance>ls
Auto.xls    Copy of Daniel Adams.mny  Financial Plan.doc      Insurance
Inventory.doc  Stock Stats.xls  stock.xls
Bills.xls   Daniel Adams.mny          Fraud Hotline 1800.doc  Misc.lnk
other
Checks.xls  Distribution.xls          History.xls             Paychecks.xls
personal.mdb
dan@dan-infochi ~/Finance>cd Misc.lnk
Misc.lnk: Not a directory.

That is the attempt I did, with the output. Do I need to do something
specific to get this to work?

Dan

"Paul Kraus" <pkraus@pelsupply.com> wrote in message
news:001601c3c343$c6a2d090$39fea8c0@pkraus...
> I have not tested this but per the docs on cygwin site the new version
> does follow windows shortcut link files.
>
> > -----Original Message-----
> > From: cygwin-owner@cygwin.com
> > [mailto:cygwin-owner@cygwin.com] On Behalf Of Dan Adams
> > Sent: Monday, December 15, 2003 2:39 PM
> > To: cygwin@cygwin.com
> > Subject: Re: Symbolic Links
> >
> >
> > Part of the reason I am interested in this, I guess I forgot
> > to say is to be able to have both Windows and Cygwin
> > recognize the links. If I use the windows shortcut creation,
> > cygwin doesn't recognize it. If I use the cygwin thing below,
> > excel doesn't recognize it, but windows does.
> >
> > Dan
> >
> > "Dan Adams" <dan@infochi.com> wrote in message
> > news:brl2a7$6uc$1@sea.gmane.org...
> > > Hi, I have been using the symbolic links feature of cygwin to link
> > > from
> > one
> > > folder to another in my system. I know that is not a big beneficial
> > > use of cygwin, but it is one that adds to the benefit of cygwin. I
> > > also use
> > cygwin
> > > for other stuff.
> > >
> > > I was wondering, does anyone know is something specific is
> > needed to
> > > be
> > able
> > > to link from one folder to another, for example I am linking from
> > > C:\My Documents to D:\Finance in a link file called other. Honestly
> > > this works
> > in
> > > the file manager part of windows explorer, one desire I
> > have ot this
> > > would be to be able to use this in Microsoft Excel by
> > clicking on the
> > > "My Documents" link on the left side and then by opening the folder
> > > called "other" in the file list. The only problem with this
> > is that by
> > > using the command "ln -s "D:\Finance" other" does not
> > actually let the
> > > folder show
> > up
> > > in excel. Is this possible, or is this maybe a future feature that
> > > will be implemented? If it is in the feature, I know I would
> > > appreciate the
> > ability.
> > >
> > > Dan Adams - dan@infochi.com
> > > http://www.infochi.com
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> > --
> > 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/
> >
>
>




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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* RE: Symbolic Links
  2003-12-15 20:05 ` Dan Adams
@ 2003-12-15 20:16   ` Paul Kraus
  2003-12-15 21:04     ` Dan Adams
  0 siblings, 1 reply; 21+ messages in thread
From: Paul Kraus @ 2003-12-15 20:16 UTC (permalink / raw)
  To: 'Dan Adams', cygwin

I have not tested this but per the docs on cygwin site the new version
does follow windows shortcut link files.

> -----Original Message-----
> From: cygwin-owner@cygwin.com 
> [mailto:cygwin-owner@cygwin.com] On Behalf Of Dan Adams
> Sent: Monday, December 15, 2003 2:39 PM
> To: cygwin@cygwin.com
> Subject: Re: Symbolic Links
> 
> 
> Part of the reason I am interested in this, I guess I forgot 
> to say is to be able to have both Windows and Cygwin 
> recognize the links. If I use the windows shortcut creation, 
> cygwin doesn't recognize it. If I use the cygwin thing below, 
> excel doesn't recognize it, but windows does.
> 
> Dan
> 
> "Dan Adams" <dan@infochi.com> wrote in message 
> news:brl2a7$6uc$1@sea.gmane.org...
> > Hi, I have been using the symbolic links feature of cygwin to link 
> > from
> one
> > folder to another in my system. I know that is not a big beneficial 
> > use of cygwin, but it is one that adds to the benefit of cygwin. I 
> > also use
> cygwin
> > for other stuff.
> >
> > I was wondering, does anyone know is something specific is 
> needed to 
> > be
> able
> > to link from one folder to another, for example I am linking from 
> > C:\My Documents to D:\Finance in a link file called other. Honestly 
> > this works
> in
> > the file manager part of windows explorer, one desire I 
> have ot this 
> > would be to be able to use this in Microsoft Excel by 
> clicking on the 
> > "My Documents" link on the left side and then by opening the folder 
> > called "other" in the file list. The only problem with this 
> is that by 
> > using the command "ln -s "D:\Finance" other" does not 
> actually let the 
> > folder show
> up
> > in excel. Is this possible, or is this maybe a future feature that 
> > will be implemented? If it is in the feature, I know I would 
> > appreciate the
> ability.
> >
> > Dan Adams - dan@infochi.com
> > http://www.infochi.com
> >
> >
> >
> >
> 
> 
> 
> 
> --
> 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/
> 


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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Symbolic Links
  2003-12-15 19:44 Symbolic Links Dan Adams
@ 2003-12-15 20:05 ` Dan Adams
  2003-12-15 20:16   ` Paul Kraus
  0 siblings, 1 reply; 21+ messages in thread
From: Dan Adams @ 2003-12-15 20:05 UTC (permalink / raw)
  To: cygwin

Part of the reason I am interested in this, I guess I forgot to say is to be
able to have both Windows and Cygwin recognize the links. If I use the
windows shortcut creation, cygwin doesn't recognize it. If I use the cygwin
thing below, excel doesn't recognize it, but windows does.

Dan

"Dan Adams" <dan@infochi.com> wrote in message
news:brl2a7$6uc$1@sea.gmane.org...
> Hi, I have been using the symbolic links feature of cygwin to link from
one
> folder to another in my system. I know that is not a big beneficial use of
> cygwin, but it is one that adds to the benefit of cygwin. I also use
cygwin
> for other stuff.
>
> I was wondering, does anyone know is something specific is needed to be
able
> to link from one folder to another, for example I am linking from C:\My
> Documents to D:\Finance in a link file called other. Honestly this works
in
> the file manager part of windows explorer, one desire I have ot this would
> be to be able to use this in Microsoft Excel by clicking on the "My
> Documents" link on the left side and then by opening the folder called
> "other" in the file list. The only problem with this is that by using the
> command "ln -s "D:\Finance" other" does not actually let the folder show
up
> in excel. Is this possible, or is this maybe a future feature that will be
> implemented? If it is in the feature, I know I would appreciate the
ability.
>
> Dan Adams - dan@infochi.com
> http://www.infochi.com
>
>
>
>




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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Symbolic Links
@ 2003-12-15 19:44 Dan Adams
  2003-12-15 20:05 ` Dan Adams
  0 siblings, 1 reply; 21+ messages in thread
From: Dan Adams @ 2003-12-15 19:44 UTC (permalink / raw)
  To: cygwin

Hi, I have been using the symbolic links feature of cygwin to link from one
folder to another in my system. I know that is not a big beneficial use of
cygwin, but it is one that adds to the benefit of cygwin. I also use cygwin
for other stuff.

I was wondering, does anyone know is something specific is needed to be able
to link from one folder to another, for example I am linking from C:\My
Documents to D:\Finance in a link file called other. Honestly this works in
the file manager part of windows explorer, one desire I have ot this would
be to be able to use this in Microsoft Excel by clicking on the "My
Documents" link on the left side and then by opening the folder called
"other" in the file list. The only problem with this is that by using the
command "ln -s "D:\Finance" other" does not actually let the folder show up
in excel. Is this possible, or is this maybe a future feature that will be
implemented? If it is in the feature, I know I would appreciate the ability.

Dan Adams - dan@infochi.com
http://www.infochi.com




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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Symbolic Links
@ 2001-03-30 15:22 Sean Pollack
  0 siblings, 0 replies; 21+ messages in thread
From: Sean Pollack @ 2001-03-30 15:22 UTC (permalink / raw)
  To: cygwin

Hi,

I just check to make sure I have the latest version of Cygwin and I do
(1.3?) and I was trying to test symbolic links and couldn't get it to work.

put
set CYGWIN=binmode notty ntsec winsymlinks

into my bat file and ran a new shell.

Tried to create a symbolic link within Cygwin and use it with windows.
Tried the other way around too and no workey.

Did I miss something?

Thanks,
Sean

winNT sp6


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Symbolic links
  2001-01-27  8:32 Symbolic links David A. Cobb
@ 2001-01-27  9:26 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 0 replies; 21+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-01-27  9:26 UTC (permalink / raw)
  To: David A. Cobb, Cygwin List

At 11:32 AM 1/27/2001, David A. Cobb wrote:
>Is it, in principle, possible to use Windows "shortcuts" with the same
>semantics
>as Symlinks?  Meaning, to have cygwindll parse the shortcut xxx.lnk file
>and
>do the linking?



Theoretically.  It may be harder than it looks however.  Certainly, if the
number of times this has been "suggested" but no implementation has ever 
been offered is an indication, it's either harder to do than one would think
or far less interesting in practice than theory.

As always, "patches are gratefully accepted".



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Symbolic links
@ 2001-01-27  8:32 David A. Cobb
  2001-01-27  9:26 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 21+ messages in thread
From: David A. Cobb @ 2001-01-27  8:32 UTC (permalink / raw)
  To: Cygwin List

Is it, in principle, possible to use Windows "shortcuts" with the same
semantics
as Symlinks?  Meaning, to have cygwindll parse the shortcut xxx.lnk file
and
do the linking?

--
David A. Cobb, Software Engineer, Public Access Advocate.  Public Key
at:
< http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=superbiskit >
"Don't buy or use crappy software"
"By the grace of God I am a Christian man,
 by my actions a great sinner" -- The Way of a Pilgrim [R. M. French,
tr.]



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Symbolic links
@ 2000-07-27  5:58 Earnie Boyd
  0 siblings, 0 replies; 21+ messages in thread
From: Earnie Boyd @ 2000-07-27  5:58 UTC (permalink / raw)
  To: David Starks-Browning, cygwin

--- David Starks-Browning <starksb@ebi.ac.uk> wrote:
> I'm surprised to see there is no obvious answer to this in the
> FAQ.  I'll try to add something.
> 

That's because it's not been a Frequently Asked Question.

Cheers,

=====
---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://gw32.freeyellow.com/ >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Symbolic links
  2000-07-27  1:45 ` Corinna Vinschen
@ 2000-07-27  5:47   ` David Starks-Browning
  0 siblings, 0 replies; 21+ messages in thread
From: David Starks-Browning @ 2000-07-27  5:47 UTC (permalink / raw)
  To: cygwin

I'm surprised to see there is no obvious answer to this in the
FAQ.  I'll try to add something.

David

On Thursday 27 Jul 00, Corinna Vinschen writes:
> Mathis Severin wrote:
> > 
> > Hello
> > 
> > Environment: cygwin 1.1.2 on NT 4.0
> > 
> > I created a symbolic link to a file (ln -s /someDir/someFile someFile).
> > Now I would like to open this file using for example notepad
> > (notepad someFile). Instead of opening the file someFile, the file
> > containing the link description is displayed in notepad. Is this the
> > expected behaviour? Can this be changed by some settings?
> > 
> > A similar behaviour I get when trying to open a file on a mounted
> > directory. For example trying to open the file /someFile
> > (notepad /someFile), where / is mounted to c:\cygnus. This gives the
> > error: 'Cannot open the /someFile file'.
> > 
> > Thanks for your help.
> 
> Neither symbolic links nor mount points created with Cygwin are
> transparent to native Windows applications. Better use a Cygwin
> compiled vim or similar...
> 
> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                        mailto:cygwin@sources.redhat.com
> Red Hat, Inc.
> mailto:vinschen@cygnus.com
> 
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Symbolic links
@ 2000-07-27  5:47 Earnie Boyd
  0 siblings, 0 replies; 21+ messages in thread
From: Earnie Boyd @ 2000-07-27  5:47 UTC (permalink / raw)
  To: Mathis Severin, 'cygwin@sourceware.cygnus.com'

Symbolic links are a Cygwin creation and can only be understood by Cygwin
programs.  If you open the symbolic link with anything other than a Cygwin
program you will see the magic string that makes it possible.

Cheers,
Earnie.
--- Mathis Severin <Severin.Mathis@swisslife.ch> wrote:
> Hello
> 
> Environment: cygwin 1.1.2 on NT 4.0
> 
> I created a symbolic link to a file (ln -s /someDir/someFile someFile). 
> Now I would like to open this file using for example notepad 
> (notepad someFile). Instead of opening the file someFile, the file 
> containing the link description is displayed in notepad. Is this the 
> expected behaviour? Can this be changed by some settings?
> 
> A similar behaviour I get when trying to open a file on a mounted 
> directory. For example trying to open the file /someFile 
> (notepad /someFile), where / is mounted to c:\cygnus. This gives the
> error: 'Cannot open the /someFile file'.
> 
> Thanks for your help.
> 
> Severin Mathis
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 


__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Symbolic links
  2000-07-27  0:46 Mathis Severin
@ 2000-07-27  1:45 ` Corinna Vinschen
  2000-07-27  5:47   ` David Starks-Browning
  0 siblings, 1 reply; 21+ messages in thread
From: Corinna Vinschen @ 2000-07-27  1:45 UTC (permalink / raw)
  To: Mathis Severin; +Cc: 'cygwin@sourceware.cygnus.com'

Mathis Severin wrote:
> 
> Hello
> 
> Environment: cygwin 1.1.2 on NT 4.0
> 
> I created a symbolic link to a file (ln -s /someDir/someFile someFile).
> Now I would like to open this file using for example notepad
> (notepad someFile). Instead of opening the file someFile, the file
> containing the link description is displayed in notepad. Is this the
> expected behaviour? Can this be changed by some settings?
> 
> A similar behaviour I get when trying to open a file on a mounted
> directory. For example trying to open the file /someFile
> (notepad /someFile), where / is mounted to c:\cygnus. This gives the
> error: 'Cannot open the /someFile file'.
> 
> Thanks for your help.

Neither symbolic links nor mount points created with Cygwin are
transparent to native Windows applications. Better use a Cygwin
compiled vim or similar...

Corinna

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



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Symbolic links
@ 2000-07-27  0:46 Mathis Severin
  2000-07-27  1:45 ` Corinna Vinschen
  0 siblings, 1 reply; 21+ messages in thread
From: Mathis Severin @ 2000-07-27  0:46 UTC (permalink / raw)
  To: 'cygwin@sourceware.cygnus.com'

Hello

Environment: cygwin 1.1.2 on NT 4.0

I created a symbolic link to a file (ln -s /someDir/someFile someFile). 
Now I would like to open this file using for example notepad 
(notepad someFile). Instead of opening the file someFile, the file 
containing the link description is displayed in notepad. Is this the 
expected behaviour? Can this be changed by some settings?

A similar behaviour I get when trying to open a file on a mounted 
directory. For example trying to open the file /someFile 
(notepad /someFile), where / is mounted to c:\cygnus. This gives the
error: 'Cannot open the /someFile file'.

Thanks for your help.

Severin Mathis


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: symbolic links
  1997-03-07 12:06 Basim Kadhim
@ 1997-03-20  2:58 ` Geoffrey Noer
  0 siblings, 0 replies; 21+ messages in thread
From: Geoffrey Noer @ 1997-03-20  2:58 UTC (permalink / raw)
  To: kadhim; +Cc: gnu-win32

Basim Kadhim wrote:
> 
> The FAQ indicates that you can't execute a link or follow it as a directory.
> Is this going to continue to be the case or is it the intention that this
> will eventually change?
[...]

It'll continue to be the case until we fix this or until someone sends us a
patch we can use.  This is something we intend to fix eventually.

-- 
Geoffrey Noer
noer@cygnus.com
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: symbolic links
@ 1997-03-08  8:38 Larry Hall
  0 siblings, 0 replies; 21+ messages in thread
From: Larry Hall @ 1997-03-08  8:38 UTC (permalink / raw)
  To: kadhim, gnu-win32

At 10:57 AM 3/7/97 -0700, Basim Kadhim wrote:
>The FAQ indicates that you can't execute a link or follow it as a directory.
>Is this going to continue to be the case or is it the intention that this
>will eventually change?
>
>We have tried porting the Eli compiler construction system to NT using the
>toolset.  The major stumbling block appears to be the problems with
>symbolic links.
>
>-- 
>Basim Kadhim					kadhim@cs.colorado.edu
>University of Colorado, Boulder
>-
>For help on using this list, send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>

There's a patch available from 
http://wwwdim.uqac.uquebec.ca/ftp/pub/gnuwin32/patches/ that is supposed to 
fix this problem, if you want to build it.  I haven't tried it yet
myself....

Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      (617) 239-1053
8 Grove Street                          (617) 239-1655 - FAX
Wellesley, MA  02181                             

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 21+ messages in thread

* symbolic links
@ 1997-03-07 12:06 Basim Kadhim
  1997-03-20  2:58 ` Geoffrey Noer
  0 siblings, 1 reply; 21+ messages in thread
From: Basim Kadhim @ 1997-03-07 12:06 UTC (permalink / raw)
  To: gnu-win32

The FAQ indicates that you can't execute a link or follow it as a directory.
Is this going to continue to be the case or is it the intention that this
will eventually change?

We have tried porting the Eli compiler construction system to NT using the
toolset.  The major stumbling block appears to be the problems with
symbolic links.

-- 
Basim Kadhim					kadhim@cs.colorado.edu
University of Colorado, Boulder
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2003-12-16 10:02 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-01  1:17 Symbolic links Jens Yllman
  -- strict thread matches above, loose matches on Subject: below --
2003-12-15 19:44 Symbolic Links Dan Adams
2003-12-15 20:05 ` Dan Adams
2003-12-15 20:16   ` Paul Kraus
2003-12-15 21:04     ` Dan Adams
2003-12-15 21:09       ` Christopher Faylor
2003-12-16  0:39         ` Dan Adams
2003-12-16  4:07           ` Brian Dessent
2003-12-16  4:24             ` Elliott Wilcoxon
2003-12-16 16:39               ` Corinna Vinschen
2001-03-30 15:22 Sean Pollack
2001-01-27  8:32 Symbolic links David A. Cobb
2001-01-27  9:26 ` Larry Hall (RFK Partners, Inc)
2000-07-27  5:58 Earnie Boyd
2000-07-27  5:47 Earnie Boyd
2000-07-27  0:46 Mathis Severin
2000-07-27  1:45 ` Corinna Vinschen
2000-07-27  5:47   ` David Starks-Browning
1997-03-08  8:38 symbolic links Larry Hall
1997-03-07 12:06 Basim Kadhim
1997-03-20  2:58 ` Geoffrey Noer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).