But you miss my other half point. In Masao's original idea, he
complained about device enumeration being random, and wanted it moved
out into the filename namespace.
But if you move the device to another port, it will move just as much
within the file system, so he didn't solve anything.
If you want to be able to refer to a disk in the scenario where you
actually move it around, you need some other solution.
My answer only intended to show that the device enumeration isn't
random, depending on if you add/remove other devices, which is what
Masao was claiming.
His original claim, and reason for his proposed solution, is basically
wrong.
The problem you are highlighting is another one, and one which I agree
it would be nice to have a solution to. But the only solution I can come
up with is to be able to refer to disks by their name in the disk label,
or something similar, which is unique per disk, and have no relationship
at all with which how they are attached to the system.
Something like:
wd0 at umass? label="foobar"
But, as I said, this is another problem, which Masao hasn't at all
addressed. His solution to his random device enumeration problem is
simply a solution to a non-problem.
I hope I made myself clear, since I sometimes seem to not be able to
express clear enough what I mean.
Johnny