Replacement motherboard, renumbered NICs and dvd drives?

H.S. hs.samix at gmail.com
Fri Feb 29 20:41:46 UTC 2008


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
> 

Doesn't the udev daemon (sp?) already have an option to restart by 
flushing all the pre-existing rules? If not, perhaps a request is in 
order. That would be the "clean user friendly" way to do it.

->HS






More information about the ubuntu-users mailing list