It's probe order when the devices first attach and since that's multithreaded 
it can appear to be somewhat random.  

You should avoid depending on device names being portable between systems or on 
smartos between boots. 

(Normally these names are persistent across boots.  But smartos has no 
persistent root file system. 

Sent from my iPhone

> On Jan 23, 2016, at 1:22 PM, Anil Jangity <[email protected]> wrote:
> 
> Is it possible to modify the device numbering?
> 
> [root@fmt1-sr1 /]# dladm show-phys -m
> LINK         SLOT     ADDRESS            INUSE CLIENT
> e1000g0      primary  0:23:8b:8a:4c:e8   yes  e1000g0
> e1000g2      primary  0:23:8b:8a:4c:e6   yes  e1000g2
> e1000g1      primary  0:23:8b:8a:4c:e9   yes  e1000g1
> e1000g3      primary  0:23:8b:8a:4c:e7   yes  e1000g3
> [root@fmt1-sr1 /]#
> 
> I would prefer e1000g0 to be 0:23:8b:8a:4c:e6.
> 
> [root@fmt1-sr1 /]# grep e1000 /etc/path_to_inst
> "/pci@0,0/pci8086,25e2@2/pci8086,3500@0/pci8086,3518@2/pci108e,4843@0" 2 
> "e1000g"
> "/pci@0,0/pci8086,25e2@2/pci8086,3500@0/pci8086,3518@2/pci108e,4843@0,1" 3 
> "e1000g"
> "/pci@0,0/pci8086,2690@1c/pci108e,125e@0" 0 "e1000g"
> "/pci@0,0/pci8086,2690@1c/pci108e,125e@0,1" 1 "e1000g"
> [root@fmt1-sr1 /]#
> 
> Since we can’t modify this file, I am wondering how SmartOS got these numbers 
> mixed up. I don’t see anything else in BIOS that might trigger this.
> 
> Thanks!
> 


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to