[Gllug] Bootable USB backup like OS X dmg?

Nix nix at esperi.org.uk
Tue May 31 16:17:14 UTC 2011


On 31 May 2011, Steve Parker outgrape:

> On 30/05/11 11:59, Nix wrote:
>> On 30 May 2011, Steve Parker outgrape:
>>> It depends on the type of machine, and what you are trying to achieve.
>>> For a PC, then yes, the dynamic way in which the current Linux kernel
>>> and udev works is great. With more than one NIC, there is no guarantee
>>> that they will both be detected as eth0/eth1 respectively on different
>>> boots.
>> udev has been able to bind names to network interfaces by MAC for many
>> years (following which those names will not change), and has had a rule
>> generator to automate that process after first boot for almost as long.
>
> Yes, although I don't like hard-coding MAC addresses (with RHEL you
> can put the MAC in ifcfg-NIC); NICs don't often fail, but when they
> do, and you replace it with a new one, I want it to be detected based
> on its PCI address.

... while I consider PCI address stuff to be a hideous bus-specific
bodge. I've encountered PCI busses where the addresses weren't stable
between boots (often in virtualization), but have never once seen a
system where the MAC address jumped about at random.

> What's the rule generator? I haven't come across that

It's a udev rules file which notes your Ethernet card's MAC->name
mapping on first boot and writes another udev rules file which
establishes that binding for all time and turns off the first rules
file.

-- 
NULL && (void)
--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list