This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: b19,20: ln -d - hard links .. ?


Win32 doesn't do hard links!  Remember you're not on UNIX your only emulating it and there will be things nearly impossible and this will be one of them.


I'm really not sure the syntax is totally correct, but I have difficulty
> with this aspect.
> Vis:
> 
> $ mount
> Device           Directory           Type        Flags
> D:               /var                native      text=binary
> C:               /                   native      text=binary
> $ ln /var/temp /tmp
> ln: /var/temp: hard link not allowed for directory
> $ ln /cygnus /tmp
> ln: /cygnus: hard link not allowed for directory
> $ ln -d /var/temp /tmp
> ln: cannot create hard link `/tmp' to `/var/temp': Permission denied
> $ ln -F /var/temp /tmp
> ln: cannot create hard link `/tmp' to `/var/temp': Permission denied
> 
> This'll have to do..
> $ mount -b D:\\temp /tmp
> 
> $ ls / | grep tmp
> $
> 
> John. 
> 
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
> 
> 



-----
See the original message at http://www.egroups.com/list/gnu-win32/?start=8777
--
Free e-mail group hosting at http://www.eGroups.com/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]