TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How the Windows Subsystem for Linux bridges file systems

6 点作者 temp将近 9 年前

1 comment

_nalply将近 9 年前
When I worked with Cygwin I discovered that Windows still locks files such that they can&#x27;t be deleted. An example: I write a paper with LaTeX. When Adobe Reader has the PDF open, pdflatex fails. It&#x27;s annoying because it&#x27;s interrupting the workflow.<p>On Linux however, the file can be deleted. Processes which still have the inode can continue to use the file. This is used by log-rotate: rename the log file, and the server process continues to write to the renamed log file. Then restart the server process and a new log file is created.<p>This discrepance which Cygwin can&#x27;t overcome led me to give up on Windows with Cygwin completely.<p>And now: Does the Windows Subsystem for Linux allow deleting locked files such that software like Adobe Reader believe they still hold on the file?
评论 #11921538 未加载