cygwin是否了解NTFS连接点? [英] Does cygwin understand NTFS junction points?

查看:199
本文介绍了cygwin是否了解NTFS连接点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

cygwin(1.7.x)是否了解Windows NTFS连接点(由Win7 / 2008或sysinternals的junction.exe中的mklink创建)?

Does cygwin (1.7.x) understand Windows NTFS junction points (as created by mklink in Win7/2008 or sysinternals' junction.exe)?

不同于由ln -s创建的符号链接?

How do they differ from a symbolic link as created by "ln -s "?

推荐答案

是的,Cygwin 1.7了解NTFS连接点, NTFS符号链接(与Vista一起引入)。它们显示为Cygwin程序的符号链接,因此,例如删除此类链接将只删除链接而不是指向的文件。

Yes, Cygwin 1.7 does understand NTFS junction points and also NTFS symbolic links (as introduced with Vista). They appear as symbolic links to Cygwin programs, so that for example deleting such a link will only delete the link rather than the file being pointed too.

Cygwin的原因在创建Cygwin符号链接时不使用NTFS符号链接,只有高级管理员才允许创建它们(除非注册表设置更改),并且没有所有必需的POSIX语义。

The reason that Cygwin doesn't use NTFS symbolic links when creating Cygwin symlinks is that only elevated administrators are allowed to create them (unless a registry setting is changed) and that they don't have all the required POSIX semantics.

这篇关于cygwin是否了解NTFS连接点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆