Bug 182960 - sys-fs/mdadm: Adding udev-rules to create symlinks /dev/disk/by-*/* for RAID-device and filesystem on it
|
Bug#:
182960
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: base-system@gentoo.org
|
Reported By: zzam@gentoo.org
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: sys-fs/mdadm: Adding udev-rules to create symlinks /dev/disk/by-*/* for RAID-device and filesystem on it
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-06-23 08:56 0000
|
Please add the attached udev rules file to mdadm-ebuild. It uses the new
--export option so will only work with versions starting ~2.6.2.
suse calls the file 64-md-raid.rules (and so it is called in udev tarball).
It will generate these symlinks in /dev:
/dev/disk/by-id/md-name-NAME
/dev/disk/by-id/md-uuid-UUID
(if NAME/UUID of raid device are set)
and:
/dev/disk/by-uuid/UUID
/dev/disk/by-label/LABEL
(if filesystem on raid device has UUID/LABEL set).
+1
udev-tarball contains this file, but I think merging it into mdadm sources
could be good.
going into mdadm-2.6.3-r2.