On Thu, 28 Jan 1999 sth...@nethelp.no wrote:

> > > I agree.. and same thing goes for Ethernet drivers. I actually
> > > like the way Linux always has "eth0", "eth1", ... (which we could
> > 
> > Yeagh... what is wrong with ed0, de0, fxp0 etc that needs changing? Is this
> > just a matter of taste or is there more to it? I for one don't see any
> > advantage in eth[0-9] style device naming.
> 
> I can give you one example. We run a FreeBSD box here which receives
> all of the traffic (port mirroring) from some Ethernet switches. On
> the FreeBSD box, we run nnstat, tcpdump etc. for monitoring purposes.
> 
> Recently I changed some of the DEC 21x4x based cards on this box to
> Intel cards. Thus the interface names changed from deN to fxpN. This
> meant we had to update a bunch of Perl and shell scripts. It would
> have been much nicer (no need to update) if the interfaces were simply
> named ethN.

That's why you don't hard code the interfaces into all the scripts.  
Instead source a file that gives the definitions ala rc.conf.

> Personally, I'd also prefer to have IDE disks named daN, but that's
> another matter...

:)

-Alfred


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to