~ubuntu-branches/ubuntu/wily/ltspfs/wily

« back to all changes in this revision

Viewing changes to debian/ltspfsd.udev

  • Committer: Bazaar Package Importer
  • Author(s): Vagrant Cascadian
  • Date: 2009-04-15 11:41:03 UTC
  • mfrom: (1.1.14 upstream) (4.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090415114103-pn6u6o5gxw4ynuxu
Tags: 0.5.11-3
upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# udev rules for Debian systems, usually installed into:
2
 
# /etc/udev/rules.d/z60_ltspfsd.rules
3
 
 
4
 
# legacy floppy drives:
5
 
ACTION=="add", KERNEL=="fd[0-9]", RUN+="ltspfs_entry add %k auto"
6
 
 
7
 
# USB floppy drives:
8
 
ACTION=="add", SUBSYSTEM=="block", KERNEL!="fd[0-9]", ENV{ID_TYPE}=="floppy", ATTRS{removable}=="1", RUN+="ltspfs_entry add %k auto"
9
 
 
10
 
# other drives:
11
 
ACTION=="add", SUBSYSTEM=="block", ENV{ID_TYPE}!="floppy", RUN+="ltspfs_entry add %k"
12
 
 
13
 
# device removals:
14
 
ACTION=="remove", SUBSYSTEM=="block", RUN+="ltspfs_entry remove %k"