R
R
Roman2017-11-01 21:57:52
linux
Roman, 2017-11-01 21:57:52

How many usb flash drives can be connected in linux?

In general, the question is this: if I connect 40 flash drives, can I read them all at the same time?
In windows, a maximum of 25 flash drives can be read, the rest are determined, but because letters are missing, they cannot be read.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Moskus, 2017-11-01
@Moskus

You will not be helped in any way by someone's private experience, as it always happens. Because everything is highly dependent on the specific configuration.
The math is simple: given that hubs are also considered a device, including the root one, and the maximum number of devices on one controller according to the USB specification is 127, with seven-port hubs cascaded, there will be a maximum of 108 free ports per controller, with four-port hubs - only 94. At the same time, you need to understand that since each device receives its number within the limits of the type (major number), and the number of devices of the same type is limited by the minor number size of one byte (256) - this is, in general, a driver limitation in Linux. However, in some cases, all this does not matter, because for a specific Linux something is assembled wrong, not from there or not from that, because, for example, more than 20 devices are not visible at all. Do not forget, also, about the need for external power supply to this whole tree of hubs and the devices themselves. And also, about
So if you are really going to copy flash drives (and not mine bitcoins with external ASIC devices, for example), with a cascaded connection configuration, the write speed will be like in the days of dial-up modems. Something tells me you won't like it.

S
Sergey, 2017-11-01
@initrd0

Theoretically - up to 127 devices (physical limitation), in terms of mounting from under the OS, I think there are no restrictions

A
Alexey S., 2017-11-01
@Winsik

Maybe you look the other way, I give you a direction: console utility mountvol
ps well, you can contact not only by letters, but somehow like this\\?\Volume{345746436}\file.txt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question