From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Tue, 10 Mar 2009 17:59:32 +0000 Subject: Re: Problem recreating 70-persistent-net.rules with udev 0.125-7 Message-Id: <20090310175932.GA27693@bongo.bofh.it> List-Id: References: <639c60080903100948y1bab13a1x8909348fcdcbc186@mail.gmail.com> In-Reply-To: <639c60080903100948y1bab13a1x8909348fcdcbc186@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mar 10, Nilshar wrote: > For example, if I need to restore a sytem into a vmware, this file > needs to be changed. on a normal box, udev will add the new interfaces Every time you change the hardware for a system, even if it is virtual hardware, you need to delete the file. > as eth2 etc.. so I'll have to delete the file so it will be recreated > with eth0. How can I do that on a vmware ? udev will do it if needed, but it's not mandatory to have one (e.g. if all or your interfaces are handled by the same driver then their names will usually never change). BTW, we are talking about paravirtualized network interfaces. If vmware is emulating a real interface then there is some other issues. -- ciao, Marco