ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Petrakov <lex@asd.iao.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Отключение USB-накопителей
Date: Tue, 8 Mar 2011 16:24:47 +0600
Message-ID: <201103081624.47735.lex@asd.iao.ru> (raw)
In-Reply-To: <20110304151047.GD24590@newmaster.mivlgu.local>

В сообщении от Пятница 04 марта 2011 21:10:47 автор Sergey Vlasov написал:
> On Fri, Mar 04, 2011 at 09:30:22AM +0600, Alexey Petrakov wrote:
> > В сообщении от 3 марта 2011 18:34:54 автор Sergey Vlasov написал:

> По-другому сделать просто нельзя - после обнаружения устройства, если
> authorized_default не установлено в 0, к нему сразу привязывается
> драйвер, если соответствующий модуль загружен.  Единственный надёжно
> работающий способ - ничего не делать с устройством, пока не будет
> получено разрешение от userspace.

Спасибо за подробную лекцию. Всё-таки, на мой взгляд, такие сложные и 
нетривиальные манипуляции для достижения такой простой цели - это слегка 
неадекватно. Посему, получается что наиболее человеческий метод решения задачи 
- это "install usb-storage /bin/true" в /etc/modprobe.d/*.conf

      reply	other threads:[~2011-03-08 10:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-03  5:57 Alexey Petrakov
2011-03-03  9:43 ` Dmitry Chistikov
2011-03-03 10:20   ` Alexey Petrakov
2011-03-03 12:34 ` Sergey Vlasov
2011-03-04  3:30   ` Alexey Petrakov
2011-03-04 15:10     ` Sergey Vlasov
2011-03-08 10:24       ` Alexey Petrakov [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=201103081624.47735.lex@asd.iao.ru \
    --to=lex@asd.iao.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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