3 ms·
> the old scheme wasn't robust against probe order Very true. > and FreeBSD's isn't either Very untrue. FreeBSD does serial enumeration which results in sta
by GalacticDomin8r 13y ago
> the old scheme wasn't robust against probe order
Very true.
> and FreeBSD's isn't either
Very untrue. FreeBSD does serial enumeration which results in static devices each time. There is no equivalent tool in FreeBSD to udev or systemd because it isn't needed(although devd does a certain subset of some of their functionality). About the only place out of order probing can occur is with external disk expander where FBSD isn't doing the actual probing. In this case, labeling disks or using the cam wire down method. man 4 cam
- ajross 13y agoI bet you it doesn't. The BSD name a driver name and a number, and that's not enough state. If you swap two identical cards between PCIe slots, does it still work? If you pull em1 and add a new card in its place does it come up as em1 (incorrect) or em2? If you have a fixed external network with its own routing rules on a USB ethernet adapter, does it work correctly if you happen to boot with another such device connected? I admit I'm chuckling a little about the idea of udev not being "needed". :)
- kps 13y agoIf you pull em1 and add a new card in its place does it come up as em1 (incorrect) or em2? Am I misreading, or do you mean to say that if you replace a failed part, the ‘correct’ thing is for the replacement to come up with a different name so that the box stays out of production until someone can manually reconfigure it?
- GalacticDomin8r 13y agoThat's how I read it too....uff da.
- GalacticDomin8r 13y ago> I bet you it doesn't. What exactly are you willing to bet? > and that's not enough state. It's enough. > If you swap two identical cards between PCIe slots It's probed by slot so in the case you present no config would generally be needed unless you have something dependant on layer 2 in the setup. > If you pull em1 and add a new card in its place does it come up as em1 (incorrect) Yes it does and actually that is correct. I don't want to have to muck with configs simply because I swapped a nic. If you like doing it that way have at it. > If you have a fixed external network with its own routing rules on a USB ethernet adapter, does it work correctly if you happen to boot with another such device connected? Depends on the setup, you can have it pretty much do anything but by default it would work if you swapped it out with something that used the same driver. > I admit I'm chuckling a little about the idea of udev not being "needed". As someone who has ripped udev out of a distribution and replaced it with something easier(auto provisioning) for a specific large SaaS stack, I can assure you udev is not needed.