Re: (Semi-random) thoughts on device tree structure and devfs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johnny Billquist
Date: Tuesday, March 9, 2010 - 1:14 pm

Quentin Garnier wrote:

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
(Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sun Mar 7, 2:43 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Sun Mar 7, 3:12 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Eric Haszlakiewicz, (Sun Mar 7, 9:31 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Eric Haszlakiewicz, (Sun Mar 7, 9:41 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Thor Lancelot Simon, (Mon Mar 8, 9:59 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Tue Mar 9, 8:25 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Tue Mar 9, 8:48 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Tue Mar 9, 9:35 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Thor Lancelot Simon, (Tue Mar 9, 9:43 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Thor Lancelot Simon, (Tue Mar 9, 10:46 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Tue Mar 9, 11:41 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Eric Haszlakiewicz, (Tue Mar 9, 11:57 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Eric Haszlakiewicz, (Tue Mar 9, 12:01 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Thor Lancelot Simon, (Tue Mar 9, 12:23 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Tue Mar 9, 12:45 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Tue Mar 9, 12:51 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Thor Lancelot Simon, (Tue Mar 9, 12:55 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Tue Mar 9, 1:14 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Thor Lancelot Simon, (Tue Mar 9, 2:45 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Wed Mar 10, 5:57 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Wed Mar 10, 6:06 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Wed Mar 10, 6:36 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Wed Mar 10, 6:39 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Wed Mar 10, 6:46 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Wed Mar 10, 6:50 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Wed Mar 10, 7:41 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Eric Haszlakiewicz, (Wed Mar 10, 1:53 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Thu Mar 11, 7:32 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Thu Mar 11, 10:18 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Eric Haszlakiewicz, (Thu Mar 11, 11:37 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Eric Haszlakiewicz, (Thu Mar 11, 11:42 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Quentin Garnier, (Thu Mar 11, 11:47 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Eduardo Horvath, (Thu Mar 11, 12:06 pm)
Re: (Semi-random) thoughts on device tree structure and devfs , Matthias Drochner, (Thu Mar 11, 1:45 pm)
Re: (Semi-random) thoughts on device tree structure and devfs , Matthias Drochner, (Thu Mar 11, 2:24 pm)
Re: (Semi-random) thoughts on device tree structure and devfs , Matthias Drochner, (Fri Mar 12, 1:20 pm)
Re: (Semi-random) thoughts on device tree structure and devfs , Matthias Drochner, (Fri Mar 12, 4:37 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sat Mar 13, 10:51 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sat Mar 13, 11:00 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sat Mar 13, 11:08 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sat Mar 13, 11:11 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sat Mar 13, 11:16 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sat Mar 13, 11:25 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sat Mar 13, 11:33 pm)