帮助 !!尝试对文件系统进行编程,我将不胜感激. [英] HELP !! trying to program a file system, I will appreciate any idea.

查看:72
本文介绍了帮助 !!尝试对文件系统进行编程,我将不胜感激.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我需要对文件系统进行编程,例如FAT32,我需要将闪存(例如,我们通常用于传输音乐,视频或文本文件的闪存)放入一种与以下格式不同的格式:商业的.对于要在安装了该程序的PC中使用该内存的最终用户,我需要以透明的方式进行操作.
原因是:我需要有一些东西可以确保我的数据在内存中,但对最终用户而言必须是透明的,也许解密过程可能不是那么透明.
我真的很感谢任何想法,在此先感谢.
抱歉,我的英语不是我的母语.

Hello, I need to program something like a file system,like FAT32 for example, I need to put into a flash memory(The flash memory we commonly use to transport music, videos or text files for example) a different format than the commercial ones. I need to do that in a transparent way to the final user who is going to use that memory in a PC with this program installed.
The why is: I need to have something that permit me to ensure my data inside the memory, but it has to be transparent to the final user, maybe a decrypt process could not be so transparent.
I''ll really appreciate any idea, thanks in advance.
Sorry my English, it''s not my native language...

推荐答案

看看ReactOS [ ^ ]或 FreeDOS [ ^ ].

linux中还包含FAT32的实现.

上面的链接适用于开源OS,因此您可以在代码中找到所需的内容-尝试在各自的邮件列表中询问.

最好的问候
Espen Harlinn
Have a look at ReactOS[^] or FreeDOS[^].

There is also an implementation of FAT32 included with linux.

The above links are for open source OSes so you''ll find what you need somewhere in the code - try asking at their respective mailing lists.

Best regards
Espen Harlinn


要添加到上面,如果您的目的是加密数据,那么使您的文件系统成为非标准文件,将使其在其他系统上更难使用.

与为每个操作系统编写新的文件系统和驱动程序相比,基于文件的加密将全面降低产品成本.不仅会产生开发成本,而且还会有相关的支持成本.
To add to above, if your aim is to encrypt the data, then making your file system non-standard, will make it harder to use with other systems.

File based encryption will lower costs for your product across the board, as compared to writing a new file system and drivers for every OS. Not only will you have development costs, but you''ll have support costs associated also.


像FAT32"不是文件格式,这是文件系统.如果您不了解,很抱歉您可能还没有准备好自己开发.另外,我自己的"和帮助!"在一定程度上是相互矛盾的.仅当您自己执行时,才会是您自己的".

顺便说一句:1)避免"ALL-CAPS",它被认为是在网络上大喊大叫,使用正确的大写,标点和拼写; 2)您的帖子中没有任何内容可以证明您开发自己的文件系统是合理的.

作为奖励:请参阅上面的最后一条注释.与其开发自己的文件系统,不如尝试学习加密并考虑使用它.

或者,考虑让您的所有数据对所有人开放.这很可能是您的最佳选择.在几乎所有情况下,都希望幼稚地保密数据,而不是出于严肃的考虑.

—SA
"Like FAT32" is not a file format, this is a file system. If you don''t understand it, you are probably not ready to develop your own, sorry. Also, "my own" and "HELP!!", to certain extent, contradict to each other. If will be "your own" only if you do it on your own.

By the way, 1) avoid "ALL-CAPS", it is considered shouting on the Web, use correct capitalization, punctuation and spelling; 2) there is nothing in your post that would somehow justify development of your own file system.

As a bonus: please see my last note above. Instead of development of your own file system, try to learn encryption and think about using it.

Alternatively, think about keeping all your data open for everyone. Most likely, this is the best alternative for you. In almost all cases, the desire to keep data in secret in childish, not based an anything serious.

—SA


这篇关于帮助 !!尝试对文件系统进行编程,我将不胜感激.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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