Windows 中可安装的 USB 驱动器数量是否有物理限制?
我知道可以使用连接点绕过驱动器限制,但是在注册表中识别/安装并使用 MOUNTVOL 命令或 Win32 API 显示的物理设备数量是否有限制?
I know the drive limit can be gotten around using junction points, but is there a limit to the number of physical devices recognized/mounted in the registry and shown using the MOUNTVOL command or Win32 API?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我不确定 Windows 是否有限制,但 USB 协议标准限制每个主机控制器 128 个设备。 允许的设备地址范围为 0 到 127。
您可以在此处下载 USB 规范:http://www .usb.org/developers/docs/
I'm not sure if Windows imposes a limit, but the USB protocol standard has a limit of 128 devices per host controller. The allowed device address range is 0 to 127.
You can download the USB Specifications here: http://www.usb.org/developers/docs/
我相信每个 USB 驱动器也可以分为多个逻辑分区。
如果最终您没有得到答案,请选择一个数字,如果超出您的预期,则优雅地失败。
I believe each USB drive could be split into multiple logical partitions too.
If in the end you don't get an answer, choose a number and gracefully fail if there are more than you expected.
Win32 下有一个限制,因为 MOUNTVOL 挂载驱动器,必须为其分配一个驱动器号(DOS 遗留问题)。 这意味着,由于 A & B 保留用于软盘驱动器,C 是(默认情况下)第一个硬盘驱动器,您最多可以安装 23 个其他驱动器并分配驱动器号。 无论什么类型的驱动器 - USB、HDD 或 CD/DVD。
根据 Win32 文档,MountVol 具有以下语法:
There's a limit under Win32 because MOUNTVOL mounts drives, which must be assigned a drive letter (DOS legacy issue). That means, since A & B are reserved for floppy drives, and C is (by default) the first hard drive, you have a max of 23 other drives that can be mounted and assigned drive letters. It doesn't matter what type of drive - USB, HDD, or CD/DVD.
According to the Win32 docs, MountVol has the following syntax: