How to Correctly map sernos to device names

Antonio Huete Jimenez ahuete.devel at gmail.com
Thu Nov 24 10:05:03 PST 2011


As root:# udevd# devattr -d "ad*" -p sernoOr if your disks are da, just change it as appropiate.man 8 devattr
Cheers,Antonio Huete2011/11/24 Tim Darby <t+dfbsd at timdarby.net>
On Thu, Nov 24, 2011 at 3:14 AM, Siju George <sgeorge. ml at gmail.com> wrote:


Hi,

Is there a way to correctly map /dev/serno to device names.

Currently the devices I have are given below

What is M00B3EK2306. Is it cd0?

How does one know?

Thanks

--SIjuI'm not aware of an included utility to do this, but attached is a perl script I made, based on a perl script someone posted awhile ago, to convert serial numbers to devices.


Tim 





More information about the Users mailing list