Replacement motherboard, renumbered NICs and dvd drives?
Adam Funk
a24061 at ducksburg.com
Fri Feb 29 20:53:16 UTC 2008
On 2008-02-29, 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.
I already got the eth0 designation and cd/dvd device symlinks that I
wanted by careful editing! But next time maybe I'll try that....
Thanks.
More information about the ubuntu-users
mailing list