Magellan Linux

Diff of /trunk/udev/udev-md-raid.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/64-md-raid.rules:  device naming rules for udev  # /etc/udev/rules/64-md-raid.rules:  device naming rules for udev
2  # $Header: /root/magellan-cvs/src/udev/udev-md-raid.rules.magellan,v 1.4 2009-04-24 14:19:13 niro Exp $  # $Header: /root/magellan-cvs/src/udev/udev-md-raid.rules.magellan,v 1.5 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 45  ENV{DEVTYPE}=="partition", ENV{MD_UUID}= Line 45  ENV{DEVTYPE}=="partition", ENV{MD_UUID}=
45  ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[^0-9]", SYMLINK+="md/$env{MD_DEVNAME}%n"  ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[^0-9]", SYMLINK+="md/$env{MD_DEVNAME}%n"
46  ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[0-9]", SYMLINK+="md/$env{MD_DEVNAME}p%n"  ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[0-9]", SYMLINK+="md/$env{MD_DEVNAME}p%n"
47    
48  IMPORT{program}="vol_id --export $tempnode"  IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
49  OPTIONS+="link_priority=100"  OPTIONS+="link_priority=100"
50  OPTIONS+="watch"  OPTIONS+="watch"
51  ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"  ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"

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