FAT32格式存储上的文件系统链接 [英] Filesystem links on a FAT32 formatted storage

查看:427
本文介绍了FAT32格式存储上的文件系统链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道FAT32和FAT16/12都不支持符号链接硬链接.但是我想出了这个主意:

I know FAT32, as well as FAT16/12 neither support symbolic links nor hard-links. However I came up with this idea:

FAT规范描述了每个文件都与一个目录条目相关联.以我的理解,可以说目录中的文件条目以某种方式或其他指向文件的内容.

The FAT specification describes that every file is associated with a directory-entry. In my understanding, one could say that a file-entry in a directory somehow or other points to the file's content.

那么,如何定义两个指向相同文件内容的目录条目?或者,是什么可以阻止我这样做?

So, how can I define two directory-entries which point to the same file-content? Or, what could prevent me from doing so?

使用案例::我有一个用于汽车收音机的USB大容量存储设备,并且由于收音机软件不支持播放列表,因此我想使用目录作为播放列表.因此,对我而言,Windows的行为方式对我来说并不重要.

Use case: I have a USB mass storage device for my car radio, and I want to use directories as playlists since the radio software doesn't support playlists. So it isn't important to me how Windows behaves when doing this.

推荐答案

您正在谈论的内容(指向相同文件内容的两个目录条目")是硬链接. chkdsk会将它们报告为交叉链接并断开它们,修复"文件(实际上是制作副本).

What you are talking about ("two directory-entries which are pointing to the same file-content") are hard links. chkdsk will report them as cross-links and break them, "repairing" the files (in fact making the copies).

这篇关于FAT32格式存储上的文件系统链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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