Magellan Linux

Diff of /tags/udev-171-r1/udev-persistent-storage.rules.magellan

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 822 by niro, Fri Apr 24 14:19:13 2009 UTC revision 823 by niro, Sat May 23 22:35:53 2009 UTC
# Line 1  Line 1 
1  # /etc/udev/rules/65-persistent-storage.rules:  device naming rules for udev  # /etc/udev/rules/65-persistent-storage.rules:  device naming rules for udev
2  # $Header: /root/magellan-cvs/src/udev/udev-persistent-storage.rules.magellan,v 1.6 2009-04-24 14:19:13 niro Exp $  # $Header: /root/magellan-cvs/src/udev/udev-persistent-storage.rules.magellan,v 1.7 2009-05-23 22:35:53 niro Exp $
3  #  #
4  # There are a number of modifiers that are allowed to be used in some  # There are a number of modifiers that are allowed to be used in some
5  # of the different fields. They provide the following subsitutions:  # of the different fields. They provide the following subsitutions:
# Line 73  ENV{DEVTYPE}=="partition", ENV{ID_PATH}= Line 73  ENV{DEVTYPE}=="partition", ENV{ID_PATH}=
73  ENV{DEVTYPE}=="disk", KERNEL!="sd*|sr*", ATTR{removable}=="1", GOTO="persistent_storage_end"  ENV{DEVTYPE}=="disk", KERNEL!="sd*|sr*", ATTR{removable}=="1", GOTO="persistent_storage_end"
74    
75  # probe filesystem metadata of optical drives which have a media inserted  # probe filesystem metadata of optical drives which have a media inserted
76  KERNEL=="sr*", ENV{ID_CDROM_MEDIA_TRACK_COUNT}=="?*", IMPORT{program}="vol_id --export --skip-raid --offset=$env{ID_CDROM_MEDIA_SESSION_LAST_OFFSET} $tempnode"  KERNEL=="sr*", ENV{ID_CDROM_MEDIA}=="?*", IMPORT{program}="/sbin/blkid -o udev -p -u noraid -O $env{ID_CDROM_MEDIA_SESSION_LAST_OFFSET} $tempnode"
77    
78  # probe filesystem metadata of disks  # probe filesystem metadata of disks
79  KERNEL!="sr*", IMPORT{program}="vol_id --export $tempnode"  KERNEL!="sr*", IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
80    
81  # watch for future changes  # watch for future changes
82  KERNEL!="sr*", OPTIONS+="watch"  KERNEL!="sr*", OPTIONS+="watch"

Legend:
Removed from v.822  
changed lines
  Added in v.823