ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Kharitonov A. Dmitry" <kharpost@rambler.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Отображение устройства
Date: Thu, 17 Dec 2009 01:28:30 +0300
Message-ID: <4B295F0E.5040507@rambler.ru> (raw)
In-Reply-To: <20091216221607.GF29928@imap.altlinux.org>

17.12.2009 01:16, Vladislav Zavjalov пишет:
> On Thu, Dec 17, 2009 at 12:42:29AM +0300, Alexey Gladkov wrote:
>    
>> On 17.12.2009 00:32, Vladislav Zavjalov wrote:
>>      
>>>> Втыкаем устройство в usb и куда оно отобразилось?
>>>>          
>>> Такое в sysfs очень приятно обычно выискивать.
>>>        
>> Имя созданного в /dev файла из /sys вы не вытащите :)
>>      
> Ну, например, для usb-storage можно докопаться до:
> /sys/bus/usb/drivers/usb-storage/2-2:1.0/host15/target15:0:0/15:0:0:2/block/sdf
>
> Впрочем, исходная задача не вполне сформулирована. Что известно про
> устройство, имя которого мы ищем? Какое это устройство?..
>    
А я специально задачу не ограничивал, чтобы получить по-больше мыслей.
Предположем, что известно имя и серийный номер. Ну пускай это будет 
принтер. Который отобразится как пар. порт.



  reply	other threads:[~2009-12-16 22:28 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 [this message]
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

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=4B295F0E.5040507@rambler.ru \
    --to=kharpost@rambler.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