All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: linux-hotplug@vger.kernel.org
Subject: Udev 100: Inconsistency in 60-persistent-storage.rules?
Date: Fri, 22 Sep 2006 10:56:56 +0000	[thread overview]
Message-ID: <4513C178.9090406@ums.usu.ru> (raw)

Hello,

the 60-persistent-storage.rules file contains the following rules:

# never access non-cdrom removable ide devices, the drivers are causing 
event loops on open()
KERNEL="hd*[!0-9]", ATTRS{removable}="1", 
DRIVERS="ide-cs|ide-floppy", GOTO="persistent_storage_end"
KERNEL="hd*[0-9]", ATTRS{removable}="1", GOTO="persistent_storage_end"

# <snip>

# by-label/by-uuid (filesystem properties)
KERNEL="*[!0-9]", ATTR{removable}="1", GOTO="persistent_storage_end"

# <snip>

LABEL="persistent_storage_end"

What's the reason for the ATTRS vs ATTR difference? Where exactly does 
the "removable" attribute live in sysfs?

-- 
Alexander E. Patrakov

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

             reply	other threads:[~2006-09-22 10:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-22 10:56 Alexander E. Patrakov [this message]
2006-09-22 11:10 ` Udev 100: Inconsistency in 60-persistent-storage.rules? Kay Sievers

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=4513C178.9090406@ums.usu.ru \
    --to=patrakov@ums.usu.ru \
    --cc=linux-hotplug@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.