>From: Mike Meyer 
>In <[EMAIL PROTECTED]>, Scott Long <[EMAIL PROTECTED]> typed:

>> Youre' saying that
>> instead of /dev/da0, we should have
>> /dev/HITACHI-HUS103073FL3800-SA19-B0T1L0
>
>That's a ridiculous extreme. All I advocated was that we be able to
>easily identify the devices connected to the system, *not* that we be
>able identify every device in the world. Sun solved disk device naming
>back in the 80s.

I think this is a problem consisting of multiple parts:

1. Identify physical devices and be able to access them.

2. Identify some stable "logical" names by device type,
that stay fixed when the configuration changes.

3. Be able to find the mapping easily between these two.

4. Be able to change that mapping.

USB is probably the subsystem that has a particular need
in this kind of stuff.

So, since we have devfs nowadays, why don't we just
have multiple names (dev files) for the same device? 
For example, the same device can be named by driver 
aha0b0t0d0 and by logical type disk0. The 3rd part
can be solved by using symlinks in devfs: i.e.
disk0 would be a symlink to aha0b0t0d0, and you can do
"ls" and find out what is linked to what. The 4th part
can be solved by allowing the sysadmin to create symlinks
in devfs. The network driver subsystem would obviously have
to be changed to consult devfs for the device names.

The next interesting question is how to keep these
links persistent between boots. 

-SB
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to