Re: [PATCH] 2.6.2, Partition support for SCSI CDROM...
From: Bill Davidsen
Date: Thu Feb 26 2004 - 22:24:16 EST
Andries Brouwer wrote:
On Tue, Feb 24, 2004 at 05:09:06PM +0000, Matthew Wilcox wrote:
On Tue, Feb 24, 2004 at 11:51:20AM -0500, Steven J. Hill wrote:
+ * sr0 - first CDROM, whole disk
+ * sr1 - first CDROM, first partition
+ *
+ * [...]
+ *
+ * sr16 - first CDROM, sixteenth partition
+ * sr17 - second CDROM, whole disk
+ * sr18 - second CDROM, first partition
Umm... no. I suspect you mean:
sr15 - first CDROM, fifteenth partition
sr16 - second CDROM, whole disk
sr17 - second CDROM, first partition
But what a bad idea for device names. Why not
sr0 whole disc
sr0a ... sr0o partitions
sr1, sr1a ... sr1o
It's probably too late to be consistent with discs and call them
sra, sra1, ... sra15
srb, srb1, ... srb15
It is standard convention to use numerical suffixes to refer
to partitions, with a 'p' separator in case the full device
has a name ending in a digit.
So: sr0p1, ..., sr0p15, sr1p1, ...
That sounds a LOT better. Of course mknod is your friend, and some of us
have sr0, sr1 etc, but that's our problem. I think one of the distros
does it that way, but not one I have here.
--
bill davidsen <davidsen@xxxxxxx>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/