简体   繁体   English

将USB驱动器格式化为CDFS

[英]Format USB drive as CDFS

I have a program I want to run from a USB drive. 我有一个要从USB驱动器运行的程序。 I have a sample of one that does this very thing and I want to do it with my software. 我有一个样本可以做这个事情,我想用我的软件来做。 There is a small partition that is in CDFS format and the rest is in FAT. 有一个CDFS格式的小分区,其余部分为FAT。 The CDFS format autoruns in a windows system and that is what I am wanting to do. CDFS格式在Windows系统中自动运行,这就是我想要做的。 Have the ability to create a partition on a USB drive and have a windows based PC see it as CDFS. 能够在USB驱动器上创建分区,并使基于Windows的PC将其视为CDFS。

You're probably misunderstanding how your sample one works. 您可能误解了示例的工作方式。

Formatting a USB stick as CDFS won't work - this has been tried many times (including by me) and Windows simply refuses to mount the file system. 将CD棒格式化为CDFS无法正常工作-已经多次尝试(包括我在内),Windows只是拒绝挂载文件系统。

The USB drives that work this way are normally implemented by registering two USB devices when they're plugged in: the first corresponds to a CDROM-type device (complete with a CDFS filesystem). 通常,通过插入两个USB设备来实现以这种方式工作的USB驱动器:第一个对应于CDROM类型的设备(带有CDFS文件系统)。 The second is the normal USB Mass Storage device. 第二个是普通的USB海量存储设备。

In other words, it's a hardware issue, not a software issue. 换句话说,这是硬件问题,而不是软件问题。

You do not need to change the USB drive file system by yourself, it's not enough to cheat Windows and to instruct it to run autorun.inf. 您不需要自己更改USB驱动器文件系统,仅是欺骗Windows并指示其运行autorun.inf是不够的。 You have to use a special type of USB drive called U3, start from Wikipedia . 您必须使用一种特殊的USB驱动器,称为U3,从Wikipedia开始。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM