Skip to contentSkip to conversation

64-bit kdev_t - just for playing

DISCUSSION [email protected] 3 participants 4 messages Mar 28, 2003 – Mar 30, 2003

lore
Share & tools
lore
#0 lore raw

Roman, Your questions are misguided.
A larger dev_t is infrastructure.
A sand road that is turned into an asphalt road.

Nobody has to use this improved infrastructure. But many uses are conceivable.

Long ago I reserved 2^40 values for dynamically assigned anonymous devices. Convenient, a very small fraction of the available space.

I can imagine that there will be people wanting to take part of the available space for a universal hash of disk serial number or partition label or I don't know what, so that devices are addressable by content instead of path.

A lot of room can be put to many uses.

Andries

#1 lore raw

Hi,

Quoted 1 line · On Fri, 28 Mar 2003 [email protected] wrote:

Roman, Your questions are misguided.

Thanks for your trust. :-(

Quoted 5 lines

A larger dev_t is infrastructure.
A sand road that is turned into an asphalt road.

Nobody has to use this improved infrastructure. But many uses are conceivable.

The size of dev_t doesn't matter at all, what matters is how this number is managed and used. The kernel has somehow to generate a number for a device and tell the user about it, so that he can use it to access the device. This requires infrastructure and the actual size of this number is only a small detail in the whole picture. I want to know how the whole picture looks like, so could you please stop talking bullshit and answer my questions?

Quoted 5 lines

I can imagine that there will be people wanting to take part of the available space for a universal hash of disk serial number or partition label or I don't know what, so that devices are addressable by content instead of path.

This won't happen, dev_t is the wrong place to encode such information.

bye, Roman

#2 lore raw
Followup to:  <Pine.LNX.4.44.0303281219350.5042-100000@serv>
By author:    Roman Zippel <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 3 lines

The size of dev_t doesn't matter at all,

Bullshit.

-hpa

Signature · 3 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
#3 lore raw

Hi,

Quoted 3 lines · H. Peter Anvin
Quoted 1 line

The size of dev_t doesn't matter at all,

Bullshit.

Huh?
(Do I love all these detailed explanations... *sigh*)

bye, Roman