在fat32格式的存储上伪造符号链接 [英] faking symbolic links on a fat32 formatted storage

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

问题描述

我知道FAT32以及FAT16 / 12既不支持符号链接也不支持硬链接。然而,我想出了这个想法:
$ b FAT规范描述了每个文件都与一个目录项相关联。根据我的理解,人们可以说某个文件夹在某个目录中,或者是其他文件的内容。

我从定义两个指向相同的文件内容的目录项?
如果我能够做到这一点,请告诉我符号链接 hack 之间的区别。

uli




编辑

我需要这个usb大容量存储设备用于我的汽车收音机,以便伪造播放列表。所以这对我来说并不重要,在做这些时Windows是如何工作的。

解决方案

指向相同文件内容的条目)是硬链接。 chkdsk会以交叉链接的方式报告它们,并修复这些文件(实际上是制作副本)。

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

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 what could prevent me from defining two directory-entries which are pointing to the same file-content? If I'm able to do this, please tell me the difference between symbolic links and this hack.

Uli


Edit

I need this for a usb mass storage device to be used in my car radio, in order to fake playlists. So it isn't important to me how windows behaves when doing this.

解决方案

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天全站免登陆