Re: 64-bit kdev_t - just for playing

Pavel Machek (pavel@ucw.cz)
Fri, 11 Apr 2003 11:58:52 +0200


Hi!

> so it's easy to map to a fixed number. SCSI already has to use dynamic
> numbers, because it wouldn't otherwise fit into a 16bit dev_t and with SAN
> even 64bit will not be enough. This makes SCSI very annoying, when at the
> next boot everything has a new name, because a disk was added/removed.

Ugh? 64bits not enough? I don't think so.
You could do 20/44 bits split for example...
Or allocate 60000 majors just for disks.
But I do not think you have 2^32 disks
in any SAN.

-- 
				Pavel
Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/