From: Kay Sievers Date: Mon, 22 Mar 2010 10:00:15 +0000 Subject: Re: [PATCH] Fix virtio-ports rule to create symlink only when 'name' Message-Id: List-Id: References: <1269017414-31387-1-git-send-email-amit.shah@redhat.com> In-Reply-To: <1269017414-31387-1-git-send-email-amit.shah@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Mar 19, 2010 at 17:50, Amit Shah wrote: > The fix is to check if the 'name' attribute is present. > -KERNEL="vport*", SYMLINK+="virtio-ports/$attr{name}" > +KERNEL="vport*", ATTR{name}="?*", SYMLINK+="virtio-ports/$attr{name}" Applied. Thanks, Kay