Replacement motherboard, renumbered NICs and dvd drives?
NoOp
glgxg at sbcglobal.net
Fri Feb 29 19:42:42 UTC 2008
On 02/29/2008 11:17 AM, Felipe Figueiredo wrote:
> On Wed 27 Feb 2008 19:05:22 NoOp wrote:
>> On 02/27/2008 08:09 AM, Adam Funk wrote:
>>> On 2008-02-25, NoOp wrote:
>>
>>>> You can safely edit and/or delete in
>>>> /etc/udev/rules.d/70-persistent-net.rules
>>>
>>> Since udev automatically adds things to the
>>> 70-persistent-cd.rules and 70-persistent-net.rules files, could I
>>> just delete all the entries and let it automatically re-introduce
>>> the current devices with the "zeroth" names (eth0, cdrom, dvdrw,
>>> etc.)?
>>>
>>> Would I need to restart udev or otherwise nudge it?
>>>
>>
>> No. If you delete all they do not get regenerated (at least in
>> net.rules):
>>
>
> Sure they do. Quoting from /etc/udev/rules.d/70-persistent-net.rules:
>
>
> # Entries are automatically added by the
> 75-persistent-net-generator.rules # file; however you are also free
> to add your own entries.
>
> Adam, you can simply delete all entries, and restart udev.
>
> regards FF
>
Ummm... I actually tested before replying:
> I just tested by renaming /etc/udev/rules.d/70-persistent-net.rules to
> /etc/udev/rules.d/x-70-persistent-net.rules-x on a test machine and
> rebooted. /etc/udev/rules.d/70-persistent-net.rules was not regenerated.
>
> So then I kept the file and just deleted all of the entried & rebooted.
> No entries are generated (expected).
Perhaps there is a bug?
More information about the ubuntu-users
mailing list