ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Gladkov <legion@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Отображение устройства
Date: Thu, 17 Dec 2009 01:56:01 +0300
Message-ID: <4B296581.2060100@altlinux.ru> (raw)
In-Reply-To: <20091216224253.GG29928@imap.altlinux.org>

On 17.12.2009 01:42, Vladislav Zavjalov wrote:
> Пожалуй, я не слишком хорошо понимаю, что можно делать средствами
> udev... Например, если переставить eth1 и eth0, то что, /sys/class/net/eth0
> будет соответствовать eth1?

# ls -1 /sys/class/net
eth2
lo

# ifrename -i eth2 -n eth1
eth1

# ls -1 /sys/class/net
eth1
lo

> Если так, то можно еще поразбираться с /sbin/udevadm info --name=sdf --query=all
> тут есть и путь в sysfs и все имена и ссылки в /dev

На мой взгляд это наиболее правильный способ.

-- 
Rgrds, legion



      reply	other threads:[~2009-12-16 22:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-15 17:39 Kharitonov A. Dmitry
2009-12-15 17:41 ` Valery V. Inozemtsev
2009-12-15 20:22   ` Kharitonov A. Dmitry
2009-12-16  6:27     ` Денис Смирнов
2009-12-16 17:31 ` Mykola S. Grechukh
2009-12-16 20:55   ` Kharitonov A. Dmitry
2009-12-16 21:32     ` Vladislav Zavjalov
2009-12-16 21:42       ` Alexey Gladkov
2009-12-16 22:16         ` Vladislav Zavjalov
2009-12-16 22:28           ` Kharitonov A. Dmitry
2009-12-17 11:19             ` Michael Shigorin
2009-12-18  6:57               ` Kharitonov A. Dmitry
2009-12-18  9:18                 ` [devel] [JT] " Michael Shigorin
2009-12-18 19:03                   ` Kharitonov A. Dmitry
2009-12-16 22:31           ` [devel] " Alexey Gladkov
2009-12-16 22:40             ` Kirill A. Shutemov
2009-12-16 22:49               ` Alexey Gladkov
2009-12-16 22:42             ` Vladislav Zavjalov
2009-12-16 22:56               ` Alexey Gladkov [this message]

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=4B296581.2060100@altlinux.ru \
    --to=legion@altlinux.ru \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git