在FAT32的保留字节中写入值时发生了什么 [英] What happened when writing values in reserved bytes of FAT32

查看:87
本文介绍了在FAT32的保留字节中写入值时发生了什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在为Windows中的笔式驱动器开发一个应用程序,因为我在笔式驱动器中使用FAT 32保留字节(偏移量为34h)启动记录来存储项目目的的一些数据.我可以在这些空间中写入和读取值,并且工作正常.在这些重新设置的字节中写入值将随时影响,否则操作系统将覆盖这些数据,或者由于这些原因将发生任何问题.

请澄清我的疑问.

谢谢&问候
Mohan

Hi,
I am developing an application for pen drive in windows, for that I am using FAT 32 Reserved Bytes(at offset 34h) boot record in pen drive for storing some data for our project pupose. I can write and read values in these space and it is working fine. Writing values in these reseved bytes will affect anytime or OS will overwrite these data or any problem will occur because of these.

Please clarify my doubt.

Thanks & Regards
Mohan

推荐答案

如果需要,可以尝试在没有有价值数据的磁盘上更好地进行尝试.但为什么?为什么?进行软件保护是天真的尝试吗?不是吗?

无论如何,保留"通常表示未使用,但可以在软件/固件的将来版本中使用".因此,如果此规则没有被破坏,则或多或少可以确保您不会破坏系统.您的数据不会被系统覆盖的事实并不能保证,但不太可能.

同样,为什么呢?我认为这种技术没有任何合理的理由.你能证明我错了吗?

—SA
Try it if you want, better on some disk with no valuable data. But why? why? is it a naive attempt to do software protection? No?

Anyway, "Reserved" normally means "unused but could possible be used in future versions of software/firmware". So, if this rule is not broken, it more or less guarantee that you won''t break the system. The fact that your data will not be overridden by the system is not guaranteed but not likely.

Again, why? I don''t think there can be any rational justification for such technique. Will you prove me wrong?

—SA


这篇关于在FAT32的保留字节中写入值时发生了什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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