From: Daniel Lezcano <dlezcano@fr.ibm.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [SYSFS - 2.6.23-rc5-git1 ] device_rename: sysfs_create_symlink failed (-17)
Date: Fri, 07 Sep 2007 16:14:12 +0200 [thread overview]
Message-ID: <46E15CB4.9040508@fr.ibm.com> (raw)
Hi,
when using the 2.6.23-rc5-git1 kernel and trying to change a network
device name, I have the following error:
device_rename: sysfs_create_symlink failed (-17)
That comes from drivers/base/core.c : 1261
I know anything about sysfs, so no much help to give... :(
I don't know if this is a bug, but my code use device_rename, check the
return value and fails. I will ignore it, but it seems not to be a
correct behavior to have such error.
Easy to reproduce:
load a dummy network driver => dummy0
change its name with : ip link set name foo0 dev dummy0
Thanks.
--Daniel
next reply other threads:[~2007-09-07 14:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-07 14:14 Daniel Lezcano [this message]
2007-09-10 11:30 ` [SYSFS - 2.6.23-rc5-git1 ] device_rename: sysfs_create_symlink failed (-17) Cornelia Huck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46E15CB4.9040508@fr.ibm.com \
--to=dlezcano@fr.ibm.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.