User: Password:
|
|
Subscribe / Log in / New account

Partitioned loopback devices

Partitioned loopback devices

Posted Nov 15, 2004 12:27 UTC (Mon) by garloff (subscriber, #319)
Parent article: Partitioned loopback devices

But unfortunately we have only 255 loopback devices, don't we?
So either we use 32k SCSI disks with 16 partitions each, or 256
SCSI disks in loopback mode with 127 partitions each. But not both.
Therefore this does not offer a good generic solution :-(


(Log in to post comments)

Partitioned loopback devices

Posted Nov 19, 2004 11:40 UTC (Fri) by Blaisorblade (guest, #25465) [Link]

> But unfortunately we have only 255 loopback devices, don't we?

We had those. But with 32 bit majors/minors, we can build far more (2^20 minors are available). And from reading the patch, it seems it can already take advantage of that (it uses MINOR_BITS to calculate the maximum minor number, and I assume MINOR_BITS is set to 20, i.e. the correct value).


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds