首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Windows硬链接-为什么它占用与原始文件相同的空间?

Windows硬链接-为什么它占用与原始文件相同的空间?
EN

Server Fault用户
提问于 2021-10-29 11:11:13
回答 1查看 130关注 0票数 0

我使用finddupe工具去复制文件,并在HDD上节省一些空间。但检查手术前后,我看不到任何空闲空间释放-见下文。

有人能告诉我这里出了什么问题吗?

代码语言:javascript
复制
D:\TEMP\1>dir
30.09.2021  12:50        89 028 146 polycom-410-copy.zip
30.09.2021  12:50        89 028 146 polycom-410.zip
               2 File(s)    178 056 292 bytes
               2 Dir(s)  117 821 751 296 bytes free

D:\TEMP\1>finddupe -hardlink d:\temp\1 Duplicate: 'd:\temp\1\polycom-410-copy.zip' With:      'd:\temp\1\polycom-410.zip'
    Created hardlink

Files:   178056 kBytes in     2 files Dupes:    89028 kBytes in     1 files

D:\TEMP\1>dir  Volume in drive D is BACKUP  Volume Serial Number is B66C-A894

 Directory of D:\TEMP\1
30.09.2021  12:50        89 028 146 polycom-410-copy.zip
30.09.2021  12:50        89 028 146 polycom-410.zip
               2 File(s)    178 056 292 bytes
               2 Dir(s)  117 910 781 952 bytes free


D:\TEMP\1>finddupe -listlink d:\temp\1


Hardlink group, 2 of 2 hardlinked instances found in search tree:   "d:\temp\1\polycom-410-copy.zip"   "d:\temp\1\polycom-410.zip"

Number of hardlink groups found: 1
EN

回答 1

Server Fault用户

回答已采纳

发布于 2021-10-29 11:29:09

你凭什么认为没有空间释放?

代码语言:javascript
复制
# Before:
117 821 751 296 bytes free
# After:
117 910 781 952 bytes free
# Difference:
     89 030 656
# Your file size:
     89 028 146

你释放了一个文件的空间。

票数 4
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/1082080

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档