ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Шенцев Алексей" <lex.shen@yandex.ru>
To: "sisyphus@lists.altlinux.org >> ALT Linux Sisyphus discussions"
	<sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] настройка usb-устройств в udev
Date: Sat, 10 Feb 2018 18:00:08 +0300
Message-ID: <1d4c600d-dc29-874e-9b33-09dc50378e3a@yandex.ru> (raw)
In-Reply-To: <7f756f20-1b85-79a6-ee8f-9913e0a4df29@gmail.com>

10.02.2018 17:53, Leonid Krivoshein пишет:
> Здравствуйте!
>
>
> 10.02.2018 15:12, Vladislav Zavjalov пишет:
>> Задача такая: есть десяток простых и дешевых примерно одинаковых
>> USB-устройств, которые хочется использовать одновременно. Проблема в 
>> том,
>> что, с точки зрения USB, устройства не имеют уникальных ID.
> ...
>> Естественно, придется все промаркировать и заботиться о том,
>> чтобы все всегда было воткнуто в нужном порядке.
>
> Очевидно, раз нет различий по уникальным ID, например, ATTRS{serial}, 
> то и двигаться в этом направлении бессмысленно. Если бы речь шла об 
> устройстве хранения, можно сделать скрипт, который берёт что-то с 
> него, например, файл с ID или метку тома.
В данном случае, imho, лучше по метке тома на устройстве.
Примерно как рассказано здесь:

http://wiki.specialistoff.net/index.php/RAID_%D0%BD%D0%B0_microSD_%D0%B4%D0%B8%D1%81%D0%BA%D0%B0%D1%85


-- 
С уважением,
Шенцев Алексей



  reply	other threads:[~2018-02-10 15:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-10 12:12 Vladislav Zavjalov
2018-02-10 14:53 ` Leonid Krivoshein
2018-02-10 15:00   ` Шенцев Алексей [this message]
2018-02-10 15:06     ` Leonid Krivoshein
2018-02-10 18:04   ` Vladislav Zavjalov
2018-02-11 11:34     ` Leonid Krivoshein
2018-02-11 19:23       ` Vladislav Zavjalov

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=1d4c600d-dc29-874e-9b33-09dc50378e3a@yandex.ru \
    --to=lex.shen@yandex.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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